diff --git a/src/c/character.c b/src/c/character.c index 9c46cf7..4e3ef63 100644 --- a/src/c/character.c +++ b/src/c/character.c @@ -334,4 +334,12 @@ int checkStatus (Character *character) { return getCharacterStatus(character); break; } +} + +void setCharacterManaPoints (Character *character, int newManaPoints) { + character->manaPoints = newManaPoints; +} + +int getCharacterManaPoints (Character *character) { + return character->manaPoints; } \ No newline at end of file diff --git a/src/c/character.h b/src/c/character.h index 2c8a708..0403686 100644 --- a/src/c/character.h +++ b/src/c/character.h @@ -136,4 +136,8 @@ void setCharacterStatusDuration (Character *character, int newStatusDuration); int getCharacterStatusDuration (Character *character); int checkStatus (Character *character); + +void setCharacterManaPoints (Character *character, int newManaPoints); + +int getCharacterManaPoints (Character *character); #endif \ No newline at end of file