Advertisement
MrTrala

ZerkCombo (Public V1.1.1)

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