protected override void Modify(DamageInstance instance) { if (instance.AttackType != null && (attackType == null || instance.AttackType == attackType) && HelperMethods.CheckChance(chance)) { instance.IsMiss = true; OriginStatusEffect.RemoveStack(); } }
protected override void Modify(DamageInstance instance) { if (HelperMethods.CheckChance(chanceToApply) && DetermineApplicable(instance)) { instance.Amount *= damageScaler; instance.Amount += damageConstantScaler; OriginStatusEffect.RemoveStack(); } }