9
3

AstoundingLeap.lua 532 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Commoner/AstoundingLeap.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.05.15 01:05:09
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. level = GetLevel(Caster)
  10. AddHate(Caster, Target, math.ceil(level * -45))
  11. blink(Caster)
  12. end
  13. function blink(Caster, Target)
  14. local X=GetX(Caster) + MakeRandomInt(-10, 10)
  15. local Y=GetY(Caster)
  16. local Z= GetZ(Caster) + MakeRandomInt(-10, 10)
  17. SetPosition(Caster, X,Y,Z)
  18. end