how to track the HP of all characters? It's better to make each character has its own HP. This is where Class comes in handy. class Monster(): hp = 100 mp = 10 def damage(self, attack): self.hp = self.hp - attack monster1 = M...
Markdown supported · ⌘↵ to post
No responses yet.