From 63db37708b68990b8413b5dfd9660810795562ec Mon Sep 17 00:00:00 2001 From: Vincent Stumpf Date: Thu, 17 Jun 2021 21:12:23 -0700 Subject: [PATCH] Fixed Assumptio increased healing (#6027) Assumptio should increase receiving heals, instead of increasing outgoing heals Fixes #6024 Thanks to @ecdarreola Co-authored-by: Lemongrass3110 --- doc/status_change.txt | 2 +- src/map/skill.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/status_change.txt b/doc/status_change.txt index 727a54af28..ed16d6186f 100644 --- a/doc/status_change.txt +++ b/doc/status_change.txt @@ -476,7 +476,7 @@ SC_GOSPEL (EFST_GOSPEL) SC_ASSUMPTIO (RE: EFST_ASSUMPTIO2. Pre-RE: EFST_ASSUMPTIO) desc: HP_ASSUMPTIO's effect - val1: Level (unused) + val1: Level // * 2 Bonus heal % (in RENEWAL) SC_BASILICA () desc: Can't move; Can't use skill except the Basilica caster to cancel the basilica itself; Clear the skill area; Knockback enemy except Boss diff --git a/src/map/skill.cpp b/src/map/skill.cpp index dadd2cf70f..f6dcaad9e2 100755 --- a/src/map/skill.cpp +++ b/src/map/skill.cpp @@ -648,10 +648,6 @@ int skill_calc_heal(struct block_list *src, struct block_list *target, uint16 sk hp_bonus += sc->data[SC_GLASTHEIM_HEAL]->val1; #else hp += hp * sc->data[SC_GLASTHEIM_HEAL]->val1 / 100; -#endif -#ifdef RENEWAL - if (sc->data[SC_ASSUMPTIO]) - hp_bonus += sc->data[SC_ASSUMPTIO]->val1 * 2; #endif } @@ -676,6 +672,10 @@ int skill_calc_heal(struct block_list *src, struct block_list *target, uint16 sk hp += hp * tsc->data[SC_ANCILLA]->val1 / 100; if (tsc->data[SC_WATER_INSIGNIA] && tsc->data[SC_WATER_INSIGNIA]->val1 == 2) hp += hp / 10; +#endif +#ifdef RENEWAL + if (tsc->data[SC_ASSUMPTIO]) + hp_bonus += tsc->data[SC_ASSUMPTIO]->val1 * 2; #endif } }