View Full Version : mana gets bugged in Ots.
jcastillo2012
01-12-2016, 05:42 PM
I need a Mana Script since mana gets bugged in ot servers wont heal me 100% mana...
eldera
01-12-2016, 06:23 PM
What do you mean by "mana gets bugged"?
jcastillo2012
01-12-2016, 09:22 PM
% doesn't stay 100% it goes 3838% random percentages and wont heal me because it shoes that percentage..
jcastillo2012
01-12-2016, 09:23 PM
I need a manual pot script I think tried everything wont get fixed
jcastillo2012
01-12-2016, 09:27 PM
it does go to 100% once its full but when mana lowers down goes to 4243% random percentages and the auto pot healing stops because of those percentages
eldera
01-13-2016, 10:08 AM
Are you playing on RL tibia or OTS if so what OTS is that?
knorren
01-13-2016, 04:18 PM
you dont have to use % to heal, you can set a static HP such as 1000 or so, then it will heal you based on what HP you have, not the % of hp.
eldera
01-13-2016, 06:45 PM
This would most likely work. You shoud never paste this script into other lua files.
healer.lua
local healingOptions = {
-- spells
{ spell = "exura vita", belowHealth = 1000},
{ spell = "exura gran", belowHealth = 1500 },
{ spell = "exura", belowHealth = 1950 },
-- potions
{ item = "great mana potion", belowMana = 500},
}
while (true) do
local usedSpell = false
for i in pairs(healingOptions) do
local option = healingOptions[i]
if (option.spell and not usedSpell) then
if (Self.Health() < option.belowHealth) then
usedSpell = true
Self.Cast(option.spell)
end
end
if (option.item) then
if (Self.Mana() < option.belowMana) then
Self.UseItemWithMe(Item.GetItemIDFromDualInput(opt ion.item))
end
end
end
end
jcastillo2012
01-14-2016, 09:07 PM
Thanks a lot Script worked perfect just modified the numbers thanks :D
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.