Corrected tree felling mechanics (now 1 in 8 chance for a tree to fall per log)

Moved the diary check in woodcutting out to the diary events hook
Corrected the woodcutting animation to not reset/interrupt itself
This commit is contained in:
Ceikry
2022-03-27 04:57:23 +00:00
committed by Ryan
parent fd9eaca1f3
commit f5452e27e4
2 changed files with 8 additions and 9 deletions
@@ -139,6 +139,9 @@ class DiaryEventHook : LoginListener
if(event.source.id == 333 && entity.zoneMonitor.isInZone("karamja"))
finishTask(entity, DiaryType.KARAMJA, 0, 6)
if(event.source.id == Scenery.YEW_TREE_8513 && regionId == 11828)
finishTask(entity, DiaryType.FALADOR, 2, 3)
}
}