summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcsnv <ctt@csnv.es>2014-09-03 17:50:30 +0200
committercsnv <ctt@csnv.es>2014-09-03 17:50:30 +0200
commitf28a65e490ccb634905493aa2c2f5c0c028ee0a9 (patch)
treea46044ba53cb10af069c353995c822fbce5f319b
parentca9b662d436d16c4ea5244cef51a2fb41eccf23d (diff)
downloadhercules-f28a65e490ccb634905493aa2c2f5c0c028ee0a9.tar.gz
hercules-f28a65e490ccb634905493aa2c2f5c0c028ee0a9.tar.bz2
hercules-f28a65e490ccb634905493aa2c2f5c0c028ee0a9.tar.xz
hercules-f28a65e490ccb634905493aa2c2f5c0c028ee0a9.zip
Fixes Dancer' song Service for you
Corrected Max SP and Regeneration bonus from Dancing lesson. Thanks to Kyeme. Bug report 7914 http://hercules.ws/board/tracker/issue-7914-gypsy-kiss-service-for-you/
-rw-r--r--src/map/skill.c4
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: