]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/Stats.h
added interpretation of battle resources
[l2e.git] / src / battle / Stats.h
index b935e02a73f28ba7aedc4c1c9feb0f78faa26daa..ae885bf4aa6021a01d02ad244757f9be856eb5cb 100644 (file)
@@ -27,6 +27,14 @@ 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; }
+
 private:
        Uint16 attack;
        Uint16 defense;