- char *name; // The monster's name
- char *weapon; // A name for their weapon. Doesn't have to be in weapons[]
- int strength; // Their strength
- int gold; // The gold you get when you kill them
- int exp; // The experience you get when you kill them
- int hp; // Their remaining hitpoints
- int maxhp; // Their max hitpoints
- char *death; // What is said when they die
+ string name; // The monster's name
+ string weapon; // A name for their weapon. Doesn't have to be in weapons[]
+ int strength; // Their strength
+ int gold; // The gold you get when you kill them
+ int exp; // The experience you get when you kill them
+ int hp; // Their remaining hitpoints
+ int maxhp; // Their max hitpoints
+ int defense; // Only used seldomly
+ string death; // What is said when they die