mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
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;
|
||||
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user