]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/Monster.h
apply damage indicated by attack selection
[l2e.git] / src / battle / Monster.h
index f37786a076f3f8618449a7148a2faf8539716ff8..f79eaab3e1fc7e8dc807ed85b10cef677ed73f81 100644 (file)
@@ -28,6 +28,7 @@ public:
        Uint16 MaxHealth() const { return maxHealth; }
        Uint16 Health() const { return health; }
        int RelativeHealth(int max) const { return health * max / maxHealth; }
+       void SubtractHealth(int amount);
 
        Uint16 MaxMana() const { return maxMana; }
        Uint16 Mana() const { return mana; }