summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2015-02-13 21:20:58 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2015-02-13 21:20:58 +0800
commit3487f7d9e52d072c56a3cfdad07c54476fd53ecb (patch)
treee3ddaa59b3796f5e3d82dd084da800fb54114ea0 /src/map
parentd78c286b59fa2efbfb26d557e636808e6f2c4aa9 (diff)
downloadhercules-3487f7d9e52d072c56a3cfdad07c54476fd53ecb.tar.gz
hercules-3487f7d9e52d072c56a3cfdad07c54476fd53ecb.tar.bz2
hercules-3487f7d9e52d072c56a3cfdad07c54476fd53ecb.tar.xz
hercules-3487f7d9e52d072c56a3cfdad07c54476fd53ecb.zip
Fixed Bug#8514
-http://hercules.ws/board/tracker/issue-8514-homunculus-not-gaining-aspd/?gopid=24511#entry24511 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 296bbe1f3..d5c49c07c 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3722,7 +3722,7 @@ void status_calc_bl_main(struct block_list *bl, /*enum scb_flag*/int flag) {
#else
amotion = (1000 - 4 * st->agi - st->dex) * ((TBL_HOM*)bl)->homunculusDB->baseASPD / 1000;
- amotion = status->calc_aspd_rate(bl, sc, bst->aspd_rate);
+ amotion = status->calc_aspd_rate(bl, sc, amotion);
if ( st->aspd_rate != 1000 )
amotion = amotion*st->aspd_rate / 1000;