diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-06 21:11:12 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-06 21:11:12 +0000 |
commit | 492c1822dc5c36972ed21873af9b353ec1864b20 (patch) | |
tree | 729e8d7f8c4f8270c6727f77c7f437497ef64984 /src/map/status.c | |
parent | 89a228e0aa57b695a7f990ee6777f38cbdd2460c (diff) | |
download | hercules-492c1822dc5c36972ed21873af9b353ec1864b20.tar.gz hercules-492c1822dc5c36972ed21873af9b353ec1864b20.tar.bz2 hercules-492c1822dc5c36972ed21873af9b353ec1864b20.tar.xz hercules-492c1822dc5c36972ed21873af9b353ec1864b20.zip |
- Renamed the mob mode Cast-Sensor Melee to Cast-Sensor idle since these mobs really should only be cast-sensing when they are not after another target.
- Added a Aegis Mob Type -> eA Mode table conversion to the mob modes doc.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9426 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 397319d72..802a16473 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1633,7 +1633,9 @@ int status_calc_pc(struct map_session_data* sd,int first) //FIXME: Most of these stuff should be calculated once, but how do I fix the malloc_set above to do that? [Skotlex] status->speed = DEFAULT_WALK_SPEED; - status->mode = MD_CANMOVE|MD_CANATTACK|MD_LOOTER|MD_ASSIST|MD_AGGRESSIVE|MD_CASTSENSOR_MELEE|MD_CASTSENSOR_CHASE; + //Give them all modes except these (useful for clones) + status->mode = MD_MASK&~(MD_BOSS|MD_PLANT|MD_DETECTOR|MD_ANGRY); + status->size = (sd->class_&JOBL_BABY)?0:1; if (battle_config.character_size && pc_isriding(sd)) { //[Lupus] if (sd->class_&JOBL_BABY) { |