Exemplo n.º 1
0
        private void BardEffect(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            thoriumPlayer.symphonicDamage += 0.18f;
            thoriumPlayer.symphonicSpeed  += .05f;
            thoriumPlayer.symphonicCrit   += 5;
        }
Exemplo n.º 2
0
        private void BalladeerEffect(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            //dmg n regen
            thoriumPlayer.BalladeerSet = true;
            //speeds
            thoriumPlayer.headphones = true;
        }
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            FargoPlayer   modPlayer     = player.GetModPlayer <FargoPlayer>();
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();


            if (SoulConfig.Instance.GetValue("Eye of the Storm"))
            {
                //eye of the storm
                thorium.GetItem("EyeoftheStorm").UpdateAccessory(player, hideVisual);
            }

            //bronze
            modPlayer.BronzeEnchant = true;
            //rebuttal
            thoriumPlayer.championShield = true;

            //durasteel
            mod.GetItem("DurasteelEnchant").UpdateAccessory(player, hideVisual);

            //abyssal shell
            thoriumPlayer.AbyssalShell = true;

            //conduit
            mod.GetItem("ConduitEnchant").UpdateAccessory(player, hideVisual);

            if (modPlayer.ThoriumSoul)
            {
                return;
            }

            //granite
            player.fireWalk       = true;
            player.lavaImmune     = true;
            player.buffImmune[24] = true;

            /*//woofers
             * thoriumPlayer.bardRangeBoost += 450;
             * for (int i = 0; i < 255; i++)
             * {
             *  Player player2 = Main.player[i];
             *  if (player2.active && !player2.dead && Vector2.Distance(player2.Center, player.Center) < 450f)
             *  {
             *      thoriumPlayer.empowerGranite = true;
             *      thoriumPlayer.empowerMarble = true;
             *  }
             * }*/
            //titan
            modPlayer.AllDamageUp(.1f);
            //crystal eye mask
            thoriumPlayer.critDamage += 0.1f;
        }
Exemplo n.º 4
0
        private void HealEffect(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            thoriumPlayer.radiantBoost += 0.18f;
            thoriumPlayer.radiantSpeed -= 0.05f;
            thoriumPlayer.healingSpeed += 0.05f;
            thoriumPlayer.radiantCrit  += 5;
        }
Exemplo n.º 5
0
        private void Thorium(Player player)
        {
            ThoriumPlayer thoriumPlayer = (ThoriumPlayer)player.GetModPlayer(thorium, "ThoriumPlayer");

            thoriumPlayer.karmicHolder = true;
            if (thoriumPlayer.healStreak >= 0 && player.ownedProjectileCounts[thorium.ProjectileType("KarmicHolderPro")] < 1)
            {
                Projectile.NewProjectile(player.Center.X, player.Center.Y, 0f, 0f, thorium.ProjectileType("KarmicHolderPro"), 0, 0f, player.whoAmI, 0f, 0f);
            }
        }
Exemplo n.º 6
0
        private void BronzeEffect(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            thoriumPlayer.greekSet        = true;
            thoriumPlayer.championShield  = true;
            thoriumPlayer.spartanSandle   = true;
            thoriumPlayer.subwooferMarble = true;
            thoriumPlayer.bardRangeBoost += 450;
        }
Exemplo n.º 7
0
        private void BiotechEffect(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            thoriumPlayer.essenceSet = true;
            if (player.ownedProjectileCounts[thorium.ProjectileType("LifeEssence")] < 1)
            {
                Projectile.NewProjectile(player.Center.X, player.Center.Y, 0f, 0f, thorium.ProjectileType("LifeEssence"), 0, 0f, player.whoAmI, 0f, 0f);
            }
        }
Exemplo n.º 8
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            thoriumPlayer.flightSet = true;
        }
Exemplo n.º 9
0
        private void Thorium(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            thoriumPlayer.throwGuide2 = true;
            //dead mans patch
            thoriumPlayer.deadEyeBool = true;
            //mermaid canteen
            thoriumPlayer.throwerExhaustionMax += 1125;
            thoriumPlayer.canteenCadet          = true;
        }
