fix(CORE/Spell): Book of the Dead unequip fix (#14839)
This commit is contained in:
parent
246b20683f
commit
deb7e190c5
1 changed files with 5 additions and 1 deletions
|
|
@ -7006,7 +7006,11 @@ void Player::ApplyItemEquipSpell(Item* item, bool apply, bool form_change)
|
|||
continue;
|
||||
|
||||
// Spells that should stay on the caster after removing the item.
|
||||
constexpr std::array<int32, 1> spellExceptions = { /*Electromagnetic Gigaflux Reactivator*/ 11826 };
|
||||
constexpr std::array<int32, 2> spellExceptions =
|
||||
{
|
||||
11826, //Electromagnetic Gigaflux Reactivator
|
||||
17490 //Book of the Dead - Summon Skeleton
|
||||
};
|
||||
const auto found = std::find(std::begin(spellExceptions), std::end(spellExceptions), spellData.SpellId);
|
||||
|
||||
// wrong triggering type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue