summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralex2019-06-28 18:55:46 +0100
committeralex2019-06-28 18:55:46 +0100
commite1eddb1b1125acf12afaa2ea7630d12f6bc4bc0d (patch)
tree8e62a86bc8e1026d37c79e336042d7c1e2ca8b9a
parent62144ce8a1b71cdaeac5bc946d1e735299729b16 (diff)
downloadwatbot-e1eddb1b1125acf12afaa2ea7630d12f6bc4bc0d.tar.gz
watbot-e1eddb1b1125acf12afaa2ea7630d12f6bc4bc0d.tar.bz2
watbot-e1eddb1b1125acf12afaa2ea7630d12f6bc4bc0d.zip
fixes #6
-rw-r--r--wat/game.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/wat/game.go b/wat/game.go
index d986eb3..452534f 100644
--- a/wat/game.go
+++ b/wat/game.go
@@ -223,9 +223,9 @@ func (g *WatGame) Bankrupt(player *Player, fields []string) string {
if player.Coins > 10 {
return fmt.Sprintf("hmm, with %d %s, you're too rich. go get poor.", player.Coins, currency)
}
- minTime := int64(14400)
+ minTime := int64(7200)
if !g.CanAct(player, Action_Bankrupt, minTime) {
- return "pity is only valid once every 4 hours"
+ return "pity is only valid once every 2 hours"
}
player.Coins += 50
player.Bankrupcy += 1