diff options
author | Haru <haru@dotalux.com> | 2017-10-21 17:48:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-21 17:48:13 +0200 |
commit | d1691ef81112667c2cfb3ae74a074a6debd4af53 (patch) | |
tree | c8c1126b5407fcfe8fe43b1db14e3970c656eda8 /src/map/skill.c | |
parent | e5d9b3768241a7e91bf8dd9bf8b776d4cee310d7 (diff) | |
parent | ec9f4b20aca50905d635db6d1e5398918a6dba5d (diff) | |
download | hercules-d1691ef81112667c2cfb3ae74a074a6debd4af53.tar.gz hercules-d1691ef81112667c2cfb3ae74a074a6debd4af53.tar.bz2 hercules-d1691ef81112667c2cfb3ae74a074a6debd4af53.tar.xz hercules-d1691ef81112667c2cfb3ae74a074a6debd4af53.zip |
Merge pull request #1859 from 4144/newpackets
Add shuffle packets for latest clients, fix rodex in 2017 clients, fix exp packets.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index a84955377..a8ced2ccf 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -13832,8 +13832,8 @@ int skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_id break; case PR_REDEMPTIO: { - int exp; - if( ((exp = pc->nextbaseexp(sd)) > 0 && get_percentage64(sd->status.base_exp, exp) < 1) || + int64 exp; + if (((exp = pc->nextbaseexp(sd)) > 0 && get_percentage64(sd->status.base_exp, exp) < 1) || ((exp = pc->nextjobexp(sd)) > 0 && get_percentage64(sd->status.job_exp, exp) < 1)) { clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); //Not enough exp. return 0; |