forked from 2009Scape/Server
Normal trees now have a chance to deplete, like higher level trees
This is done to make collecting normal logs for arrowshafts less click-intensive.
This commit is contained in:
parent
48069e2234
commit
da071b795d
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ class WoodcuttingListener : InteractionListener {
|
|||
//OSRS: https://oldschool.runescape.wiki/w/Woodcutting scroll down to the mechanics section
|
||||
//RS3 : https://runescape.wiki/w/Woodcutting scroll down to the mechanics section, and expand the tree felling chances table
|
||||
if (resource.getRespawnRate() > 0) {
|
||||
if (RandomFunction.roll(8) || listOf(1, 2, 3, 4, 6).contains(resource.identifier.toInt())){
|
||||
if (RandomFunction.roll(8) || listOf(2, 3, 4, 6).contains(resource.identifier.toInt())){
|
||||
if (resource.isFarming()) {
|
||||
val fPatch = forObject(node.asScenery())
|
||||
if (fPatch != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue