Advertisement
MrTrala

ZerkCombo (Public V1.1.2) Without Show

Aug 31st, 2016
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.83 KB | None | 0 0
  1. --[[
  2.     Zerk Combo for ArchLight
  3.     Version 1.1.2 -- Public Version(WIthoutShowdown)
  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. 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.     E2 = "utori kor", -- Strong spining blades.
  20.     E3 = "exori min", -- Spining blades.
  21.     E4 = "Exori Gran",-- Exori gran
  22.     E5 = "Exori gran ico", -- Exori gran ico
  23.    
  24.     W2 = "Strong Spinning Blades",
  25.     W3 = "Spinning Blades",
  26.     W4 = "Exori Gran",
  27.     W5 = "Exori gran ico"
  28. }
  29.  
  30. function ComboZ()
  31. local x = config
  32. local am = 0
  33. local sc = Self.GetSpellCooldown
  34.     for name, c in Creature.iMonsters(x.Dist) do
  35.         if c:isValid() and c:isAlive() and not Self.isInPz() and c:isOnScreen()then
  36.             am = am +1
  37.         end
  38.            
  39.         if sc(x.E5) == 0 and c:DistanceFromSelf() <= x.DistT and am >= 1 and c:isTarget() then
  40.             Self.Say(x.W5) -- Gran Ico
  41.            
  42.         elseif sc(x.E5) >= 1 and sc(x.E2) == 0 and c:DistanceFromSelf() <= x.DistT and am >= 1 and c:isTarget() then
  43.             Self.Say(x.W2) -- Sspining Blades
  44.            
  45.         elseif 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
  46.             Self.Say(x.W4) -- Exori Gran
  47.            
  48.         elseif 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
  49.             Self.Say(x.W3) -- Spining blades
  50.         end
  51.     end
  52. end
  53.  
  54. Module('Manarune', function(mod)
  55.     if Self.Health() <= config.HealAt then
  56.         Self.UseItem(config.RuneID)
  57.         Self.Say('exura ico')
  58.         wait(200, 400)
  59.     end
  60. end)
  61.  
  62. registerEventListener(TIMER_TICK, 'ComboZ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement