Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local NPC_ID = 101012
- function maen_combat(event, creature, target)
- unit:SendChatMessage("Haha! You think you can beat me!? Fool!")
- end
- function spell(id, delay, calls, unit)
- unit:CastSpellOnTarget(45185)
- end
- player:RegisterEvent(spell, 20000, 1)
- function spell2(id, delay, calls, unit)
- unit:CastSpellOnTarget(23922)
- end
- player:RegisterEvent(spell2, 9000, 1)
- function spell3(id, delay, calls, unit)
- unit:CastSpellOnTarget(8260)
- end
- playerRegisterEvent(spell3, 25000, 1)
- function talk_40(id, delay, calls, player, unit)
- if player:GetHealth() <= 40 then
- unit:SendChatMessage("Soon you are mine, I'm gonna crush you slowly!")
- end
- player:RegisterEvent(talk_40, 1000, 1)
- function talk_30(id, delay, calls, unit)
- if unit:GetHealth() <= 30 then
- unit:SendChatMessage("H-how can you be so strong? But you're not the onle one who's strong! Huagh!")
- unit:CastSpell(26297)
- end
- player:RegisterEvent(talk_30, 1000, 1)
- function maen_death(event, creature, target)
- unit:SendChatMessage("Damn you, disgusting insect!")
- end
- function maen_leavecombat(event, creature, target)
- unit:SendChatMessage("Haha! You disgust me!")
- end
- function maen_targetdied(even, creature, target)
- unit:SendChatMessage("One more trophy to put up on my wall!")
- end
- RegisterCreatureEvent(NPC_ID, 1, maen_combat)
- RegisterCreatureEvent(NPC_ID, 2, maen_leavecombat)
- RegisterCreatureEvent(NPC_ID, 3, maen_targetdied)
- RegisterCreatureEvent(NPC_ID, 4, maen_death)
Advertisement
Add Comment
Please, Sign In to add comment