Hello, have you any idea how to turn off special area if my target hppc < 20? When wyrms run away special area my rp dont follow them, and i loose loot
Hello, have you any idea how to turn off special area if my target hppc < 20? When wyrms run away special area my rp dont follow them, and i loose loot
try this
init start
local hppc = 20
init end
auto(100)
if $attacked.hppc < hppc and $attacked.id ~= 0 then
setsetting('Cavebot/SpecialAreas/NewSpecialArea/Policy', 'None')
else
setsetting('Cavebot/SpecialAreas/NewSpecialArea/Policy', 'Targeting')
end
Last edited by Imba; 02-12-2014 at 06:13 PM.
use $attacked instead of $target
LATEST SCRIPTS SKYPE Got a Question? Add me on Skype!
bugwt.support
This image is hosted on a possibly dangerous website (http://mystatus.skype.com/smallclassic/bugwt.support). Please consider reuploading it on Imgur.com.
You are right, changed.
thanks
LATEST SCRIPTS SKYPE Got a Question? Add me on Skype!
bugwt.support
This image is hosted on a possibly dangerous website (http://mystatus.skype.com/smallclassic/bugwt.support). Please consider reuploading it on Imgur.com.