mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[GH-ISSUE #305] Parabot doesn't properly hook remaining prayer points #7805
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MitchvanWijngaarden on GitHub (Dec 20, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/305
The Parabot client doesn't hook properly to current available prayer points.
This is most likely a 2006rebotted client bug, as there are scripts for different servers (such as: https://github.com/coolpopo/CoolFrostDrags/blob/1b6584307d9761cd58e01fafbd002a6562746dc5/coolfrostdrags/Pot.java#L49) that use
Skill.PRAYER.getLevel()to get a players current prayer points.System.out.println(Skill.HITPOINTS.getLevel());correctly returns current hitpoints.e.g. 10 (out of 11)
System.out.println(Skill.PRAYER.getLevel());returns maximum prayer points, rather than current.e.g: 43 (out of 43) when current prayer points are 38
Both methods use the same interface method, so I assume that there is an invalid hook somewhere.