public override void SetStaticDefaults()
        {
            base.SetStaticDefaults();

            if (!Main.dedServ)
            {
                LegsLayer.RegisterData(Item.legSlot, new DrawLayerData()
                {
                    Texture = ModContent.Request <Texture2D>(Texture + "_Legs_Glow"),
                    Color   = (PlayerDrawSet drawInfo) => Color.White * 0.8f * 0.5f
                });
            }
        }
示例#2
0
        public override void SetStaticDefaults()
        {
            base.SetStaticDefaults();

            if (!Main.dedServ)
            {
                glowmask = ModContent.Request <Texture2D>(Texture + "_Glow");

                LegsLayer.RegisterData(Item.legSlot, new DrawLayerData()
                {
                    Texture = ModContent.Request <Texture2D>(Texture + "_Legs_Glow")
                });
            }
        }