Skip to content
Extraits de code Groupes Projets
Valider fbdee9c2 rédigé par ElTata's avatar ElTata :ok_hand:
Parcourir les fichiers

Fix number of player in team battle

Loop went to 7 seven players, corrected to 6
parent 54ba2c08
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -361,7 +361,7 @@ sub team_battle { # pit three players against three other players ...@@ -361,7 +361,7 @@ sub team_battle { # pit three players against three other players
my ($mysum, $oppsum) = (0, 0); my ($mysum, $oppsum) = (0, 0);
my ($myroll, $opproll) = (0, 0); my ($myroll, $opproll) = (0, 0);
my ($action_type, $sum, $mod); my ($action_type, $sum, $mod);
for (my $i = 0; $i <= 6 ; $i++) { for (my $i = 0; $i < 6 ; $i++) {
$action_type = choose_action($opp[$i]); $action_type = choose_action($opp[$i]);
$sum = int(itemsum($opp[$i],1)); $sum = int(itemsum($opp[$i],1));
if ($i < 3) { if ($i < 3) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter