From 76e80edbb2ea94247738fe5c2d30845e029c55d0 Mon Sep 17 00:00:00 2001 From: Michieru Date: Thu, 2 Oct 2014 06:14:07 +0200 Subject: Hesperuslit could be cast when you are in Inspiration state and no more working when RG is alone. (idAthena rev1532) --- src/map/skill.c | 11 ++++------- 1 file 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 ) -- cgit v1.2.3-70-g09d2