Jump to content

Detecting environmental(?) attacks


Recommended Posts

Posted (edited)

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
Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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