mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-20 18:05:13 -06:00
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:
parent
a2f8e0a398
commit
8fef41e185
1 changed files with 1 additions and 3 deletions
|
|
@ -144,13 +144,11 @@ class DiaryEventHook : LoginListener
|
|||
|
||||
if(getAttribute(entity, "diary:seers:shark-caught", 0) >= 5)
|
||||
finishTask(entity, DiaryType.SEERS_VILLAGE, 2, 7)
|
||||
if(getAttribute(entity, "diary:seers:shark-cooked", 0) >= 5)
|
||||
finishTask(entity, DiaryType.SEERS_VILLAGE, 2, 8)
|
||||
|
||||
if((regionId == 12593 || regionId == 12849) && event.source.name.startsWith("dead", true))
|
||||
finishTask(entity, DiaryType.LUMBRIDGE, 1, 8)
|
||||
|
||||
if(event.source.id == NPCs.FISHING_SPOT_333 && entity.zoneMonitor.isInZone("karamja"))
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue