Skip to content

Commit

Permalink
update Beehive event
Browse files Browse the repository at this point in the history
  • Loading branch information
nwjgit committed Mar 2, 2024
1 parent f97951b commit ffc2430
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/tasks/minions/woodcuttingActivity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ async function handleForestry({ user, duration, loot }: { user: MUser; log: Log;
break;
case 5: // Beehive
case5++;
loot.add('Sturdy beehive parts', randInt(2, 6));
for (let i = 0; i < randInt(4, 6); i++) {
if (percentChance(2 / 3)) {
loot.add('Sturdy beehive parts', 1);
}
}
break;
case 6: // Friendly Ent
case6++;
Expand Down Expand Up @@ -176,11 +180,6 @@ async function handleForestry({ user, duration, loot }: { user: MUser; log: Log;
? `Completed Forestry event${totalEvents > 1 ? 's:' : ':'} ${completedEvents}. ${xpRes}\n`
: ''
}`;
strForestry += `${
loot.has('Sturdy beehive parts')
? '- The temporary beehive was made so well you could repurpose parts of it to build a permanent hive.\n'
: ''
}`;
strForestry += `${
loot.has('Golden pheasant egg')
? '- You feel a connection to the pheasants as if one wishes to travel with you...\n'
Expand Down

0 comments on commit ffc2430

Please sign in to comment.