Skip to content

Commit

Permalink
Fix for mend dragon spell, make sure npc is alive & do not cast on se…
Browse files Browse the repository at this point in the history
…lf also correct range
  • Loading branch information
jaddie committed May 26, 2014
1 parent 6cb4189 commit c9f00f5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Addons/WCell.DefaultAddon/Spells/NPCSpells.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ private static void FixOthers()
spell.CastDelay = 3000;
spell.CooldownTime = 6000;
}, SpellId.Chilled);

SpellHandler.Apply(spell =>
{
spell.RequiredTargetType = RequiredSpellTargetType.NPCAlive;
spell.Range = new SimpleRange(1,20);
spell.RequiredTargetId = 9096;
}, SpellId.MendDragon);
}
}
}

0 comments on commit c9f00f5

Please sign in to comment.