[FIXED] Reagents Not Being Used

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
Azzerhoden
UOX3 Newbie
Posts: 16
Joined: Wed Oct 05, 2022 3:10 pm
Has thanked: 0
Been thanked: 8 times

Reagents Not Being Used

Post by Azzerhoden »

This is for the spells Clumsy, Create Food, Feeblemind, Magic Arrow, Heal.

Around lines 290-310 of level1targ.js, clumsy.js, and createfood.js the existing code is:

Code: Select all

	else if( !mChar.npc && spellType == 0 )
			deleteReagents( mChar, mSpell );
resulting in the deleteReagents call not executing. The code should read

Code: Select all

	if( !mChar.npc && spellType == 0 )
			deleteReagents( mChar, mSpell );
UOX3 Version - .99.5.a
Razor Version - 1.7.4.49
UO Client Version - 7.0.96.10 : ClassicUO 0.1.10.282
Post Reply