Issue with loops

wildbill:
So far, I can't see why you're using an Arduino for this. Easier to debug on the machine you're using to program the Arduino even if you do need I/O later.

The rest of my code works fine, this is just a feature I'm trying to add in with this small subset. I'm pretty new at this and hopping between Dev envrionments is a bit beyond me.

Here is the code for Monster.h:

#ifndef Monster_H
#define Monster_H

#include <Arduino.h>

class Monster{
	
	public:
		char* 	mName;
		bool	inCombat;
		byte 	initRoll;
		byte	currhp;
		
		int		hp;
		byte	initMod;
		bool	npc;
		char*	details;
		
		
		Monster(char* n, byte r,byte h, int i, bool p, char* d);
		void roll();
		void engage();
		void kill();
		void takeHit(int howHard);
	
		

};

#endif

My code runs and does the comparison and appending correctly, I'm just getting too many numbers. Here is the result of execution:

Hello
Thio Ki
Zenwan
Balkas
Fire Wolf 0 1 0 1
Fire Wolf 0 1 0 1
Fire Sprite
Son of Ignis 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4
Son of Ignis 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4
Son of Ignis 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4
Son of Ignis 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4
Son of Ignis 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4
1 2 3 4 0 1 2 3 4