diff options
author | Michieru <Michieru@users.noreply.github.com> | 2014-10-02 06:14:07 +0200 |
---|---|---|
committer | Michieru <Michieru@users.noreply.github.com> | 2014-10-02 06:14:07 +0200 |
commit | 76e80edbb2ea94247738fe5c2d30845e029c55d0 (patch) | |
tree | 2df86e26bc190d9fbb0c41576279bc2bfd80197f /src | |
parent | 062cc1c7d10418af8da422ea242bccc5b74d10f4 (diff) | |
download | hercules-76e80edbb2ea94247738fe5c2d30845e029c55d0.tar.gz hercules-76e80edbb2ea94247738fe5c2d30845e029c55d0.tar.bz2 hercules-76e80edbb2ea94247738fe5c2d30845e029c55d0.tar.xz hercules-76e80edbb2ea94247738fe5c2d30845e029c55d0.zip |
Hesperuslit could be cast when you are in Inspiration state and no more working when RG is alone. (idAthena rev1532)
Diffstat (limited to 'src')
-rw-r--r-- | src/map/skill.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 67c766792..936e0cede 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -13325,20 +13325,17 @@ int skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_id } break; case LG_RAYOFGENESIS: + case LG_HESPERUSLIT: if( sc && sc->data[SC_INSPIRATION] ) return 1; // Don't check for partner. if( !(sc && sc->data[SC_BANDING]) ) { clif->skill_fail(sd,skill_id,USESKILL_FAIL,0); return 0; - } else if( skill->check_pc_partner(sd,skill_id,&skill_lv,skill->get_range(skill_id,skill_lv),0) < 1 ) + } + if( sc->data[SC_BANDING] &&
+ sc->data[SC_BANDING]->val2 < (skill_id == LG_RAYOFGENESIS ? 2 : 3) ) return 0; // Just fails, no msg here. break; - case LG_HESPERUSLIT: - if( !sc || !sc->data[SC_BANDING] ) { - clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); - return 0; - } - break; case SR_FALLENEMPIRE: if( sc && sc->data[SC_COMBOATTACK] ) { if( sc->data[SC_COMBOATTACK]->val1 == SR_DRAGONCOMBO ) |