[Yu] Prayer Flicker

An automatic QOL plugin that handles various NPC Attacks with lazy flicking (Toggles 1 tick before its due to attack).

This plugin is currently designed for attacks that calculate their damage on animation and will only accept one attack style.

There are some exceptions that are built into the plugin itself, these include (will update as adjusted):

  • Inferno Jads
  • Normal Jads

Before setting up, there are some options located in the plugin configuration to consider:

  1. Draw Overlay - This will render tiles around tracked NPCs, and their remaining timers.
  2. Flick Type - Lazy flicking means it will turn the prayer on 1 tick before an attack is due, and turn it back off after. Leave on means it will turn the next best prayer on at all times, so prayers are not disabled between attacks.
  3. Leave Unknown Prayers - This is useful for if you are manually toggling offensive prayers. It will look at your enabled prayers, and compare them to your list of NPCs. Any prayers that are enabled, but not in the list will be left alone and not disabled - otherwise, it will disable any prayer not needed.
  4. Use Invokes - This is to reduce click interference if you are manually playing the game at the same time. Its a different interaction type which is subjectively considered riskier due to the lack of clicks, so it is off by default.

The remaining setup is handled in the separate panel located in the side bar of Runelite. While the setup looks complicated at first glance, it’s designed to be community oriented in that you can create, and share different setups with one click.

Example Setup Interface

Setup

  1. Name - If there are multiple NPCs that share the same Name, but different IDs - this is the field you want to fill in rather than the ID field. This is simple just the NPC name.
  2. ID - If the name is too long, or too hard to type out, you can fill in this option if not using the Name field. To get NPC IDs, use either Runelite or Storm Dev Tools and select the NPC option to display their ID.
  3. Range - This is the attack range of the NPC. These values aren’t stored anywhere, so this is up to your own judgement or calculation. Generally, things that use Melee have a range of 1, and anything else has a range of roughly 8.
  4. Animation - Similar to the ID field, you will need to fetch this via Dev Tools. Once the NPC option is selected, an overlay will appear with a “A: -1” above all NPCs. Generally, -1 refers to the idle animation, and anything else is what you are looking for. Be careful to only get the animation of when they are attacking, as there are animations for when they get hit which is not what you need.
  5. Priority - Because this plugin handles as many NPCs as you enter, this is how important the NPC is, especially if multiple NPCs end up overlapping. Lower is Higher Priority.
  6. Attack Priority - Ignore this.
  7. Prayer - This is just their attack style.
  8. Speed - This is their attack speed, often found on the OSRS WIKI.
  9. Timer - This is just the starting timer, leave at -1.
  10. Should Expire - This is for if the NPC should be removed after their attack. Off is the best option for 99% of NPCs, it’s mainly just used internally for things like Jad.
  11. Pray before aggro - Since the plugin will only pray for NPCs that are targeting you, you can often get hit if they spawn within their attack range since they are not targeting you immediately. This option ensures all NPCs are tracked, but at the cost of tracking NPCs that may not actually target you.

Once an NPC is added to the list, you can choose to export it (added to your clipboard). Also, if you copy a different export, you can click the import option to add it.

Found in the PVM Extras option on the store.

Dagannoth Suite

[{"name":"","id":2267,"attackRange":1,"animations":[2853],"priority":1,"attackPriority":0,"prayer":"PROTECT_FROM_MELEE","speed":4,"timer":0,"shouldExpire":false}]
[{"name":"","id":2266,"attackRange":50,"animations":[2854],"priority":0,"attackPriority":0,"prayer":"PROTECT_FROM_MAGIC","speed":5,"timer":0,"shouldExpire":false}]
[{"name":"","id":2265,"attackRange":50,"animations":[2855],"priority":2,"attackPriority":0,"prayer":"PROTECT_FROM_MISSILES","speed":5,"timer":0,"shouldExpire":false}]

Zamorak Suite

