public override void UpdateAccessory(Player player, bool hideVisual) { FargoSoulsPlayer modPlayer = player.GetModPlayer <FargoSoulsPlayer>(); modPlayer.ColossusSoul(Item, 300, 0.2f, 8, hideVisual); modPlayer.SupersonicSoul(Item, hideVisual); modPlayer.FlightMasterySoul(); modPlayer.TrawlerSoul(Item, hideVisual); modPlayer.WorldShaperSoul(hideVisual); }
public override void UpdateAccessory(Player player, bool hideVisual) { FargoSoulsPlayer modPlayer = player.GetModPlayer <FargoSoulsPlayer>(); //auto use, debuffs, mana up modPlayer.Eternity = true; //UNIVERSE modPlayer.UniverseSoul = true; modPlayer.UniverseCore = true; player.GetDamage(DamageClass.Generic) += 2.5f; if (player.GetToggleValue("Universe")) { modPlayer.AttackSpeed += 2.5f; } player.maxMinions += 20; player.maxTurrets += 10; //accessorys if (player.GetToggleValue("YoyoBag", false)) { player.counterWeight = 556 + Main.rand.Next(6); player.yoyoGlove = true; player.yoyoString = true; } if (player.GetToggleValue("Sniper")) { player.scope = true; } player.manaFlower = true; player.manaMagnet = true; player.magicCuffs = true; player.manaCost -= 0.5f; //DIMENSIONS player.statLifeMax2 *= 5; player.buffImmune[BuffID.ChaosState] = true; modPlayer.ColossusSoul(Item, 0, 0.4f, 15, hideVisual); modPlayer.SupersonicSoul(Item, hideVisual); modPlayer.FlightMasterySoul(); modPlayer.TrawlerSoul(Item, hideVisual); modPlayer.WorldShaperSoul(hideVisual); //TERRARIA ModContent.Find <ModItem>(Mod.Name, "TerrariaSoul").UpdateAccessory(player, hideVisual); //M*******T ModContent.Find <ModItem>(Mod.Name, "MasochistSoul").UpdateAccessory(player, hideVisual); //if (ModLoader.GetMod("FargowiltasSoulsDLC") != null) //{ // Mod fargoDLC = ModLoader.GetMod("FargowiltasSoulsDLC"); // if (ModLoader.GetMod("ThoriumMod") != null) // { // fargoDLC.GetItem("ThoriumSoul").UpdateAccessory(player, hideVisual); // } // if (ModLoader.GetMod("CalamityMod") != null) // { // fargoDLC.GetItem("CalamitySoul").UpdateAccessory(player, hideVisual); // } // if (ModLoader.GetMod("SacredTools") != null) // { // fargoDLC.GetItem("SoASoul").UpdateAccessory(player, hideVisual); // } //} }
public override void UpdateAccessory(Player player, bool hideVisual) { FargoSoulsPlayer modPlayer = player.GetModPlayer <FargoSoulsPlayer>(); modPlayer.SupersonicSoul(Item, hideVisual); }