diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-10-03 10:23:59 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-10-03 10:23:59 -0400 |
commit | 84bea0b72c36a27e3b39a0713aaf7b12d4df5a2a (patch) | |
tree | 2f26a9fb77d48ba2170ea8f388c1b8295638eabe /src/game-server/monster.hpp | |
parent | 80b8174acb340a36194c1ebe4905ab6cca8fdb8f (diff) | |
download | manaserv-84bea0b72c36a27e3b39a0713aaf7b12d4df5a2a.tar.gz manaserv-84bea0b72c36a27e3b39a0713aaf7b12d4df5a2a.tar.bz2 manaserv-84bea0b72c36a27e3b39a0713aaf7b12d4df5a2a.tar.xz manaserv-84bea0b72c36a27e3b39a0713aaf7b12d4df5a2a.zip |
Adds the changeAnger method to monsters
Diffstat (limited to 'src/game-server/monster.hpp')
-rw-r--r-- | src/game-server/monster.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game-server/monster.hpp b/src/game-server/monster.hpp index 2278e8fd..79b8c69b 100644 --- a/src/game-server/monster.hpp +++ b/src/game-server/monster.hpp @@ -262,6 +262,11 @@ class Monster : public Being void died(); /** + * Alters hate for the monster + */ + void changeAnger(Actor *target, int amount); + + /** * Calls the damage function in Being and updates the aggro list */ virtual int damage(Actor *source, const Damage &damage); |