示例#1
0
 public override void ApplyDebuff(ObjectController applyer, ObjectController target)
 {
     base.ApplyDebuff(applyer, target);
     ModAmount = (float)System.Math.Round(target.GetMaxStats(STATSTYPE.DAMAGE) * (DMG_DEC_Percentage / 100), 1);
     target.DecCurrStats(STATSTYPE.DAMAGE, ModAmount);
     target.ActiveVFXParticle(VFX);
     AudioSource.PlayClipAtPoint(SFX, target.transform.position, GameManager.SFX_Volume);
 }