summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-08 14:21:50 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-08 14:21:50 +0000
commita7f08a5ac5602e897ee4ac09ec4267106c5fd07b (patch)
tree67c5b29c2ae9e13a984254ca03c56deb9fb3ac9e /src/map/skill.c
parent38633b84e729539bcbdf037a97421e2e18fea2df (diff)
downloadhercules-a7f08a5ac5602e897ee4ac09ec4267106c5fd07b.tar.gz
hercules-a7f08a5ac5602e897ee4ac09ec4267106c5fd07b.tar.bz2
hercules-a7f08a5ac5602e897ee4ac09ec4267106c5fd07b.tar.xz
hercules-a7f08a5ac5602e897ee4ac09ec4267106c5fd07b.zip
- Adjusted Don't Forget Me, Defender, Longing to use all val entries, and to hold the speed adjustment value rather than speed penalty (eg: 125 instead of 25).
- Cleaned up status_calc_speed so that speed penalties are correctly handled (eg: 25% penalty is speed*100/125, not +speed*25/100). Thanks to Euph for pointing it out and Belle for the speed mechanics. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7046 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index dfa8a8992..4720074c2 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6285,7 +6285,7 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid,
break;
case DC_DONTFORGETME:
val1 = 3*skilllv+status->dex/10; // ASPD decrease
- val2 = 2*skilllv+status->agi/10; // Movement speed decrease
+ val2 = 100+2*skilllv+status->agi/10; // Movement speed adjustment.
if(sd){
val1 += pc_checkskill(sd,DC_DANCINGLESSON);
val2 += pc_checkskill(sd,DC_DANCINGLESSON);