diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-19 01:57:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-19 02:32:01 +0300 |
commit | 895341723c0c601c798e22c0a53f0aaaa73e08d1 (patch) | |
tree | ab62be821a89665710102301c8bf77d39e6f4aee /src/map/clif.c | |
parent | bcb344ea0b3a994f88eb58f7fc55970fd2f9ed83 (diff) | |
download | hercules-895341723c0c601c798e22c0a53f0aaaa73e08d1.tar.gz hercules-895341723c0c601c798e22c0a53f0aaaa73e08d1.tar.bz2 hercules-895341723c0c601c798e22c0a53f0aaaa73e08d1.tar.xz hercules-895341723c0c601c798e22c0a53f0aaaa73e08d1.zip |
Add skill atributes for allow moving while casting skill.
New SkillInfo attributes:
FreeCastReduced - allow move while casting with slowdown
FreeCastNormal - allow move while casting with normal speed
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 2317801bc..68d2bbc48 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10078,7 +10078,7 @@ void clif_parse_ActionRequest_sub(struct map_session_data *sd, int action_type, if( sd->sc.option&OPTION_COSTUME ) return; - if (!battle_config.sdelay_attack_enable && pc->checkskill(sd, SA_FREECAST) <= 0) { + if (!battle_config.sdelay_attack_enable && pc->checkskill(sd, SA_FREECAST) <= 0 && (skill->get_inf2(sd->ud.skill_id) & (INF2_FREE_CAST_REDUCED | INF2_FREE_CAST_NORMAL)) == 0) { if (DIFF_TICK(tick, sd->ud.canact_tick) < 0) { clif->skill_fail(sd, 1, USESKILL_FAIL_SKILLINTERVAL, 0); return; |