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:
parent
d2ad99fb68
commit
617a935ee4
1 changed files with 1 additions and 1 deletions
|
|
@ -8618,7 +8618,7 @@ void Player::ApplyItemEquipSpell(Item* item, bool apply, bool form_change)
|
|||
continue;
|
||||
|
||||
// wrong triggering type
|
||||
if (apply && spellData.SpellTrigger != ITEM_SPELLTRIGGER_ON_EQUIP)
|
||||
if ((apply || form_change) && spellData.SpellTrigger != ITEM_SPELLTRIGGER_ON_EQUIP)
|
||||
continue;
|
||||
|
||||
// check if it is valid spell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue