X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FHero.h;h=aa12b2559cdfe69aa1221847aded744bfbd8549e;hb=087783315ac5955c17bb3b051c9351f321653df6;hp=787241906a96c35a92d035691a6c02815b3d8a32;hpb=eb2ad5ffd08128d31af32f3929a3295fcfa251e9;p=l2e.git diff --git a/src/common/Hero.h b/src/common/Hero.h index 7872419..aa12b25 100644 --- a/src/common/Hero.h +++ b/src/common/Hero.h @@ -83,8 +83,9 @@ public: static void CreateTypeDescription(); static void Construct(void *); -// temporary setters public: + void SetMaxHealth(int h) { maxHealth = h; } + void SetHealth(int h) { health = h; } void AddSpell(Spell *s) { spells.push_back(s); } private: