summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-09-03 14:35:13 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-09-03 14:35:13 +0200
commitca9b662d436d16c4ea5244cef51a2fb41eccf23d (patch)
treee563030a87afcd3915a5ce20bfed97e73fa6c68c /src/map/skill.c
parentfa6d3eb080a69ba5b0ee5d73ddfdf67ccf9018a6 (diff)
parent964d174a44c668dfe9feb1c542a0c59bfcd75108 (diff)
downloadhercules-ca9b662d436d16c4ea5244cef51a2fb41eccf23d.tar.gz
hercules-ca9b662d436d16c4ea5244cef51a2fb41eccf23d.tar.bz2
hercules-ca9b662d436d16c4ea5244cef51a2fb41eccf23d.tar.xz
hercules-ca9b662d436d16c4ea5244cef51a2fb41eccf23d.zip
Merge pull request #334 from csnv/somefixes
Fixes bard song assassin cross of sunset. Thanks to Juvia
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c8
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