Advertisement
Jasper15

Untitled

Jan 23rd, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. config = {
  2. Dist = 7, -- Don't change anything here.
  3. SdID = 3154, -- Change to your respective Sd ID <<
  4. }
  5.  
  6. spells = {}
  7. spells[1] = {words = "Quad Shot", cooldown = "utori pox"}
  8. spells[2] = {words = "Arrow Volley", cooldown = "exori min flam"}
  9. spells[3] = {words = "Focused Shot", cooldown = "exevo gran mas flam"}
  10. spells[4] = {words = "Skyfall", cooldown = "exevo flam hur"}
  11. spells[5] = {words = "Mega Exploding Spear", cooldown = "exura dis"}
  12. spells[6] = {words = "Exploding Spear", cooldown = "exori con"}
  13.  
  14. Module.New('Spells', function(mod)
  15. for i = 1, #spells do
  16. local sps = spells[i]
  17. local trg = Creature.GetByID(Self.TargetID())
  18. if Self.GetSpellCooldown(sps.cooldown) == 0 and trg:isTarget() then
  19. if trg:isAlive() and trg:DistanceFromSelf() <= config.Dist then
  20. Self.UseItemWithTarget(config.SdID)
  21. Self.Say(sps.words)
  22. mod:Delay(2020)
  23. end
  24. end
  25. end
  26. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement