summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 05:19:37 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 05:19:37 +0000
commitc67c76ccdd9c8f534c15e05f368aad3b762b2450 (patch)
tree50e9de1c6033242a35a7c2f5f00162c98b281628 /src/map/battle.c
parent3c28bcdb276c7edaebfa39db390c8d55652a8525 (diff)
downloadhercules-c67c76ccdd9c8f534c15e05f368aad3b762b2450.tar.gz
hercules-c67c76ccdd9c8f534c15e05f368aad3b762b2450.tar.bz2
hercules-c67c76ccdd9c8f534c15e05f368aad3b762b2450.tar.xz
hercules-c67c76ccdd9c8f534c15e05f368aad3b762b2450.zip
Fixed bugreport:5355 Shadow Chaser's Auto Shadow Spell is now fully functional.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15756 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index afefe3d7e..831b80b66 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4202,7 +4202,7 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t
}
if (sd) {
if( wd.flag&BF_SHORT && sc && sc->data[SC__AUTOSHADOWSPELL] && rand()%100 < sc->data[SC__AUTOSHADOWSPELL]->val3 &&
- sd->status.skill[sc->data[SC__AUTOSHADOWSPELL]->val1].id != 0 && sd->status.skill[sc->data[SC__AUTOSHADOWSPELL]->val1].flag == 13 )
+ sd->status.skill[sc->data[SC__AUTOSHADOWSPELL]->val1].id != 0 && sd->status.skill[sc->data[SC__AUTOSHADOWSPELL]->val1].flag == SKILL_FLAG_PLAGIARIZED )
{
int r_skill = sd->status.skill[sc->data[SC__AUTOSHADOWSPELL]->val1].id,
r_lv = sc->data[SC__AUTOSHADOWSPELL]->val2;