Advertisement
MrTrala

ZerkCombo (Public V)

Aug 21st, 2016
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.53 KB | None | 0 0
  1. --[[
  2.     Zerk Combo for ArchLight
  3.     Version 1.0.1 -- Public Version
  4.     by Mr Trala
  5.    
  6. Change Log.
  7. 1.0 -- First stable version.
  8. 1.0.1 -- Fixed problem after Archlight HP/Mana Update.
  9. ]]
  10.  
  11.  
  12. config = {
  13.     RuneID = 11603, -- ID of your Heal/Mana Rune.
  14.     HealAt = 95, -- x% to heal yourself.
  15.     Dist = 6, -- Dist to count monsters.
  16.     DistT = 1, -- Dist to use your spells.
  17.    
  18.     -- Exaus Configs, don't touch anything.
  19.     E1 = "exevo vis hur", -- Final Showdown
  20.     E2 = "utori kor", -- Strong spining blades.
  21.     E3 = "exori min", -- Spining blades.
  22.    
  23.     W1 = "Final Showdown",
  24.     W2 = "Strong Spinning Blades",
  25.     W3 = "Spinning Blades",
  26. }
  27.  
  28. function ComboZ()
  29. local x = config
  30. local am = 0
  31.     for name, c in Creature.iMonsters(x.Dist) do
  32.         if c:isValid() and c:isAlive() and not Self.isInPz() and c:isOnScreen()then
  33.             am = am +1
  34.         end
  35.    
  36.         if Self.GetSpellCooldown(x.E1) == 0 and c:DistanceFromSelf() <= x.DistT and am >= 1 then
  37.             Self.Cast(x.W1)
  38.            
  39.         elseif Self.GetSpellCooldown(x.E1) >= 1 and Self.GetSpellCooldown(x.E2) == 0 and c:DistanceFromSelf() <= x.DistT and am >= 1 then
  40.             Self.Cast(x.W2)
  41.            
  42.         elseif Self.GetSpellCooldown(x.E1) >= 1 and Self.GetSpellCooldown(x.E2) >= 1 and Self.GetSpellCooldown(x.E3) == 0 and c:DistanceFromSelf() <= x.DistT and am >= 1 then
  43.             Self.Cast(x.W3)
  44.         end
  45.     end
  46. end
  47.  
  48. Module('Manarune', function(mod)
  49.     if Self.Health() <= config.HealAt then
  50.         Self.UseItem(config.RuneID)
  51.         Self.Say('exura ico')
  52.         wait(200, 400)
  53.     end
  54. end)
  55.  
  56. registerEventListener(TIMER_TICK, 'ComboZ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement