From 9309986a86053c4906e80ae33578d5774e53f018 Mon Sep 17 00:00:00 2001 From: Aleos Date: Mon, 4 May 2020 10:20:25 -0400 Subject: [PATCH] Heat Barrel should be giving fixed ASPD (#4867) * Heat Barrel's ASPD bonus should be a fixed amount, not at a rate. Thanks to @LordWhiplash! --- src/map/status.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/status.cpp b/src/map/status.cpp index b054987ce5..dd04aaa0d9 100644 --- a/src/map/status.cpp +++ b/src/map/status.cpp @@ -7478,8 +7478,6 @@ static short status_calc_aspd(struct block_list *bl, struct status_change *sc, b bonus += sc->data[sc_val]->val1; if (sc->data[SC_ATTHASTE_CASH]) bonus += sc->data[SC_ATTHASTE_CASH]->val1; - if (sc->data[SC_HEAT_BARREL]) - bonus += sc->data[SC_HEAT_BARREL]->val1; } else { if (sc->data[SC_DONTFORGETME]) bonus -= sc->data[SC_DONTFORGETME]->val2 / 10; @@ -7587,6 +7585,8 @@ static short status_calc_fix_aspd(struct block_list *bl, struct status_change *s aspd -= sc->data[SC_MTF_ASPD2]->val1; if (sc->data[SC_SOULSHADOW]) aspd -= 10 * sc->data[SC_SOULSHADOW]->val2; + if (sc->data[SC_HEAT_BARREL]) + aspd -= sc->data[SC_HEAT_BARREL]->val1 * 10; return cap_value(aspd, 0, 2000); // Will be recap for proper bl anyway }