diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-08-20 01:18:57 +0200 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-08-20 01:20:47 +0200 |
commit | 936c2d31127871e86918cf4e735da75186582543 (patch) | |
tree | ae9c80d6b2c8675fe230145dd70c52de9fd63d06 /src/game-server/monster.hpp | |
parent | e706c092f3b28ff4e5bd229ce3a00e604828ce89 (diff) | |
download | manaserv-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.hpp | 7 |
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; |