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:
randy 2024-11-10 20:55:02 -07:00
parent 48069e2234
commit da071b795d

View file

@ -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) {