示例#1
0
        ////////////////

        public override void PreUpdate()
        {
            if (this.player.whoAmI == Main.myPlayer)
            {
                if (Main.netMode != NetmodeID.Server)
                {
                    if (Main.netMode == NetmodeID.MultiplayerClient)
                    {
                        DillutedEctoplasmItem.CanPickupAny(this);
                    }
                    CustomParticle.UpdateParticles();
                }
            }

            if (!this.player.dead)
            {
                this.UpdateAnimaState();
                this.UpdateAnimaBehaviors();
//DebugLibraries.Print( "necrotis", "necrotis%: "+this.AnimaPercent.ToString("N2") );
            }
        }
 public DillutedEctoplasmItemRecipe(DillutedEctoplasmItem myitem, (int type, int stack)?altItem = null)