Advertisement
Cavitt

Untitled

Mar 23rd, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. local AttackTarget = 'Dog'
  2. while(true)do
  3.     local target = Creature.GetByID(Self.TargetID())
  4.     if(target:Name() == AttackTarget)then
  5.         local spell = {{'exori hur', 120}, {'exori ico', 120}}
  6.         local choose = spell[math.random(1,2)]
  7.         if(Self.Mana() >= choose[2])then
  8.             Self.Say(choose[1])
  9.         end
  10.     end
  11.     wait(1000)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement