summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorcsnv <ctt@csnv.es>2014-09-06 22:59:42 +0200
committercsnv <ctt@csnv.es>2014-09-06 22:59:42 +0200
commitd9ffeb49b6f37e48d0770345d0d933bc37977ced (patch)
treee7439df7e94c3eaa4647aae216613ace13127300 /src/map/skill.c
parent818823f51d1c995883568200f0de791ee42b3e48 (diff)
downloadhercules-d9ffeb49b6f37e48d0770345d0d933bc37977ced.tar.gz
hercules-d9ffeb49b6f37e48d0770345d0d933bc37977ced.tar.bz2
hercules-d9ffeb49b6f37e48d0770345d0d933bc37977ced.tar.xz
hercules-d9ffeb49b6f37e48d0770345d0d933bc37977ced.zip
Update BA_ASSASSINCROSS for renewal
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 73a51bfaf..b263a8169 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -11020,8 +11020,13 @@ struct skill_unit_group* skill_unitsetting(struct block_list *src, uint16 skill_
case BA_ASSASSINCROSS:
val1 = 10 + skill_lv + (st->agi/10); // ASPD increase
if(sd)
+#ifdef RENEWAL
+ val1 += 4 * pc->checkskill(sd,BA_MUSICALLESSON);
+#else
val1 += (pc->checkskill(sd,BA_MUSICALLESSON) + 1) / 2;
+
val1 *= 10; // ASPD works with 1000 as 100%
+#endif
break;
case DC_FORTUNEKISS:
val1 = 10+skill_lv+(st->luk/10); // Critical increase