Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void SpellHit(Unit* /*caster*/, SpellInfo const* spell)
- {
- if (spell->Id == STEINWERFSPELL)
- {
- if (Creature* gollum = me->FindNearestCreature(NPC..., 10.0f))
- gollum->AI()->AttackStart(me);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement