Advertisement
Rushor

Untitled

Sep 21st, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. void SpellHit(Unit* /*caster*/, SpellInfo const* spell)
  2. {
  3.  
  4. if (spell->Id == STEINWERFSPELL)
  5. {
  6. if (Creature* gollum = me->FindNearestCreature(NPC..., 10.0f))
  7. gollum->AI()->AttackStart(me);
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement