X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FStats.h;h=e53111d70df8e2f3169be0b0cddd8bee639b6bad;hb=b02da898c7c8a08141df4e797774a61cf5e0163f;hp=b935e02a73f28ba7aedc4c1c9feb0f78faa26daa;hpb=9d5e525f2bd9035e9add815e287313d09c1bf0fd;p=l2e.git diff --git a/src/battle/Stats.h b/src/battle/Stats.h index b935e02..e53111d 100644 --- a/src/battle/Stats.h +++ b/src/battle/Stats.h @@ -27,14 +27,25 @@ public: Uint8 Gut() const { return gut; } Uint16 MagicResistance() const { return magicResistance; } + void SetAttack(Uint16 a) { attack = a; } + void SetDefense(Uint16 d) { defense = d; } + void SetStrength(Uint16 s) { strength = s; } + void SetAgility(Uint16 a) { agility = a; } + void SetIntelligence(Uint16 i) { intelligence = i; } + void SetGut(Uint8 g) { gut = g; } + void SetMagicResistance(Uint16 m) { magicResistance = m; } + + static void CreateTypeDescription(); + static void Construct(void *); + private: - Uint16 attack; - Uint16 defense; - Uint16 strength; - Uint16 agility; - Uint16 intelligence; - Uint16 magicResistance; - Uint8 gut; + int attack; + int defense; + int strength; + int agility; + int intelligence; + int magicResistance; + int gut; };