Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
544
Skull on Screen #79
This will stop the CaveBot if a monster with skull is on screen.
316b | 12 lines.
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)

25 Feb 2022
Ads