From 5e58722409d51179526c4d1d370da95e60a0cb53 Mon Sep 17 00:00:00 2001 From: Not Sus Impostor <111621644+a-sussy-impostor@users.noreply.github.com> Date: Fri, 3 May 2024 21:28:11 +0800 Subject: [PATCH] Fix indexerrror --- base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base.py b/base.py index 378be3f..a15ca1f 100644 --- a/base.py +++ b/base.py @@ -20,7 +20,7 @@ def __init__(self, name, type, number, bst, move, star, energy , special = None, self.z = None self.fuse = fuse # list del name, type, number, bst, move, star, energy, special, mega, z, fuse - def Attack(self, enemy,selfch = [1,1,1,1,1],enemych = [1,1,1,1,1]): # Stat changes: [Attack, Defense, Sp. Atk, Sp. Def, Spe, Crit] + def Attack(self, enemy,selfch = [1,1,1,1,1,1],enemych = [1,1,1,1,1,1]): # Stat changes: [Attack, Defense, Sp. Atk, Sp. Def, Spe, Crit] if self.move[3] == "P": getbst = [1,2] elif self.move[3] == "S":