Fixed Water Evasion and Freezing Spear combo (#3618)

* Fixes #3615.
* Freezing Spear damage should increase when the caster is standing in Water Evasion.
Thanks to @Balferian!
This commit is contained in:
Aleos 2018-10-30 09:59:48 -04:00 committed by GitHub
parent c0793a8072
commit af205a8841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5922,6 +5922,8 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
case NJ_HYOUSENSOU:
#ifdef RENEWAL
skillratio -= 30;
if (sc && sc->data[SC_SUITON])
skillratio += 2 * skill_lv;
#endif
if(sd && sd->spiritcharm_type == CHARM_TYPE_WATER && sd->spiritcharm > 0)
skillratio += 5 * sd->spiritcharm;