Log in

View Full Version : soft boots changer



Artheuae
09-07-2016, 02:43 PM
Hi, any one got some lua scripts for change soft boots if mana below than... and put normal boots back if mana above than...

Or can I set it up at xeno bot menu as don't know, can' find it.

Many thanks xboters ! :)

Tirell
09-07-2016, 04:06 PM
local Softboots = true --- Do you want use softboots?
local ManaToEquip = 70 -- Mana Percent to equip soft boots.
local NormalBoots = 'Draken Boots' --- Your normal boots.


local SoftBoots = 6529
local ActiveSoftBoots = 3549
local WornSoftBoots = 6530

Module.New('Equip Softs', function(Softs)
if (Softboots) then
if (ManaPercent() <= ManaToEquip) and (Self.Feet().id ~= ActiveSoftBoots) and (Self.ItemCount(SoftBoots) > 0) then
Self.Equip(SoftBoots, 'feet')
Softs:Delay(1000)
elseif (ManaPercent() >= ManaToEquip) or (Self.Feet().id == WornSoftBoots) then
Self.Equip(NormalBoots, 'feet')
Softs:Delay(1000)
end
end
end

Artheuae
09-10-2016, 07:35 PM
Many Thanks !!