コード例 #1
0
 public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
 {
     Main.player[projectile.owner].statLife = Utils.Clamp(Main.player[projectile.owner].statLife + 1, 0, Main.player[projectile.owner].statLifeMax2);
     Main.player[projectile.owner].HealEffect(1);
     SomeUtils.DeepApplyParadise(target, 480);
     //Twilight.DeepAddBuff(target, ModContent.BuffType<TwilightParadisedBuff>(), 480);
 }