public override void SetupShop(int type, Chest shop, ref int nextSlot)
        {
            Player           player    = Main.player[Main.myPlayer];
            FargoSoulsPlayer modPlayer = player.GetModPlayer <FargoSoulsPlayer>();

            if (modPlayer.WoodEnchantActive)
            {
                WoodEnchant.WoodDiscount(shop);
            }
        }
Beispiel #2
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            FargoSoulsPlayer modPlayer = player.GetModPlayer <FargoSoulsPlayer>();

            modPlayer.WoodForce = true;
            WoodEnchant.WoodEffect(player);
            BorealWoodEnchant.BorealEffect(player);
            modPlayer.MahoganyEnchantActive = true;
            EbonwoodEnchant.EbonwoodEffect(player);
            ShadewoodEnchant.ShadewoodEffect(player);
            PalmWoodEnchant.PalmEffect(player);
            PearlwoodEnchant.PearlwoodEffect(player);
        }