Core/DB: Quest The Emissary.
Fix condition in item spell(usable only when npc is above 95% hp). Added correct faction,unit_flags and emote to Leviroth.
This commit is contained in:
@@ -1535,7 +1535,7 @@ class spell_item_impale_leviroth : public SpellScriptLoader
|
||||
void HandleDummy(SpellEffIndex /* effIndex */)
|
||||
{
|
||||
if (Unit* target = GetHitCreature())
|
||||
if (target->GetEntry() == NPC_LEVIROTH && target->HealthBelowPct(95))
|
||||
if (target->GetEntry() == NPC_LEVIROTH && !target->HealthBelowPct(95))
|
||||
target->CastSpell(target, SPELL_LEVIROTH_SELF_IMPALE, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user