diff options
author | shennetsind <ind@henn.et> | 2013-03-27 13:22:55 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-03-27 13:22:55 -0300 |
commit | 90f117f6b071c9c12bb8b521b6de46301639e75c (patch) | |
tree | b9b7c509abe0d7009ab7483a9201f4bcb579bce1 /src/map/mob.c | |
parent | c58f741a0f2b807cbeb065c2dbbfe4f86dfb95b2 (diff) | |
download | hercules-90f117f6b071c9c12bb8b521b6de46301639e75c.tar.gz hercules-90f117f6b071c9c12bb8b521b6de46301639e75c.tar.bz2 hercules-90f117f6b071c9c12bb8b521b6de46301639e75c.tar.xz hercules-90f117f6b071c9c12bb8b521b6de46301639e75c.zip |
Introducing Hercules' Map Zone Database
Click the link for full info~!
http://hercules.ws/board/topic/302-introducing-hercules-map-zone-database/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index fa4bd5c7f..71b500491 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3389,8 +3389,7 @@ int mob_clone_spawn(struct map_session_data *sd, int16 m, int16 x, int16 y, cons for (i=0,j = MAX_SKILL_TREE-1;j>=0 && i< MAX_MOBSKILL ;j--) { skill_id = skill_tree[pc_class2idx(sd->status.class_)][j].id; if (!skill_id || sd->status.skill[skill_id].lv < 1 || - (skill->get_inf2(skill_id)&(INF2_WEDDING_SKILL|INF2_GUILD_SKILL)) || - skill->get_nocast(skill_id)&16 + (skill->get_inf2(skill_id)&(INF2_WEDDING_SKILL|INF2_GUILD_SKILL)) ) continue; //Normal aggressive mob, disable skills that cannot help them fight |