- Thread Author
- #1
Taken from patch notes:
Summoning will now visibly display as 990 and the summoning stat will not be drained when using summoning pouches.
This means that Summoning.getPoints() always returns your current summoning level. Since it doesn't change, it'll always return the same value.
How to fix?
The value of the varbit will always be the amount of summoning points times 10, hence why the /10 is there.
Summoning will now visibly display as 990 and the summoning stat will not be drained when using summoning pouches.
This means that Summoning.getPoints() always returns your current summoning level. Since it doesn't change, it'll always return the same value.
How to fix?
Code:
public int getPoints() {
Varbit varbit = Varbits.load(41524);
return varbit != null ? (varbit.getValue() / 10) : -1;
}
The value of the varbit will always be the amount of summoning points times 10, hence why the /10 is there.