Exemplo n.º 10
0
        private void Thorium(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            thoriumPlayer.throwGuide2 = true;
            //dead mans patch
            thoriumPlayer.deadEyeBool = true;
            //mermaid canteen
            thoriumPlayer.canteenEffect += 750;
            thoriumPlayer.canteenCadet   = true;
        }
Exemplo n.º 11
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            thoriumPlayer.bardBuffDuration += 180;
        }
Exemplo n.º 12
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!FargowiltasSoulsDLC.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            thoriumPlayer.setFungus = true;
        }
Exemplo n.º 13
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            //marching band set
            thoriumPlayer.empoweredNotes = true;
        }
Exemplo n.º 14
0
        private void CryoEffect(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            thoriumPlayer.cryoSet          = true; //dmg duplicate
            thoriumPlayer.frostBonusDamage = true; //strider hide
            //music player
            thoriumPlayer.musicPlayer  = true;
            thoriumPlayer.MP3ManaRegen = 2;

            //PET
        }
Exemplo n.º 15
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            //set bonus
            thoriumPlayer.darkAura = true;
        }
Exemplo n.º 16
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            FargoPlayer   modPlayer     = player.GetModPlayer <FargoPlayer>();
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            //includes bronze lightning
            modPlayer.SvartalfheimForce = true;
            //granite
            player.fireWalk       = true;
            player.lavaImmune     = true;
            player.buffImmune[24] = true;

            if (Soulcheck.GetValue("Eye of the Storm"))
            {
                //eye of the storm
                thorium.GetItem("EyeoftheStorm").UpdateAccessory(player, hideVisual);
            }

            //woofers
            thoriumPlayer.bardRangeBoost += 450;
            for (int i = 0; i < 255; i++)
            {
                Player player2 = Main.player[i];
                if (player2.active && !player2.dead && Vector2.Distance(player2.Center, player.Center) < 450f)
                {
                    thoriumPlayer.empowerGranite = true;
                    thoriumPlayer.empowerMarble  = true;
                }
            }

            //bronze
            //rebuttal
            thoriumPlayer.championShield = true;

            //durasteel
            mod.GetItem("DurasteelEnchant").UpdateAccessory(player, hideVisual);
            thoriumPlayer.thoriumEndurance -= 0.02f; //meme way to make it 10%

            //titan
            modPlayer.AllDamageUp(.1f);
            //crystal eye mask
            thoriumPlayer.critDamage += 0.1f;
            //abyssal shell
            thoriumPlayer.AbyssalShell = true;

            //conduit
            mod.GetItem("ConduitEnchant").UpdateAccessory(player, hideVisual);
        }
Exemplo n.º 17
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            FargoPlayer   modPlayer     = player.GetModPlayer <FargoPlayer>();
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            //life bloom effect
            modPlayer.LifeBloomEnchant = true;
            //chrysalis
            thoriumPlayer.cocoonAcc = true;
            //living wood set bonus
            thoriumPlayer.livingWood = true;
            //free boi
            modPlayer.LivingWoodEnchant = true;
            modPlayer.AddMinion(SoulConfig.Instance.thoriumToggles.SaplingMinion, thorium.ProjectileType("MinionSapling"), 25, 2f);

            //bulb set bonus
            modPlayer.BulbEnchant = true;
            //bee booties
            if (SoulConfig.Instance.GetValue(SoulConfig.Instance.thoriumToggles.BeeBooties))
            {
                thorium.GetItem("BeeBoots").UpdateAccessory(player, hideVisual);
                player.moveSpeed   -= 0.15f;
                player.maxRunSpeed -= 1f;
            }

            if (modPlayer.ThoriumSoul)
            {
                return;
            }

            //sandstone
            player.doubleJumpSandstorm = true;
            //danger
            player.buffImmune[BuffID.Frostburn] = true;
            player.buffImmune[BuffID.Poisoned]  = true;
            player.buffImmune[BuffID.OnFire]    = true;
            player.buffImmune[BuffID.Bleeding]  = true;
            player.buffImmune[BuffID.Venom]     = true;
            //night shade petal
            thoriumPlayer.nightshadeBoost = true;
            //flight
            modPlayer.wingTimeModifier += 1f;
            //fungus
            modPlayer.FungusEnchant = true;
            //feral fur
            modPlayer.FeralFurEnchant = true;
        }
