Thanks a ton! I read up on the break statement and implemented it with two more if statements, and it works perfectly!
while (monster.hp > 0)
{
wrAttack(player, monster);
if...
Type: Posts; User: NTWolf1220
Thanks a ton! I read up on the break statement and implemented it with two more if statements, and it works perfectly!
while (monster.hp > 0)
{
wrAttack(player, monster);
if...
I've been working on a text-based RPG game with a simple turn based battle system. After a lot of work, I've managed to get the battle system working fine. However, the loop lets the monster you're...