Jump to content

Detecting environmental(?) attacks


Recommended Posts

In the client there is a debug section on the right (3 gears) with a bunch of checkboxes. Try enabling/disabling each one of them until the client highlight the area attack. It is likely some kind of of entity (Subclass). 

Then you can look in the osbot API for the relevant classes to handle detection. ex: If its a NPC, check https://osbot.org/api/org/osbot/rs07/api/NPCS.html

Edited by PayPalMeRSGP
  • Like 2
Link to comment
Share on other sites

I have never tried Wintertodt but normally there's a pattern to NPCs attacks, example an animation before an elemental attack such as Jad does before switching between mage and ranged. An NPC could vary its attacks between set tiles or if it's mobile it could be X distance away from the NPC it's alternating.

Look into the answer above and if it's doesn't fit your case try experimenting with pattern recognition.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...