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