Help With Utito persistent
Hello
When using Blade of Carving on my script, he can't spell utito tempo.
PHP Code:
error in Persistent script Utito Tempo:
["if getuseroption("utito") and info.near..."]:Utito Tempo:30 attempt to perform arithmetic on upvalue 'skill' (a nil value)
This is the utito tempo action:
PHP Code:
init start
local function skillCheck()
local info = {
['axe'] = $axe,
['club'] = $club,
['sword'] = $sword,
}
return info[findweapontype()]
end
local skill = skillCheck()
init end
auto(50)
local tempSkill = skillCheck()
local mobs = Monsters
local info = {near = 0, all = 0}
foreach creature m "ms" do
local ActualHp = ((creatureinfo(m.name).hp)*(m.hppc/100))
if table.find(mobs, m.name) then
info.all = info.all + 1
if m.dist <= 2 and ActualHp >= 1000 then
info.near = info.near + 1
end
end
end
if getuseroption("utito") and info.near >= getuseroption("amountutito") and $mp > 500 and math.abs(skill - tempSkill) <= 15 and cancastspell("utito tempo") and $targeting and table.find({"Floor1", "Floor2", "Floor3", "Floor4", "Floor5", "Floor6"}, $wptsection) then
cast("utito tempo")
wait(200, 300)
end
When i look on monitor my stats, charaters skills is bugged, like 26, when correct is 126. its just take fist skills when put carving.
Its like blade of carving is making this. becausa another swords is normal.