summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 14:24:59 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 14:24:59 +0000
commit4e2c773c1e4203b4e9db62c016445e0443dd39ff (patch)
tree5a3adce557a104901d10cb06c26df8dd9ce0da1b /src/map/status.c
parentf122cf8dd41f6bdcd8a5bc719135c758b9660918 (diff)
downloadhercules-4e2c773c1e4203b4e9db62c016445e0443dd39ff.tar.gz
hercules-4e2c773c1e4203b4e9db62c016445e0443dd39ff.tar.bz2
hercules-4e2c773c1e4203b4e9db62c016445e0443dd39ff.tar.xz
hercules-4e2c773c1e4203b4e9db62c016445e0443dd39ff.zip
- Corrected implementation of Gangster Paradise to just prevent mobs from targetting you.
- Likely fixed Close Confine not unlocking the target when you move/are moved. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5343 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 8ceb69c06..ce0242511 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -457,14 +457,12 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
struct map_session_data *sd = (struct map_session_data*) target;
if (pc_isinvisible(sd))
return 0;
- if ((tsc->option&hide_flag || sd->state.gangsterparadise)
+ if (tsc->option&hide_flag
&& (sd->state.perfect_hiding || !(race == 4 || race == 6 || mode&MD_DETECTOR))
&& !(mode&MD_BOSS))
return 0;
}
break;
- case BL_PET:
- return 0;
case BL_ITEM: //Allow targetting of items to pick'em up (or in the case of mobs, to loot them).
//TODO: Would be nice if this could be used to judge whether the player can or not pick up the item it targets. [Skotlex]
if (mode&MD_LOOTER)