Exemplo n.º 18
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            thoriumPlayer.malignantSet = true;
            //mana charge rockets
            thorium.GetItem("ManaChargedRocketeers").UpdateAccessory(player, hideVisual);
        }
Exemplo n.º 19
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            thoriumPlayer.jesterSet = true;
            //fan letter
            thoriumPlayer.bardResourceMax2 += 2;
        }
Exemplo n.º 20
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            thoriumPlayer.bardResourceRecharge += 10;
            //music notes
            thoriumPlayer.bardBuffDuration += 120;
        }
Exemplo n.º 21
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            FargoPlayer   modPlayer     = player.GetModPlayer <FargoPlayer>();
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            //feral set bonus
            modPlayer.FeralFurEnchant = true;
        }
Exemplo n.º 22
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            thoriumPlayer.celestialSet = true;
            //ascension statue
            thoriumPlayer.ascension = true;
        }
Exemplo n.º 23
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!FargowiltasSoulsDLC.Instance.ThoriumLoaded)
            {
                return;
            }

            FargoDLCPlayer modPlayer     = player.GetModPlayer <FargoDLCPlayer>();
            ThoriumPlayer  thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            //plague effect
            thoriumPlayer.setPlague = true;
        }
Exemplo n.º 24
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            FargoPlayer   modPlayer     = player.GetModPlayer <FargoPlayer>();
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            //shade band
            thoriumPlayer.shadeBand = true;
        }
Exemplo n.º 25
0
        private void Thorium(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            if (SoulConfig.Instance.GetValue("Ghastly Carapace"))
            {
                //ghastly carapace
                if (!thoriumPlayer.lifePrevent)
                {
                    player.AddBuff(thorium.BuffType("GhastlySoul"), 60, true);
                }
            }
        }
Exemplo n.º 26
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            //yew set bonus
            thoriumPlayer.yewCharging = true;
            //goblin war shield
            thorium.GetItem("GoblinWarshield").UpdateAccessory(player, hideVisual);
        }
Exemplo n.º 27
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!FargowiltasSoulsDLC.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>();

            //dmg, regen
            thoriumPlayer.setBalladeer = true;
            //move speed, play speed
            thoriumPlayer.accHeadset = true;
        }
Exemplo n.º 28
0
        private void Thorium(Player player)
        {
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            thoriumPlayer.bardRangeBoost += 450;
            for (int i = 0; i < 255; i++)
            {
                Player player2 = Main.player[i];
                if (player2.active && !player2.dead && Vector2.Distance(player2.Center, player.Center) < 450f)
                {
                    thoriumPlayer.empowerVenom = true;
                }
            }
        }
Exemplo n.º 29
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            if (!Fargowiltas.Instance.ThoriumLoaded)
            {
                return;
            }

            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            //set bonus
            thoriumPlayer.iridescentSet = true;
            //equalizer
            thoriumPlayer.equilibrium = true;
        }
Exemplo n.º 30
0
        public void Thorium(Player player, bool hideVisual)
        {
            FargoPlayer   modPlayer     = player.GetModPlayer <FargoPlayer>(mod);
            ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium);

            if (Soulcheck.GetValue("Proof of Avarice"))
            {
                //proof of avarice
                thoriumPlayer.avarice2 = true;
            }

            modPlayer.AddPet("Coin Bag Pet", hideVisual, thorium.BuffType("DrachmaBuff"), thorium.ProjectileType("DrachmaBag"));
            modPlayer.AddPet("Glitter Pet", hideVisual, thorium.BuffType("ShineDust"), thorium.ProjectileType("ShinyPet"));
        }