summaryrefslogtreecommitdiff
path: root/src/game-server/character.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/character.h')
-rw-r--r--src/game-server/character.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game-server/character.h b/src/game-server/character.h
index b465a90e..48c18324 100644
--- a/src/game-server/character.h
+++ b/src/game-server/character.h
@@ -419,6 +419,10 @@ class Character : public Being
static void setDeathAcceptedCallback(Script *script)
{ script->assignCallback(mDeathAcceptedCallback); }
+ virtual void addAttack(AttackInfo *attackInfo);
+
+ virtual void removeAttack(AttackInfo *attackInfo);
+
protected:
/**
* Gets the way the actor blocks pathfinding for other objects
@@ -426,6 +430,7 @@ class Character : public Being
virtual BlockType getBlockType() const
{ return BLOCKTYPE_CHARACTER; }
+
private:
bool specialUseCheck(SpecialMap::iterator it);
@@ -522,6 +527,8 @@ class Character : public Being
Timeout mMuteTimeout; /**< Time until the character is no longer muted */
+ AttackInfo *mKnuckleAttackInfo;
+
static Script::Ref mDeathCallback;
static Script::Ref mDeathAcceptedCallback;