diff options
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h index 55d49620..895506e8 100644 --- a/src/being.h +++ b/src/being.h @@ -162,8 +162,10 @@ class Being : public ActorSprite, public EventListener * @param attacker the attacking being * @param damage the amount of damage recieved (0 means miss) * @param type the attack type + * @param attackId the attack id (used for monsters) */ - void takeDamage(Being *attacker, int damage, AttackType type); + void takeDamage(Being *attacker, int damage, + AttackType type, int attackId = 1); /** * Handles an attack of another being by this being. |