summaryrefslogtreecommitdiff
path: root/src/game-server/monster.hpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-08-20 01:18:57 +0200
committerPhilipp Sehmisch <crush@themanaworld.org>2009-08-20 01:20:47 +0200
commit936c2d31127871e86918cf4e735da75186582543 (patch)
treeae9c80d6b2c8675fe230145dd70c52de9fd63d06 /src/game-server/monster.hpp
parente706c092f3b28ff4e5bd229ce3a00e604828ce89 (diff)
downloadmanaserv-936c2d31127871e86918cf4e735da75186582543.tar.gz
manaserv-936c2d31127871e86918cf4e735da75186582543.tar.bz2
manaserv-936c2d31127871e86918cf4e735da75186582543.tar.xz
manaserv-936c2d31127871e86918cf4e735da75186582543.zip
Removed remnants of attack zones. Monsters AI now works properly again.
Diffstat (limited to 'src/game-server/monster.hpp')
-rw-r--r--src/game-server/monster.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game-server/monster.hpp b/src/game-server/monster.hpp
index c25d853e..21b6cf2c 100644
--- a/src/game-server/monster.hpp
+++ b/src/game-server/monster.hpp
@@ -24,7 +24,6 @@
#include <map>
#include <vector>
-#include "game-server/attackzone.hpp"
#include "game-server/being.hpp"
#include "game-server/eventlistener.hpp"
@@ -52,9 +51,9 @@ struct MonsterAttack
float damageFactor;
int element;
int type;
- int preDelay;
- int aftDelay;
- AttackZone attackZone;
+ unsigned preDelay;
+ unsigned aftDelay;
+ unsigned range;
};
typedef std::vector< MonsterAttack *> MonsterAttacks;