summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 19:49:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 19:49:28 +0000
commite4206211f72bdd727fccbe2b67d7f5a6b42c7e65 (patch)
tree86422d67903dbd9c0da66cb81524538539305413 /src/map/pc.c
parent0065f7bc871bb17c6d90994759cbf6c7dcee451b (diff)
downloadhercules-e4206211f72bdd727fccbe2b67d7f5a6b42c7e65.tar.gz
hercules-e4206211f72bdd727fccbe2b67d7f5a6b42c7e65.tar.bz2
hercules-e4206211f72bdd727fccbe2b67d7f5a6b42c7e65.tar.xz
hercules-e4206211f72bdd727fccbe2b67d7f5a6b42c7e65.zip
- Removed unused variable aspd_rate in map_session_data.
- Modified aspd_rate in status_data to hold aspd change on a base of 1000 = 100% rather than 100 = 100%. All status changes that affect aspd have been updated. Study and Single Action should now correctly give +0.5% aspd per level. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7213 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index eeecf6a70..d88c0cc32 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1390,8 +1390,8 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
status->adelay -= val*10;
break;
case SP_ASPD_RATE: //Non stackable increase
- if(sd->state.lr_flag != 2 && status->aspd_rate > 100-val)
- status->aspd_rate = 100-val;
+ if(sd->state.lr_flag != 2 && status->aspd_rate > 1000-val*10)
+ status->aspd_rate = 1000-val*10;
break;
case SP_ASPD_ADDRATE: //Stackable increase - Made it linear as per rodatazone
if(sd->state.lr_flag != 2)