TicTac7x / runelite-plugins

External plugins for RuneLite
https://runelite.net/plugin-hub/
10 stars 11 forks source link

Item Charges (Improved?) - Bonecrusher/Bonecrusher Necklace - charges are wrong #173

Open Cook66 opened 3 months ago

Cook66 commented 3 months ago

Describe how the bug happened The number displayed on the item, and info box does not reflect the real amount of charges left on the bonecrusher.

This is reproducible when chinning or barraging maniacal monkeys while using the bonecrusher.

The number gets more and more offset the longer I play without checking the charges manually.

I've had the charges run out while the plugin claimed I had over 30k left.

Screenrecording/Screenshots image

TicTac7x commented 3 months ago

1 charge is depleted on prayer xp drop, so basically if multiple enemies are killed one same tick, it still decreases the charges by 1. This can't be easily fixed and at this point I have no idea how to track what enemy and how many you killed. So this probably won't be fixable at this point, maybe someone else has an idea how to fix this in the future.

Cook66 commented 3 months ago

The loot tracker keeps track of kill amount. Can't the method it uses be applied to the bonecrusher?

If the bonecrusher is equipped or in the inventory, active, and a monster which drops bones is killed, then perhaps that can be used to update the charges?

Edit: The bonecrusher also gives text updates in the chat for every 100 charge used, perhaps that can be tapped into in order to update any discrepancies?