diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-02 04:31:18 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-02 04:31:18 +0000 |
commit | 07de6e307e4aae0beee1f6397ecbd37fd3295e04 (patch) | |
tree | 6042d0219c68683709ccb2b345a7683bc9243ba3 /src/map/mob.c | |
parent | 00aa5613f7aaa85676d3f549ec6b71d9adf3b4b8 (diff) | |
download | hercules-07de6e307e4aae0beee1f6397ecbd37fd3295e04.tar.gz hercules-07de6e307e4aae0beee1f6397ecbd37fd3295e04.tar.bz2 hercules-07de6e307e4aae0beee1f6397ecbd37fd3295e04.tar.xz hercules-07de6e307e4aae0beee1f6397ecbd37fd3295e04.zip |
Fixed bugreport:5649 shura cursed circle now stops mobs from being able to target you while under effect.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16040 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 8318d492f..cf2e8ed6e 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1397,8 +1397,8 @@ static bool mob_ai_sub_hard(struct mob_data *md, unsigned int tick) return false; // Abnormalities - if(( md->sc.opt1 > 0 && md->sc.opt1 != OPT1_STONEWAIT && md->sc.opt1 != OPT1_BURNING ) || md->sc.data[SC_BLADESTOP]) - { //Should reset targets. + if(( md->sc.opt1 > 0 && md->sc.opt1 != OPT1_STONEWAIT && md->sc.opt1 != OPT1_BURNING ) + || md->sc.data[SC_BLADESTOP] || md->sc.data[SC__MANHOLE] || md->sc.data[SC_CURSEDCIRCLE_TARGET]) {//Should reset targets. md->target_id = md->attacked_id = 0; return false; } |