Advertisement
MrTrala

Restoras For Sorcs

Aug 31st, 2016
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.24 KB | None | 0 0
  1. --[[
  2.     Restoras for ArchlightOnline
  3.     Version 1.0.1
  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. config = {
  12.     ManaRune = 11614, -- ID of your manarune.
  13.     HealCAST = 80, -- x% hp to cast exura san.
  14.     ManaCAST = 80, -- x% mana to use manarune
  15.     RestoraS = 20, -- x% mana to use Strong Evocation.
  16.     Restora = 50, -- x% mana to use Evocation.
  17. }
  18.  
  19. local spells = {
  20.     -- Exaus
  21.     RestEX = "utura gran", -- STEvocation
  22.     RestsEX = "exura san",  -- Evocation
  23.    
  24.     -- Words
  25.     RestW = 'Strong Evocation',
  26.     RestsW = 'Evocation'
  27. }
  28.  
  29. Module('Restora', function(mod)
  30.     if Self.Health() <= config.HealCAST then
  31.         Self.Cast('exura vita')
  32.         wait(200, 400)
  33.     end
  34.    
  35.     if Self.Mana() <= config.ManaCAST then
  36.         Self.UseItem(config.ManaRune)
  37.         wait(400, 600)
  38.     end
  39.    
  40.     if Self.Mana() <= config.RestoraS and Self.GetSpellCooldown(spells.RestEX) == 0 then
  41.         Self.Cast(spells.RestW)
  42.     end
  43.    
  44.     if Self.Mana() <= config.Restora and Self.GetSpellCooldown(spells.RestsEX) == 0 then
  45.         Self.Cast(spells.RestsW)       
  46.     end                
  47. end)
  48.  
  49. Module.New('Utamo', function(Mod)
  50. local exaus = 50
  51.   if(Self.Mana() >= 5) then
  52.         Self.Cast("utamo vita")
  53.     end
  54.     Mod:Delay((exaus * 1000), (exaus * 1000) + 500)
  55. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement