fix(Core/Spells): Changing druid forms should not remove items auras triggered on use. (#6135)
- Closes #5637 - Closes https://github.com/chromiecraft/chromiecraft/issues/525
This commit is contained in:
@@ -8618,7 +8618,7 @@ void Player::ApplyItemEquipSpell(Item* item, bool apply, bool form_change)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// wrong triggering type
|
// wrong triggering type
|
||||||
if (apply && spellData.SpellTrigger != ITEM_SPELLTRIGGER_ON_EQUIP)
|
if ((apply || form_change) && spellData.SpellTrigger != ITEM_SPELLTRIGGER_ON_EQUIP)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// check if it is valid spell
|
// check if it is valid spell
|
||||||
|
|||||||
Reference in New Issue
Block a user