예제 #1
0
 public override void PostUpdateEquips() // Applies orbital buffs
 {
     for (int type = 0; type < OrbitalID.Orbital.Length; type++)
     {
         if (active[type])
         {
             OrbitalProjectile.FindFirst(mod, player, type)?.PlayerEffects();
         }
     }
 }
예제 #2
0
 public override void PostUpdateEquips()
 {
     for (int type = 0; type < OrbitalID.Orbital.Length; type++)
     {
         if (active[type])
         {
             OrbitalProjectile orbital = OrbitalProjectile.FindFirstOrbital(mod, player, type);
             if (orbital != null)
             {
                 orbital.PlayerEffects();
             }
         }
     }
 }