9 NULL_PTR_HANDLER_RETURN(memory_pool, NULL,
"Goblin",
"Memory pool is NULL");
12 NULL_PTR_HANDLER_RETURN(goblin, NULL,
"Goblin",
"Failed to allocate memory for goblin");
void set_character_stats(character_t *character, int strength, int intelligence, int dexterity, int constitution)
Sets the stats for a character.
character_t * init_character(memory_pool_t *memory_pool, const character_type_t type, const char *name)
Initializes a new character.
void set_character_dmg_modifier(character_t *character, damage_type_t type, int value)
Sets the damage modifier for a character.
void set_xp_reward(character_t *character, int xp_reward)
Sets the XP reward for a character.
void set_level(character_t *character, int level)
Sets the level for a character.
character_t * create_new_goblin(memory_pool_t *memory_pool)
Creates and initializes a new goblin character.
Declares routines for creating and destroying monster characters.