diff options
author | Michieru <Michieru@users.noreply.github.com> | 2014-09-04 09:55:01 +0200 |
---|---|---|
committer | Michieru <Michieru@users.noreply.github.com> | 2014-09-04 09:55:01 +0200 |
commit | bb93fb127f79f8c4ed443c0a50d5de24a6ca5f1c (patch) | |
tree | 67b42bf30997010a02705ba28fc980f8b3e1b35d /src/map/skill.c | |
parent | a7c6d88cda9490639df068530a0191b9d0117e01 (diff) | |
parent | f28a65e490ccb634905493aa2c2f5c0c028ee0a9 (diff) | |
download | hercules-bb93fb127f79f8c4ed443c0a50d5de24a6ca5f1c.tar.gz hercules-bb93fb127f79f8c4ed443c0a50d5de24a6ca5f1c.tar.bz2 hercules-bb93fb127f79f8c4ed443c0a50d5de24a6ca5f1c.tar.xz hercules-bb93fb127f79f8c4ed443c0a50d5de24a6ca5f1c.zip |
Merge pull request #336 from csnv/somefixes
Fixes Dancer' song Service for you
Bug report 7914 http://hercules.ws/board/tracker/issue-7914-gypsy-kiss-service-for-you/
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 59ce06111..94aa32599 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -11013,8 +11013,8 @@ struct skill_unit_group* skill_unitsetting(struct block_list *src, uint16 skill_ val1 = 15+skill_lv+(st->int_/10); // MaxSP percent increase TO-DO: this INT bonus value is guessed val2 = 20+3*skill_lv+(st->int_/10); // SP cost reduction if(sd){ - val1 += pc->checkskill(sd,DC_DANCINGLESSON); //TO-DO This bonus value is guessed - val2 += pc->checkskill(sd,DC_DANCINGLESSON); //TO-DO Should be half this value + val1 += (pc->checkskill(sd,DC_DANCINGLESSON) + 1) / 2; + val2 += (pc->checkskill(sd,DC_DANCINGLESSON) + 1) / 2; } break; case BA_ASSASSINCROSS: |