I'm making this game while I learn C++ it helps me learn, and its fun.
Anyway, couple bugs, i've tried and tried again to fix, but can't seem to do it.
I attached the entire code, so you can compile it and see what i'm talking about first hand.
First off, Battle System, semi-works. I can't stop it from using negative numbers. For example, the player has 45 Armor, the Monster does only 20 damage, 20 - 45 = -25, so the monster does -25 Damage, and thus Hitpoints are Added to the Player. I tried an if statement to set Damage Dealt to 0 if it is <= 0. Apparently the program just ignores this part.
Second, after a victory in the battle system, your taken back to the town. Now if you try to quit at the moment, immediatley after coming back to town, it displays the quit message, but then jumps back into the battle system, i can't figure out why or how. Any help would be appreciated.
As I said, I'm basicly a newb, i still haven't grasped Classes and Objects yet.
Thanx,
Darkflame