Пример #1
0
 private static void DownedSkeletronPrimeEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     laugicalityPlayer.DamageBoost((laugicalityPlayer.GetGlobalDamage() - 1) / 2);
 }
Пример #2
0
 private static void DownedSlybertronEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     if (laugicalityPlayer.player.potionDelay > 0)
     {
         if (laugicalityPlayer.SlybertronCounter <= 0)
         {
             laugicalityPlayer.SlybertronCounter = 15;
             if (Main.netMode != 1)
             {
                 Projectile.NewProjectile(laugicalityPlayer.player.Center, new Vector2(0, 0),
                                          ModContent.ProjectileType <ElectroAura>(), (int)(48 * laugicalityPlayer.GetGlobalDamage()), 0, laugicalityPlayer.player.whoAmI);
             }
         }
         else
         {
             laugicalityPlayer.SlybertronCounter--;
         }
     }
 }