[{"name":"","id":3129,"attackRange":1,"animations":[6948,6950,6949],"priority":0,"attackPriority":0,"prayer":"PROTECT_FROM_MELEE","speed":6,"timer":0,"shouldExpire":false}]
[{"name":"","id":3130,"attackRange":1,"animations":[64],"priority":2,"attackPriority":0,"prayer":"PROTECT_FROM_MELEE","speed":5,"timer":0,"shouldExpire":false}]
[{"name":"","id":3132,"attackRange":15,"animations":[4630],"priority":1,"attackPriority":0,"prayer":"PROTECT_FROM_MAGIC","speed":5,"timer":0,"shouldExpire":false}]
[{"name":"","id":3131,"attackRange":15,"animations":[7077],"priority":4,"attackPriority":0,"prayer":"PROTECT_FROM_MISSILES","speed":5,"timer":0,"shouldExpire":false}]

Bandos Suite

[{"name":"","id":2215,"attackRange":1,"animations":[7018,7021],"priority":0,"attackPriority":0,"prayer":"PROTECT_FROM_MELEE","speed":6,"timer":0,"shouldExpire":false}]
[{"name":"","id":2216,"attackRange":1,"animations":[6154],"priority":2,"attackPriority":0,"prayer":"PROTECT_FROM_MELEE","speed":5,"timer":0,"shouldExpire":false}]
[{"name":"","id":2217,"attackRange":15,"animations":[7071],"priority":1,"attackPriority":0,"prayer":"PROTECT_FROM_MAGIC","speed":5,"timer":0,"shouldExpire":false}]
[{"name":"","id":2218,"attackRange":15,"animations":[7073],"priority":3,"attackPriority":0,"prayer":"PROTECT_FROM_MISSILES","speed":5,"timer":0,"shouldExpire":false}]

Saradomin Suite

[{"name":"","id":2205,"animations":[7000,7018,7021],"priority":0,"attackPriority":0,"prayer":"PROTECT_FROM_MELEE","speed":2,"timer":0,"shouldExpire":false,"shouldForceNoAggro":false}]
[{"name":"","id":2206,"attackRange":1,"animations":[6376],"priority":2,"attackPriority":0,"prayer":"PROTECT_FROM_MELEE","speed":5,"timer":0,"shouldExpire":false,"shouldForceNoAggro":false}]
[{"name":"","id":2208,"attackRange":11,"animations":[7026],"priority":3,"attackPriority":0,"prayer":"PROTECT_FROM_MISSILES","speed":5,"timer":0,"shouldExpire":false,"shouldForceNoAggro":false}]
[{"name":"","id":2207,"attackRange":11,"animations":[7037],"priority":1,"attackPriority":0,"prayer":"PROTECT_FROM_MAGIC","speed":5,"timer":0,"shouldExpire":false,"shouldForceNoAggro":false}]

Armadyl Suite

[{"name":"","id":3164,"attackRange":15,"animations":[6956],"priority":3,"attackPriority":0,"prayer":"PROTECT_FROM_MISSILES","speed":5,"timer":0,"shouldExpire":false,"shouldForceNoAggro":false}]
[{"name":"","id":3163,"attackRange":15,"animations":[6955],"priority":1,"attackPriority":0,"prayer":"PROTECT_FROM_MAGIC","speed":5,"timer":0,"shouldExpire":false,"shouldForceNoAggro":false}]
[{"name":"","id":3165,"attackRange":1,"animations":[6957],"priority":2,"attackPriority":0,"prayer":"PROTECT_FROM_MELEE","speed":5,"timer":0,"shouldExpire":false,"shouldForceNoAggro":false}]
[{"name":"","id":3162,"attackRange":15,"animations":[6980,6981,6982],"priority":0,"attackPriority":0,"prayer":"PROTECT_FROM_MISSILES","speed":3,"timer":0,"shouldExpire":false,"shouldForceNoAggro":true}]