summaryrefslogtreecommitdiff
path: root/src/game-server/monster.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/monster.h')
-rw-r--r--src/game-server/monster.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/game-server/monster.h b/src/game-server/monster.h
index e87180dd..3bd34a95 100644
--- a/src/game-server/monster.h
+++ b/src/game-server/monster.h
@@ -292,15 +292,12 @@ class Monster : public Being
void refreshTarget();
/**
- * Performs an attack
- */
- virtual void processAttack(Attack &attack);
-
- /**
* Kills the being.
*/
void died();
+ void receivedDamage(Being *attacker, const Damage &damage, int hpLoss);
+
/**
* Alters hate for the monster
*/
@@ -309,11 +306,6 @@ class Monster : public Being
std::map<Being *, int> getAngerList() const;
/**
- * Calls the damage function in Being and updates the aggro list
- */
- virtual int damage(Actor *source, const Damage &damage);
-
- /**
* Removes a being from the anger list.
*/
void forgetTarget(Entity *entity);
@@ -342,9 +334,6 @@ class Monster : public Being
*/
Character *mOwner;
- /** Factor for damage mutation */
- unsigned mDamageMutation;
-
/** List of characters and their skills that attacked this monster. */
std::map<Character *, std::set <size_t> > mExpReceivers;