fix(CORE/Spell): Book of the Dead unequip fix (#14839)
This commit is contained in:
@@ -7006,7 +7006,11 @@ void Player::ApplyItemEquipSpell(Item* item, bool apply, bool form_change)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Spells that should stay on the caster after removing the item.
|
// 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);
|
const auto found = std::find(std::begin(spellExceptions), std::end(spellExceptions), spellData.SpellId);
|
||||||
|
|
||||||
// wrong triggering type
|
// wrong triggering type
|
||||||
|
|||||||
Reference in New Issue
Block a user