summaryrefslogtreecommitdiff
path: root/src/map/mob.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/mob.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/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 472d1ba22..686cb71d3 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3190,7 +3190,7 @@ static int mob_readdb(void)
}
status->mode=atoi(str[25]);
status->speed=atoi(str[26]);
- status->aspd_rate = 100;
+ status->aspd_rate = 1000;
status->adelay=atoi(str[27]);
status->amotion=atoi(str[28]);
status->dmotion=atoi(str[29]);
@@ -3869,7 +3869,7 @@ static int mob_read_sqldb(void)
}
status->mode = TO_INT(25);
status->speed = TO_INT(26);
- status->aspd_rate = 100;
+ status->aspd_rate = 1000;
status->adelay = TO_INT(27);
status->amotion = TO_INT(28);
status->dmotion = TO_INT(29);