mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 20:27:42 +00:00
Update kaubfuda
This commit is contained in:
@@ -11,8 +11,20 @@ class CHealthInfo
|
||||
float x0_health;
|
||||
float x4_knockbackResistance;
|
||||
public:
|
||||
CHealthInfo(float hp)
|
||||
: x0_health(hp),
|
||||
x4_knockbackResistance(0.f)
|
||||
{
|
||||
}
|
||||
|
||||
CHealthInfo(float hp, float resist)
|
||||
: x0_health(hp),
|
||||
x4_knockbackResistance(resist)
|
||||
{}
|
||||
|
||||
CHealthInfo(CInputStream& in);
|
||||
float GetHealth() const {return x0_health;}
|
||||
void SetHP(float hp) { x0_health = hp; }
|
||||
float GetHP() const {return x0_health;}
|
||||
float GetKnockbackResistance() const {return x4_knockbackResistance;}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user