now works perfect and dont look like botterYou can delete the 3 lines after chkMobs
so it would stay like this
auto(1000)
dontlist()
ExAmount = getuseroption('Amount of monsters to cast Exori.')
smallrefill = getuseroption("Small refill on Chartan?")
set('Looting/OnlyOpenValuableBodies', toyesno(getuseroption('Loot Valuables Only?')))
set('Looting/ValuableBodiesValue', getuseroption('Valuable Bodies'))
set('PotionHealer/Rules/HP/Spell', HP)
--making functions
function startAtk()
wait(1500,2000)
settargeting('on')
end
function chkMobs()
if maround(6, 'Lizard Zaogun', 'Lizard High Guard', 'Draken Warmaster', 'Draken Spellweaver') >= 2 then
gotolabel($wptid-1)
else
gotolabel($wptid+1)
end
end
function stopAtk()
settargeting('off')
stopattack()
end
function drinkMana(pc)
while itemcount(MP) > 0 and maround() <= 1 and $mppc < pc do
useoncreature(MP, $self)
wait(500)
end
end
if maround(5, 'Lizard Zaogun', 'Lizard High Guard', 'Draken Warmaster', 'Draken Spellweaver') <= 3 and $wptsection == 'Hunt' then
set('Looting/LootingPolicy', 'Smart Looting')
else
set('Looting/LootingPolicy', 'Loot After All Dead')
end