Skip to content

Commit

Permalink
Updated Volcanic Ash effect
Browse files Browse the repository at this point in the history
* Follow up to 71ffda3.
* Skill cast failure chance should only occur at the end of cast.
  • Loading branch information
aleos89 committed Jan 19, 2016
1 parent 9cfca1c commit 20e4029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/status.c
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@ bool status_check_skilluse(struct block_list *src, struct block_list *target, ui
if (sc->data[SC_ALL_RIDING])
return false; //You can't use skills while in the new mounts (The client doesn't let you, this is to make cheat-safe)

if (sc->data[SC_ASH] && rnd()%2 && !(status->mode&MD_BOSS)) {
if (flag == 1 && sc->data[SC_ASH] && rnd()%2 && !(status->mode&MD_BOSS)) {
if (src->type == BL_PC)
clif_skill_fail((TBL_PC*)src,skill_id,USESKILL_FAIL_LEVEL,0);
return false;
Expand Down

0 comments on commit 20e4029

Please sign in to comment.