Scripts/Icecrown Citadel: Fixed possible crash in spell_the_lich_king_necrotic_plague_jump
Closes #3390
This commit is contained in:
@@ -2151,7 +2151,7 @@ class spell_the_lich_king_necrotic_plague_jump : public SpellScriptLoader
|
|||||||
|
|
||||||
void AddMissingStack()
|
void AddMissingStack()
|
||||||
{
|
{
|
||||||
if (!_hadAura && GetSpellValue()->EffectBasePoints[EFFECT_1] != AURA_REMOVE_BY_ENEMY_SPELL)
|
if (GetHitAura() && !_hadAura && GetSpellValue()->EffectBasePoints[EFFECT_1] != AURA_REMOVE_BY_ENEMY_SPELL)
|
||||||
GetHitAura()->ModStackAmount(1);
|
GetHitAura()->ModStackAmount(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user