Fixed Assumptio increased healing (#6027)

Assumptio should increase receiving heals, instead of increasing outgoing heals
Fixes #6024 

Thanks to @ecdarreola

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
Vincent Stumpf
2021-06-17 21:12:23 -07:00
committed by GitHub
parent ba690450ff
commit 63db37708b
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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
}
}