summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-12 17:54:03 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-12 17:54:03 +0000
commit6ee18742b9d9ab0f50865eeb0fadf0bffa9eb1fe (patch)
tree776d8aa9fdc9536871796253cebf38f8892e64da /src/map/skill.c
parent801d77413950958dc17b209437242d9b7c96ee72 (diff)
downloadhercules-6ee18742b9d9ab0f50865eeb0fadf0bffa9eb1fe.tar.gz
hercules-6ee18742b9d9ab0f50865eeb0fadf0bffa9eb1fe.tar.bz2
hercules-6ee18742b9d9ab0f50865eeb0fadf0bffa9eb1fe.tar.xz
hercules-6ee18742b9d9ab0f50865eeb0fadf0bffa9eb1fe.zip
- Poem of bragi/magic String's base delay reduction at level 10 (or above) is now 50% instead of 3*lv%.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7636 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 9b99dd8c2..08dce3b6d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6352,7 +6352,8 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid,
break;
case BA_POEMBRAGI:
val1 = 3*skilllv+status->dex/10; // Casting time reduction
- val2 = 3*skilllv+status->int_/10; // After-cast delay reduction
+ //For some reason at level 10 the base delay reduction is 50%.
+ val2 = (skilllv<10?3*skilllv:50)+status->int_/10; // After-cast delay reduction
if(sd){
val1 += pc_checkskill(sd,BA_MUSICALLESSON);
val2 += pc_checkskill(sd,BA_MUSICALLESSON);