calculate
calculate: (Effect, Client) -> StatsChangesThe changes using the item now would make, from the player's current and real levels, run energy, worn items and the league relic varbits. Pass the client global.
ItemStatChanges.ATTACK_POT
ItemStatChanges.STRENGTH_POT
ItemStatChanges.DEFENCE_POT| Method | Returns | Description |
|---|---|---|
calculate(Client) | StatsChanges | The changes using the item now would make, from the player's current and real levels, run energy, worn items and the league relic varbits.… |
equals(any) | boolean | Whether other is the same effect (== answers the same); false for anything else. |
| Method | Returns | Description |
|---|---|---|
ItemStatChanges.get | Effect? | The item's effect, or nil for an item with none. |
ItemStatChangesService.getItemStatChanges | Effect? | The item's effect, or nil. |
calculatecalculate: (Effect, Client) -> StatsChangesThe changes using the item now would make, from the player's current and real levels, run energy, worn items and the league relic varbits. Pass the client global.
equalsequals: (Effect, any) -> booleanWhether other is the same effect (== answers the same); false for anything else.