Advertisement
MrTrala

Sorcerers Ultimate Combo - Need a fix

Nov 25th, 2015
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.03 KB | None | 0 0
  1. --[[
  2.     Sorcerer Ultimate Combo for ArchlightOnline
  3.     Version 1.5
  4.     By Mr Trala
  5. ]]
  6.  
  7. -- Configs
  8.  
  9. local runeid = 3154 -- Id of InfiSD (so you can combo)
  10. local dist = 7 -- Max Distance to combo
  11. local mana = 500 -- Min mana to try combo
  12.  
  13. -- Exaus (ot servers) -- Don't touch if you don't know what are those for.
  14. local spell1 = "exura dis"
  15. local spell2 = "exevo dis flam hur"
  16. local spell3 = "exevo vis hur"
  17. local spell4 = "utori san"
  18. local spell5 = "exevo gran mas vis"
  19. local spell6 = "utura gran"
  20. local spell7 = "exura san"
  21. local spell8 = "exevo gran mas flam"
  22. -- Spells
  23. local words1 = "utori bomb flam"
  24. local words2 = "utori bomb vis"
  25. local words3 = "exori pyro"
  26. local words4 = "exevo en vis"
  27. local words5 = "exevo gran mas vis"
  28. local words6 = "exana gran restora"
  29. local words7 = "exana restora"
  30. local words8 = "exevo gran mas flam"
  31.  
  32. -- Don't touch this if you don't know what are you doing
  33. Module.New('UltimateCombo', function(mod)
  34. local creature = Creature.GetByID(Self.TargetID())
  35.     if creature:isValid() and creature:isAlive() and creature:DistanceFromSelf() <= dist and creature:isTarget() then
  36.                
  37.             if Self.GetSpellCooldown(spell1) == 0 then
  38.                 Self.Cast(words1, mana)
  39.                 wait (2100)
  40.             end
  41.            
  42.             if Self.GetSpellCooldown(spell2) == 0 then
  43.                 Self.Cast(words2, mana)
  44.                 wait(2350)
  45.             end
  46.            
  47.             if Self.GetSpellCooldown(spell3) == 0 then
  48.                 Self.Cast(words3, mana)
  49.                 Self.UseItemWithTarget(runeid)
  50.                 wait(1900)
  51.             end
  52.            
  53.             if Self.GetSpellCooldown(spell4) == 0 then
  54.                 Self.Cast(words4, mana)
  55.                 Self.UseItemWithTarget(runeid)
  56.                 wait(2100)
  57.             end
  58.            
  59.             if Self.GetSpellCooldown(spell5) == 0 then
  60.                 Self.Cast(words5, mana)
  61.                 Self.UseItemWithTarget(runeid)
  62.                 wait(2100)
  63.             end
  64.            
  65.             if Self.GetSpellCooldown(spell8) == 0 then
  66.                 Self.Cast(words8, mana)
  67.                 Self.UseItemWithTarget(runeid)
  68.             end
  69.            
  70.         end
  71.             if Self.GetSpellCooldown(spell6) == 0 then
  72.                 Self.Cast(words6, mana)
  73.             end
  74.            
  75.             if Self.GetSpellCooldown(spell7) == 0 then
  76.                 Self.Cast(words7, mana)
  77.             end
  78.     end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement