diff options
author | csnv <ctt@csnv.es> | 2014-09-03 01:44:12 +0200 |
---|---|---|
committer | csnv <ctt@csnv.es> | 2014-09-03 01:44:12 +0200 |
commit | 964d174a44c668dfe9feb1c542a0c59bfcd75108 (patch) | |
tree | e563030a87afcd3915a5ce20bfed97e73fa6c68c /src/map/skill.c | |
parent | fa6d3eb080a69ba5b0ee5d73ddfdf67ccf9018a6 (diff) | |
download | hercules-964d174a44c668dfe9feb1c542a0c59bfcd75108.tar.gz hercules-964d174a44c668dfe9feb1c542a0c59bfcd75108.tar.bz2 hercules-964d174a44c668dfe9feb1c542a0c59bfcd75108.tar.xz hercules-964d174a44c668dfe9feb1c542a0c59bfcd75108.zip |
Fixes bard song assassin cross of sunset. Thanks to Juvia
Corrected skill level/status formula and Musical Lesson bonus
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 9f008d65b..59ce06111 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -11018,15 +11018,9 @@ struct skill_unit_group* skill_unitsetting(struct block_list *src, uint16 skill_ } break; case BA_ASSASSINCROSS: -#ifdef RENEWAL val1 = 10 + skill_lv + (st->agi/10); // ASPD increase if(sd) - val1 += 4*pc->checkskill(sd,BA_MUSICALLESSON); -#else - val1 = 100+(10*skill_lv)+(st->agi/10); // ASPD increase - if(sd) - val1 += 5*pc->checkskill(sd,BA_MUSICALLESSON); -#endif + val1 += (pc->checkskill(sd,BA_MUSICALLESSON) + 1) / 2; break; case DC_FORTUNEKISS: val1 = 10+skill_lv+(st->luk/10); // Critical increase |