Advertisement
MrTrala

Pyro + SD Combo for ArchlightOnline

Nov 25th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.66 KB | None | 0 0
  1. --[[
  2.     Pyro + Infi SD for ArchlightOnline
  3.     Version 1.1
  4.     By Mr Trala
  5. ]]
  6.  
  7. -- Configs
  8. local words = "Exori Pyro" -- Words for combo
  9. local runeid = 3154 -- Id of InfiSD (so you can combo)
  10. local dist = 7 -- Max Distance to combo
  11. local spell = "exevo vis hur" -- Don't touch this
  12.  
  13. -- Don't touch this if you don't know what are you doing
  14. Module.New('PyroSD', function(mod)
  15. local creature = Creature.GetByID(Self.TargetID())
  16.     if creature:isValid() and creature:isAlive() and creature:DistanceFromSelf() <= dist and creature:isTarget() then
  17.         if Self.GetSpellCooldown(spell) == 0 then
  18.             Self.Cast(words, mana)
  19.             Self.UseItemWithTarget(runeid)
  20.  
  21.         end
  22.     end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement