Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. private int getWoodcuttingDelay(Player player) {
  2. int summoningBonus = player.getFamiliar() != null ? (player
  3. .getFamiliar().getId() == 6808 || player.getFamiliar().getId() == 6807) ? 10
  4. : 0
  5. : 0;
  6. int wcTimer = definitions.getLogBaseTime()
  7. - (player.getSkills().getLevel(8) + summoningBonus)
  8. - Utils.getRandom(axeTime);
  9. if (wcTimer < 1 + definitions.getLogRandomTime())
  10. wcTimer = 1 + Utils.getRandom(definitions.getLogRandomTime());
  11. wcTimer /= player.getAuraManager().getWoodcuttingAccurayMultiplier();
  12. return wcTimer;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement