diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-03 17:15:09 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-03 17:15:09 +0000 |
commit | 9d73a996d9edba1da1f36461f3838d5571a781a3 (patch) | |
tree | e6475b9724879a8375e46a1269611b004b4eaf3c /src/map/skill.c | |
parent | d214e16b4875f2be40c817f609d940a6ff5ef088 (diff) | |
download | hercules-9d73a996d9edba1da1f36461f3838d5571a781a3.tar.gz hercules-9d73a996d9edba1da1f36461f3838d5571a781a3.tar.bz2 hercules-9d73a996d9edba1da1f36461f3838d5571a781a3.tar.xz hercules-9d73a996d9edba1da1f36461f3838d5571a781a3.zip |
- Added event 8 for mobspawns that should spawn with special ai set.
- Modified battle_check_target so that mobs with special ai's default enemy are mobs with no special ai.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5448 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index e552eb657..1d536b8ed 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5118,7 +5118,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in }
if(su->group->unit_id == UNT_ANKLESNARE && su->group->val2){
struct block_list *target=map_id2bl(su->group->val2);
- if(target && (target->type == BL_PC || target->type == BL_MOB))
+ if(target)
status_change_end(target,SC_ANKLE,-1);
}
skill_delunit(su);
|