Advertisement
MrTrala

NecroCombo

Feb 12th, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.75 KB | None | 0 0
  1. --[[
  2.     Curse + Infi Shock SD for ArchlightOnline
  3.     Version 1.2.1 - Free Version.
  4.     By Mr Trala
  5. ]]
  6.  
  7. -- Configs
  8. words = "Curse of the reaper" -- Words for combo
  9. runeid = 3186 -- Id of InfiSD (so you can combo)
  10. dist = 7 -- Max Distance to combo
  11. spell = "utori mort" -- Don't touch this
  12. exaus = 7 -- Wait in seconds
  13.  
  14. -- Don't touch this if you don't know what are you doing
  15. Module.New('NecroCombo', function(mod)
  16. local creature = Creature.GetByID(Self.TargetID())
  17.     if creature:isValid() and creature:isAlive() and creature:DistanceFromSelf() <= dist and creature:isTarget() then
  18.         if Self.GetSpellCooldown(spell) == 0 then
  19.             Self.Cast(words, mana)
  20.             Self.UseItemWithTarget(runeid)
  21.         end
  22.     end
  23.     mod:Delay((exaus * 1000), (exaus * 1000) + 500)
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement