Skip to content

Commit

Permalink
Adjusted pirate boat battle
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikketer committed Jul 17, 2024
1 parent a342b07 commit 693668b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion travel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ namespace Travel {
let _islandAnimation: Image[]

export function init() {
const oddsOfBoatBattle = 70
// Probably should have done this better... oh well
const oddsOfBoatBattle = 80
const result = Math.min(TreasureStats.currentTreasure.onBoat / 300, oddsOfBoatBattle / 100) * 100

scene.setBackgroundColor(0)
Expand Down

0 comments on commit 693668b

Please sign in to comment.