This commit is contained in:
alex 2019-06-28 18:55:46 +01:00
parent 62144ce8a1
commit e1eddb1b11

View File

@ -223,9 +223,9 @@ func (g *WatGame) Bankrupt(player *Player, fields []string) string {
if player.Coins > 10 { if player.Coins > 10 {
return fmt.Sprintf("hmm, with %d %s, you're too rich. go get poor.", player.Coins, currency) 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) { 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.Coins += 50
player.Bankrupcy += 1 player.Bankrupcy += 1