Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local AI = {}
- function AI:OnCombat(creature, player)
- self.AttackerName = player:GetName()
- end
- function AI:OnDeath(creature, player)
- print(self.AttackerName)
- end
- RegisterCreatureAI(123, AI)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement