Damage should not interrupt spellcasting when target has DC_MOD abnormal type.

Contributed by Enryu and nasseka.
This commit is contained in:
MobiusDevelopment
2022-07-05 10:56:31 +00:00
parent 19bf71f184
commit 5a11632d28
23 changed files with 138 additions and 0 deletions

View File

@@ -425,6 +425,12 @@ public class Formulas
return false;
}
// Cannot interrupt targets affected by Burst or Superior Burst Casting.
if (target.hasAbnormalType(AbnormalType.DC_MOD))
{
return false;
}
double init = 0;
if (Config.ALT_GAME_CANCEL_CAST && target.isCastingNow(SkillCaster::canAbortCast))