Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private int getWoodcuttingDelay(Player player) {
- int summoningBonus = player.getFamiliar() != null ? (player
- .getFamiliar().getId() == 6808 || player.getFamiliar().getId() == 6807) ? 10
- : 0
- : 0;
- int wcTimer = definitions.getLogBaseTime()
- - (player.getSkills().getLevel(8) + summoningBonus)
- - Utils.getRandom(axeTime);
- if (wcTimer < 1 + definitions.getLogRandomTime())
- wcTimer = 1 + Utils.getRandom(definitions.getLogRandomTime());
- wcTimer /= player.getAuraManager().getWoodcuttingAccurayMultiplier();
- return wcTimer;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement