Advertisement
MrTrala

Yumicks request

Nov 28th, 2016
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | None | 0 0
  1. config = {
  2.     ManaRune = 11632, -- ID of your manarune.
  3.     ManaPotion = ,-- ID of your donor mana potion.
  4.     HealCAST = 95, -- x% hp to use your manarune + spell combo.
  5.     ManaCAST = 80, -- x% mana to use your mana pot
  6.     Spell = 'Exana mort' -- Spell to "combo" your healing
  7. }
  8.  
  9.  
  10. Module('Manarune', function(mod)
  11.     if Self.Health() <= config.HealCAST then
  12.         Self.UseItem(config.ManaRune)
  13.         Self.Say(config.Spell)
  14.         wait(200, 400)
  15.     end
  16.    
  17.     if Self.Mana() <= config.ManaCAST and Self.Health() >= config.HealCAST then
  18.         Self.UseItemWithMe(config.ManaPotion)
  19.         wait(200, 400)
  20.     end
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement