Skull on Screen
#79
This will stop the CaveBot if a monster with skull is on screen.
macro(100,"Monster Skull on Screen", function()
local spectators = getSpectators(pos(), false)
for i, spec in pairs(spectators) do
if spec:isMonster() and spec:getSkull() == 4 then
return CaveBot.setOff()
end
end
if CaveBot.isOff() then
return CaveBot.setOn()
end
end)
- remove | + add
25 Feb 2022