From 1c2b800d9ceb217c8f2b0d97c44acb4f30426639 Mon Sep 17 00:00:00 2001 From: jona605a Date: Tue, 4 Aug 2020 13:52:45 +0200 Subject: [PATCH] :bug: 4ps, Correct win-message --- funcs/games/fourInARow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funcs/games/fourInARow.py b/funcs/games/fourInARow.py index 0d7b9fc..3235fe3 100644 --- a/funcs/games/fourInARow.py +++ b/funcs/games/fourInARow.py @@ -98,7 +98,7 @@ def placePiece(channel : str,player : int,column : int): data["4 in a row games"][channel]["win coordinates"] = winCoordinates message = data["4 in a row games"][channel]["players"][won-1]+" won." - winAmount = data["4 in a row games"][channel]["difficulty"] * 5 + winAmount = int(data["4 in a row games"][channel]["difficulty"])^2+5 if data["4 in a row games"][channel]["players"][won-1] != "Gwendolyn": message += " Adding "+str(winAmount)+" GwendoBucks to their account." elif 0 not in board[0]: