Health not being taken away from enemy in RPG battle

I don’t know what I did wrong the health of the monster is not being subtracted and is printing the same health when you attack. This game is not finished. Can someone help?


Hello, @DougieEarl!
It seems that the structure of your game is invalid.
You should perhaps make it differently.

@QwertyQwerty88 Can you change the tag to Python ?

1 Like

What’dya mean by that? Looks fine to me, although I just glanced at the code

It has like 100 errors destroying the program.



What I mean is the program doesn’t function correctly

How do you know what I want the program to do?

Also, is there an easy way to make it differently? I don’t really know that much about classes, and this is for a project due soon.

So is it for school?

Yes it is for school

Yeah I’m confused about what @SnakeyKing is saying

1 Like

Then you shouldn’t get help from other people. You should figure it out on your own.

It’s not for my real school though it is just a camp thing that’s why i said school

1 Like

Well, I can teach you about classes.
And I can help you make the game.

Ok but how would you do that

Just invite me to the repl.

Can you do it in a simple way that is fast to learn this project is due in 3 days

Ok i invited you to it

Well of course not, that’s stupid. How are you supposed to figure it out if you don’t know what you’re doing? The point of school is to learn, and getting help from people helps you learn. So I really don’t know what you’re on about here.

1 Like

Can you help me out?