PLS HELP ME MAKE A HEALTH RPG SYSTEM!!
guys I am learning python and I started creating a simple RPG game to kill monsters, animals, gain XP, rank up and stuff...
I already did some quests for killing a wolf but I cannot do a HP system to lose Health and heal after a battle or a hunt.
I'll appreciate if someone help me
Spacecraft
This should be posted in ASK, not the TUTORIALS section.
@Highwayman It didn't work
@Highwayman It says "Local variable 'health' defined in enclosing scope on line 1 referenced before assignment"
🤷♂️ I don’t really use python that much. Idk. @yBen2201