diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-22 05:19:37 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-22 05:19:37 +0000 |
commit | c67c76ccdd9c8f534c15e05f368aad3b762b2450 (patch) | |
tree | 50e9de1c6033242a35a7c2f5f00162c98b281628 /src/map/skill.c | |
parent | 3c28bcdb276c7edaebfa39db390c8d55652a8525 (diff) | |
download | hercules-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/skill.c')
-rw-r--r-- | src/map/skill.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index c3870a3a3..78b35a0b0 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2350,7 +2350,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds if( sc && sc->data[SC__REPRODUCE] && (lv = sc->data[SC__REPRODUCE]->val1) ) { //Level dependent and limitation. lv = min(lv,skill_get_max(copy_skill)); - if( tsd->reproduceskill_id && tsd->status.skill[tsd->reproduceskill_id].flag == 13 ) { + if( tsd->reproduceskill_id && tsd->status.skill[tsd->reproduceskill_id].flag == SKILL_FLAG_PLAGIARIZED ) { tsd->status.skill[tsd->reproduceskill_id].id = 0; tsd->status.skill[tsd->reproduceskill_id].lv = 0; tsd->status.skill[tsd->reproduceskill_id].flag = 0; @@ -2363,7 +2363,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds tsd->status.skill[copy_skill].id = copy_skill; tsd->status.skill[copy_skill].lv = lv; - tsd->status.skill[copy_skill].flag = 13; + tsd->status.skill[copy_skill].flag = SKILL_FLAG_PLAGIARIZED; clif_addskill(tsd,copy_skill); } else { lv = skilllv; @@ -14731,7 +14731,7 @@ int skill_select_menu(struct map_session_data *sd,int flag,int skill_id) { status_change_end(&sd->bl,SC_STOP,-1); } - if( (id = sd->status.skill[skill_id].id) == 0 || sd->status.skill[skill_id].flag != 13 || + if( (id = sd->status.skill[skill_id].id) == 0 || sd->status.skill[skill_id].flag != SKILL_FLAG_PLAGIARIZED || skill_id >= GS_GLITTERING || skill_get_type(skill_id) != BF_MAGIC ) { clif_skill_fail(sd,SC_AUTOSHADOWSPELL,0,0); return 0; |