final corrections before submission

This commit is contained in:
Edoardo Vergerio
2026-09-06 17:42:44 +02:00
parent 268fda0a6b
commit f046d06e21
15 changed files with 487 additions and 248 deletions
-4
View File
@@ -21,7 +21,6 @@ class Pokemon:
self.moves_dict[move] = copy.deepcopy(gd.available_moves[move])
self.curr_hp = self.baseStats['hp']
def _get_baseStats(self):
return self.baseStats
@@ -51,9 +50,6 @@ class Pokemon:
self.moves_dict[move] = copy.deepcopy(gd.available_moves[move])
def _compute_effect(self, move, opponent):
#check the move type (attack) and the defending
#pokemon type (defend) and look at effectiveness list.
#this should be done for all type of the defending pokemon
attack_move_type = move['type']
defending_types = opponent.get_types()