Updated Kaite renewal behavior (#2457)

* Fixes #2409.
* Kaite no longer reflects AoE magic.
Thanks to @esu1214!
This commit is contained in:
Aleos 2017-09-28 09:45:51 -04:00 committed by GitHub
parent d9a2bdbe05
commit ee552d67d4

View File

@ -2712,7 +2712,11 @@ static int skill_magic_reflect(struct block_list* src, struct block_list* bl, in
return 0; return 0;
// Kaite reflection - Does not bypass Boss check // Kaite reflection - Does not bypass Boss check
if( sc->data[SC_KAITE] && (src->type == BL_PC || status_get_lv(src) <= 80) ) { if( sc->data[SC_KAITE] && (src->type == BL_PC || status_get_lv(src) <= 80)
#ifdef RENEWAL
&& type // Does not reflect AoE
#endif
) {
// Kaite only works against non-players if they are low-level. // Kaite only works against non-players if they are low-level.
// Kyomu doesn't disable Kaite, but the "skill fail chance" part of Kyomu applies to it. // Kyomu doesn't disable Kaite, but the "skill fail chance" part of Kyomu applies to it.
clif_specialeffect(bl, 438, AREA); clif_specialeffect(bl, 438, AREA);