Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Manarune for Archlight (Version without mana healer - guardian, monk or zerker)
- Version 2.0
- By Mr Trala
- ]]
- local config = {
- health = 95, -- %X of health to use mana rune
- runemage = 11614,
- runezerk = 11604,
- runemonk = 11632
- }
- Self.HealthPercent = function()
- return math.abs(Self.Health()/(Self.MaxHealth()*0.01))
- end
- Module.New('ManaRune', function(mod)
- if Self.ItemCount(config.runemage) then
- if Self.HealthPercent() <= config.health then
- Self.UseItem(config.runemage)
- wait(400, 600)
- end
- end
- if Self.ItemCount(config.runezerk) then
- if Self.HealthPercent() <= config.health then
- Self.UseItem(config.runezerk)
- wait(400, 600)
- end
- end
- if Self.ItemCount(config.runemonk) then
- if Self.HealthPercent() <= config.health then
- Self.UseItem(config.runemonk)
- wait(400, 600)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement