Advertisement
MrTrala

HealMana Rune(All VOCS)

Aug 11th, 2016
664
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.77 KB | None | 0 0
  1. --[[
  2.     ManaHeal Rune for ArchlightOnline
  3.     Version 1.0
  4.     By Mr Trala
  5.  
  6. Version 1.0.1 -- Fixed a bug in the healer.
  7. ]]
  8.  
  9. config = {
  10.     ManaRune = 11632, -- ID of your manarune.
  11.     HealCAST = 95, -- x% hp to cast your "spell".
  12.     UseMana = false, -- Put this as false if you're a berserker or guardian, so it don't keep spaming your ManaHeal rune, true otherwise.
  13.     ManaCAST = 80, -- x% mana to use manarune
  14.     Spell = 'Exura San' -- Spell to "combo" your healing
  15. }
  16.  
  17.  
  18. Module('Manarune', function(mod)
  19.     if Self.Health() <= config.HealCAST then
  20.         Self.UseItem(config.ManaRune)
  21.         Self.Say(config.Spell)
  22.         wait(200, 400)
  23.     end
  24.    
  25.     if Self.Mana() <= config.ManaCAST and Self.Health() >= config.HealCAST and config.UseMana then
  26.         Self.UseItem(config.ManaRune)
  27.         wait(400, 600)
  28.     end
  29. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement