Core/Spells: Implemented SPELL_ATTR9_FORCE_CORPSE_TARGET
Port From (https://github.com/TrinityCore/TrinityCore/commit/af39104798d78f0cf8f51dc36e7302f1f4e69b7b)
This commit is contained in:
@@ -8857,7 +8857,7 @@ namespace Game.Spells
|
||||
spell.m_damage = Damage;
|
||||
spell.m_healing = Healing;
|
||||
|
||||
if (unit.IsAlive() != IsAlive)
|
||||
if (unit.IsAlive() != IsAlive && !spell.m_spellInfo.HasAttribute(SpellAttr9.ForceCorpseTarget))
|
||||
return;
|
||||
|
||||
if (!spell.m_spellInfo.HasAttribute(SpellAttr8.IgnoreSanctuary) && spell.GetState() == SpellState.Delayed && !spell.IsPositive() && (GameTime.GetGameTimeMS() - TimeDelay) <= unit.LastSanctuaryTime)
|
||||
|
||||
Reference in New Issue
Block a user