Blink.lua 377 B

12345678910111213141516
  1. --[[
  2. Script Name : Spells/Procs/Blink.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.29 08:11:24
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. local X=GetX(Caster) + math.random(-10, 10)
  10. local Y=GetY(Caster)
  11. local Z= GetZ(Caster) + math.random(-10, 10)
  12. SetPosition(Caster, X,Y,Z)
  13. end