Damage should not interrupt spellcasting when target has DC_MOD abnormal type.
Contributed by Enryu and nasseka.
This commit is contained in:
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -431,6 +431,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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -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))
|
||||
|
@@ -426,6 +426,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))
|
||||
|
@@ -426,6 +426,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))
|
||||
|
@@ -426,6 +426,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))
|
||||
|
@@ -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))
|
||||
|
@@ -426,6 +426,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))
|
||||
|
@@ -426,6 +426,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))
|
||||
|
@@ -426,6 +426,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))
|
||||
|
@@ -432,6 +432,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))
|
||||
|
Reference in New Issue
Block a user