summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-16 20:42:41 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-16 20:42:41 +0000
commit986c6ef4abc2dade347e3e712c5e7c2d7cc4ca3d (patch)
tree7f7cfee00c8e47b126b070e9ae7fbb618d59c6b6 /src/map/mob.c
parent62aeef6736c5e3ec4e4b8fa2fc3a9a12f7e2c9a7 (diff)
downloadhercules-986c6ef4abc2dade347e3e712c5e7c2d7cc4ca3d.tar.gz
hercules-986c6ef4abc2dade347e3e712c5e7c2d7cc4ca3d.tar.bz2
hercules-986c6ef4abc2dade347e3e712c5e7c2d7cc4ca3d.tar.xz
hercules-986c6ef4abc2dade347e3e712c5e7c2d7cc4ca3d.zip
- In CELL_NOSTACK mode, mob_canreach will now ignore other players when checking if there's a path to the player.
- Added RG_RAID to the list of skills that need a status_checkskilluse on skill_attack. - Added the mapflag check monster_noteleport to AL_TELEPORT. - Fixed the sc_def rate not being reduced in status_change_start. - The battle config options sp_rate and hp_rate are now applied independently of the same type of bonuses from cards. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5300 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 40bf82cb6..f279346d8 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -612,7 +612,11 @@ int mob_can_reach(struct mob_data *md,struct block_list *bl,int range, int state
easy = 1;
break;
}
-
+#ifdef CELL_NOSTACK
+ //In no stack mode, do these path searches ignoring other players as it's just
+ //for reachability judging, not the actual path used. [Skotlex]
+ easy |= 0x30000;
+#endif
if( md->bl.m != bl->m) // ˆá‚¤ƒƒbƒv
return 0;