rpg #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#pragma once
#include "hitpointypes.h"
class hp {
public:
// returns 1 if sccss
bool setMaxHP(hptype new_max_hp) {
if (new_max_hp < 1)
return false;
MaxHP = new_max_hp;
private:
hptype MaxHP;
hptype CurrentHP;
};``