mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[11579] Grrrr.... typo prev. commit.
This commit is contained in:
parent
7371bb96e1
commit
6092bbf502
2 changed files with 2 additions and 2 deletions
|
|
@ -7450,7 +7450,7 @@ void Player::ApplyItemEquipSpell(Item *item, bool apply, bool form_change)
|
|||
// at un-apply remove all spells (not only at-apply, so any at-use active affects from item and etc)
|
||||
// except with at-use with negative charges, so allow consuming item spells (including with extra flag that prevent consume really)
|
||||
// applied to player after item remove from equip slot
|
||||
if (spellData.SpellTrigger == ITEM_SPELLTRIGGER_ON_EQUIP && spellData.SpellCharges < 0)
|
||||
if (spellData.SpellTrigger == ITEM_SPELLTRIGGER_ON_USE && spellData.SpellCharges < 0)
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue