From f623df55a8db9dd83dd4b5e7f8461d9f0836f4aa Mon Sep 17 00:00:00 2001 From: Aleos Date: Wed, 31 Mar 2021 15:33:09 -0400 Subject: [PATCH] Adjusts Assassin Cross of Sunset ASPD bonus (#5813) * Fixes #5738. * The ASPD increase of Assassin Cross of Sunset should apply to all weapon types in renewal. Thanks to @Balferian! --- src/map/status.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/map/status.cpp b/src/map/status.cpp index 7f34b84207..0a565b3094 100644 --- a/src/map/status.cpp +++ b/src/map/status.cpp @@ -7508,6 +7508,9 @@ static short status_calc_aspd(struct block_list *bl, struct status_change *sc, b } if (sc->data[SC_ASSNCROS] && bonus < sc->data[SC_ASSNCROS]->val2) { +#ifdef RENEWAL + bonus += sc->data[SC_ASSNCROS]->val2; +#else if (bl->type != BL_PC) bonus += sc->data[SC_ASSNCROS]->val2; else { @@ -7524,6 +7527,7 @@ static short status_calc_aspd(struct block_list *bl, struct status_change *sc, b break; } } +#endif } if (bonus < 20 && sc->data[SC_MADNESSCANCEL])