Esempio n. 1
0
 public override void UpdateArmorSet(Player player)
 {
     player.setBonus = "Increases click damage and critical strike chance by 10%";
     ClickerCompat.SetDamageAdd(player, 0.1f);
     ClickerCompat.SetClickerCritAdd(player, 10);
     player.GetModPlayer <GraphicPlayer>().lunarGelArmor = true;
 }
Esempio n. 2
0
 public override void UpdateArmorSet(Player player)
 {
     player.setBonus = "Increases click critical strike chance by 6%";
     /*player.GetModPlayer<ClickerPlayer>().clickerCrit += 6;*/
     ClickerCompat.SetClickerCritAdd(player, 6);
     //ClickerCompat.EnableClickEffect(player, "ClickerClass:HolyNova");
 }
Esempio n. 3
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.14f);
     ClickerCompat.SetClickerCritAdd(player, 14);
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.45f));
     ClickerCompat.SetClickerBonusAdd(player, 1);
 }
Esempio n. 4
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.07f);
     ClickerCompat.SetClickerCritAdd(player, 3);
     ClickerCompat.SetClickerRadiusAdd(player, 0.4f);
     //ClickerCompat.EnableClickEffect(player, "ClickerClass:TrueStrike");
 }
Esempio n. 5
0
 public override void UpdateArmorSet(Player player)
 {
     player.setBonus = "Increases your base click radius by 30% and crit by 2%";
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.3f));
     ClickerCompat.SetClickerCritAdd(player, 2);
     player.GetModPlayer <GraphicPlayer>().rainbowGelArmor = true;
 }
Esempio n. 6
0
        public override void UpdateArmorSet(Player player)
        {
            player.setBonus = "Clicker Tarragon, Bloodflare, God Slayer, and Silva armor effects\n30% increased clicker damage and crit";
            Mod calamity = ModLoader.GetMod("CalamityMod");

            ClickerCompat.SetDamageAdd(player, 0.30f);
            ClickerCompat.SetClickerCritAdd(player, 30);

            CalamityCompat.CalamityArmorSetBonus(player, "tarragon");

            CalamityCompat.CalamityArmorSetBonus(player, "bloodflare");
            player.crimsonRegen = true;
            player.GetModPlayer <ClickerAddonPlayer>().bloodflareCapsuit = true;
            player.lavaMax    += 240;
            player.ignoreWater = true;

            CalamityCompat.CalamityArmorSetBonus(player, "godslayer");
            player.GetModPlayer <ClickerAddonPlayer>().godSlayerCapsuit = true;

            CalamityCompat.CalamityArmorSetBonus(player, "silva");
            player.GetModPlayer <ClickerAddonPlayer>().silvaCapsuit = true;

            CalamityCompat.CalamityArmorSetBonus(player, "auric");
            player.thorns += 3f;
            if (player.lavaWet)
            {
                player.statDefense += 30;
                player.lifeRegen   += 10;
            }
        }
Esempio n. 7
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.1f);
     ClickerCompat.SetClickerCritAdd(player, 10);
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.35f));
     player.lavaMax    += 240;
     player.ignoreWater = true;
 }
Esempio n. 8
0
 public override void UpdateAccessory(Player player, bool hideVisual)
 {
     /*player.GetModPlayer<ClickerPlayer>().clickerGloveAcc2 = true;*/
     ClickerCompat.SetAccessory(player, "RegalClickingGlove");
     ClickerCompat.SetDamageAdd(player, 0.1f);
     ClickerCompat.SetClickerCritAdd(player, 2);
     player.GetModPlayer <ClickerAddonPlayer>().magmaChair = true;
 }
Esempio n. 9
0
 public override void UpdateEquip(Player player)
 {
     /*player.GetModPlayer<ClickerPlayer>().clickerDamage += 0.06f;
      * player.GetModPlayer<ClickerPlayer>().clickerRadius += 0.4f;*/
     ClickerCompat.SetDamageAdd(player, 0.25f);
     ClickerCompat.SetClickerCritAdd(player, 25);
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(1f));
 }
Esempio n. 10
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.12f);
     ClickerCompat.SetClickerCritAdd(player, 10);
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.55f));
     player.GetModPlayer <ClickerAddonPlayer>().magmaChair = true;
     player.lavaMax       += 240;
     player.buffImmune[24] = true;
 }
Esempio n. 11
0
        public override void UpdateArmorSet(Player player)
        {
            player.setBonus = "5% increased movement speed and click critical strike chance\nTaking over 25 damage in one hit will cause a spread of homing feathers to fall\nAllows you to fall more quickly and disables fall damage";
            Mod calamity = ModLoader.GetMod("CalamityMod");

            CalamityCompat.CalamityArmorSetBonus(player, "aerospec");
            ClickerCompat.SetClickerCritAdd(player, 5);
            player.moveSpeed += 0.05f;
            player.noFallDmg  = true;
        }
Esempio n. 12
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            //Stats
            ClickerCompat.SetDamageAdd(player, 0.3f);
            ClickerCompat.SetClickerCritAdd(player, 15);
            ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.75f));
            ClickerCompat.SetClickerBonusPercentAdd(player, -0.25f);

            player.GetModPlayer <ClickerSoulPlayer>().AllClickerAcc(hideVisual);
            player.GetModPlayer <ClickerSoulPlayer>().ForceOfProgram();
        }
Esempio n. 13
0
 public override void UpdateAccessory(Player player, bool hideVisual)
 {
     ClickerCompat.SetDamageAdd(player, 0.18f);
     ClickerCompat.SetClickerCritAdd(player, 5);
     ClickerCompat.SetClickerRadiusAdd(player, 0.2f);
 }
Esempio n. 14
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.07f);
     ClickerCompat.SetClickerCritAdd(player, 3);
     player.moveSpeed += 0.25f;
 }
Esempio n. 15
0
        /*public override void Load(Item item, TagCompound tag)
         * {
         *      astralArmor = new bool[3] { false, false, false };
         * }*/
        public override void UpdateEquip(Item item, Player player)
        {
            Mod fargo    = ModLoader.GetMod("FargowiltasSouls");
            Mod fargoDLC = ModLoader.GetMod("FargowiltasSoulsDLC");
            Mod calamity = ModLoader.GetMod("CalamityMod");
            Mod SoA      = ModLoader.GetMod("SacredTools");


            if (fargo != null)
            {
                //Fargo`s Mod: Acc
                if (item.type == fargo.ItemType("UniverseSoul"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 25);
                    ClickerCompat.SetDamageAdd(player, 0.66f);
                }
                if (item.type == fargo.ItemType("EternitySoul"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 10);
                }

                if (item.type == fargo.ItemType("PumpkingsCape"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                }
                if (item.type == fargo.ItemType("HeartoftheMasochist"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                    ClickerCompat.SetDamageAdd(player, 0.05f);
                }
                if (item.type == fargo.ItemType("MutantAntibodies"))
                {
                    ClickerCompat.SetDamageAdd(player, 0.2f);
                }
                if (item.type == fargo.ItemType("MasochistSoul"))
                {
                    ClickerCompat.SetDamageAdd(player, 0.5f);
                }
                if (item.type == fargo.ItemType("SupremeDeathbringerFairy"))
                {
                    ClickerCompat.SetDamageAdd(player, 0.1f);
                }
                if (item.type == fargo.ItemType("AgitatingLens") && player.statLife < player.statLifeMax2 / 2)
                {
                    ClickerCompat.SetDamageAdd(player, 0.1f);
                }

                //Fargo`s Mod: Armor
                if (item.type == fargo.ItemType("GaiaHelmet"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                    ClickerCompat.SetDamageAdd(player, 0.1f);
                }
                if (item.type == fargo.ItemType("GaiaPlate"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                    ClickerCompat.SetDamageAdd(player, 0.1f);
                }
                if (item.type == fargo.ItemType("GaiaGreaves"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                    ClickerCompat.SetDamageAdd(player, 0.1f);
                }

                if (item.type == fargo.ItemType("EridanusHat"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                    ClickerCompat.SetDamageAdd(player, 0.05f);
                }
                if (item.type == fargo.ItemType("EridanusBattleplate"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 10);
                    ClickerCompat.SetDamageAdd(player, 0.1f);
                }
                if (item.type == fargo.ItemType("EridanusLegwear"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                    ClickerCompat.SetDamageAdd(player, 0.05f);
                }

                if (item.type == fargo.ItemType("MutantMask"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 20);
                    ClickerCompat.SetDamageAdd(player, 0.5f);
                }
                if (item.type == fargo.ItemType("MutantBody"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 30);
                    ClickerCompat.SetDamageAdd(player, 0.7f);
                }
                if (item.type == fargo.ItemType("MutantPants"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 20);
                    ClickerCompat.SetDamageAdd(player, 0.5f);
                }

                //Fargo`s Mod DLC
                if (fargoDLC != null)
                {
                    if (calamity != null)
                    {
                        if (item.type == fargoDLC.ItemType("DaedalusEnchant") || item.type == fargoDLC.ItemType("DesolationForce") || item.type == fargoDLC.ItemType("CalamitySoul") || item.type == fargo.ItemType("EternitySoul"))
                        {
                            player.GetModPlayer <ClickerAddonPlayer>().daedalusCapsuit = true;
                        }
                        if (item.type == fargoDLC.ItemType("ReaverEnchant") || item.type == fargoDLC.ItemType("DevastationForce") || item.type == fargoDLC.ItemType("CalamitySoul") || item.type == fargo.ItemType("EternitySoul"))
                        {
                            player.GetModPlayer <ClickerAddonPlayer>().reaverCapsuit = true;
                        }
                        if (item.type == fargoDLC.ItemType("AtaxiaEnchant") || item.type == fargoDLC.ItemType("AnnihilationForce") || item.type == fargoDLC.ItemType("CalamitySoul") || item.type == fargo.ItemType("EternitySoul"))
                        {
                            player.GetModPlayer <ClickerAddonPlayer>().ataxiaCapsuit = true;
                        }
                        if (item.type == fargoDLC.ItemType("BloodflareEnchant") || item.type == fargoDLC.ItemType("AuricEnchant") || item.type == fargoDLC.ItemType("ExaltationForce") || item.type == fargoDLC.ItemType("CalamitySoul") || item.type == fargo.ItemType("EternitySoul"))
                        {
                            player.GetModPlayer <ClickerAddonPlayer>().bloodflareCapsuit = true;
                        }
                        if (item.type == fargoDLC.ItemType("GodSlayerEnchant") || item.type == fargoDLC.ItemType("AuricEnchant") || item.type == fargoDLC.ItemType("ExaltationForce") || item.type == fargoDLC.ItemType("CalamitySoul") || item.type == fargo.ItemType("EternitySoul"))
                        {
                            player.GetModPlayer <ClickerAddonPlayer>().godSlayerCapsuit = true;
                        }
                        if (item.type == fargoDLC.ItemType("SilvaEnchant") || item.type == fargoDLC.ItemType("AuricEnchant") || item.type == fargoDLC.ItemType("ExaltationForce") || item.type == fargoDLC.ItemType("CalamitySoul") || item.type == fargo.ItemType("EternitySoul"))
                        {
                            player.GetModPlayer <ClickerAddonPlayer>().silvaCapsuit = true;
                        }

                        /*if (item.type == fargoDLC.ItemType("AstralEnchant"))
                         *      ifAstralEnch = true;*/
                    }
                }
            }

            //Shadows of Abbadon
            if (SoA != null)
            {
                if (item.type == SoA.ItemType("MementoMori"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 12);
                }
                if (item.type == SoA.ItemType("VoidHelm"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 18);
                }
                if (item.type == SoA.ItemType("VulcanHelm"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 10);
                }
            }

            //Calamity
            if (calamity != null)
            {
                //CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>();

                //Pre-Hardmode Armor
                if (item.type == calamity.ItemType("WulfrumArmor"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 3);
                }
                if (item.type == calamity.ItemType("VictideBreastplate"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                }
                if (item.type == calamity.ItemType("AerospecBreastplate"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 3);
                }
                if (item.type == calamity.ItemType("StatigelArmor"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                }

                //Hardmode Armor
                if (item.type == calamity.ItemType("DaedalusBreastplate"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 3);
                }
                if (item.type == calamity.ItemType("DaedalusLeggings"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 3);
                }
                if (item.type == calamity.ItemType("ReaverScaleMail"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 4);
                }
                if (item.type == calamity.ItemType("ReaverCuisses"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                }
                if (item.type == calamity.ItemType("AtaxiaArmor"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 4);
                }
                if (item.type == calamity.ItemType("AtaxiaSubligar"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 3);
                }

                /*if (item.type == calamity.ItemType("AstralHelm") && item.type == calamity.ItemType("AstralBreastplate") && item.type == calamity.ItemType("AstralLeggings"))
                 *      ClickerCompat.SetClickerCritAdd(player, 21);*/
                if (item.type == calamity.ItemType("AstralHelm"))
                {
                    astralArmor[0] = true;
                }
                else
                {
                    astralArmor[0] = false;
                }
                if (item.type == calamity.ItemType("AstralBreastplate"))
                {
                    astralArmor[1] = true;
                }
                else
                {
                    astralArmor[1] = false;
                }
                if (item.type == calamity.ItemType("AstralLeggings"))
                {
                    astralArmor[2] = true;
                }
                else
                {
                    astralArmor[2] = false;
                }
                if (astralArmor[0] && astralArmor[1] && astralArmor[2])
                {
                    ClickerCompat.SetClickerCritAdd(player, 21);
                }

                /*if(modPlayer.astralStarRain && !ifAstralEnch)
                 *      ClickerCompat.SetClickerCritAdd(player, 21);*/

                //Post-ML Armor
                if (item.type == calamity.ItemType("TarragonBreastplate"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                }
                if (item.type == calamity.ItemType("TarragonLeggings"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 6);
                }
                if (item.type == calamity.ItemType("BloodflareBodyArmor"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 8);
                }
                if (item.type == calamity.ItemType("BloodflareCuisses"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 7);
                }
                if (item.type == calamity.ItemType("OmegaBlueHelmet"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 8);
                }
                if (item.type == calamity.ItemType("OmegaBlueChestplate"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 8);
                }
                if (item.type == calamity.ItemType("OmegaBlueLeggings"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 8);
                }
                if (item.type == calamity.ItemType("GodSlayerChestplate"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 6);
                }
                if (item.type == calamity.ItemType("GodSlayerLeggings"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 10);
                }
                if (item.type == calamity.ItemType("FearmongerPlateMail"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                }
                if (item.type == calamity.ItemType("SilvaArmor"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 8);
                }
                if (item.type == calamity.ItemType("SilvaLeggings"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 7);
                }
                if (item.type == calamity.ItemType("AuricTeslaBodyArmor"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                }
                if (item.type == calamity.ItemType("AuricTeslaCuisses"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 5);
                }
                if (item.type == calamity.ItemType("DemonshadeHelm"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 15);
                }
                if (item.type == calamity.ItemType("DemonshadeBreastplate"))
                {
                    ClickerCompat.SetClickerCritAdd(player, 15);
                }
            }
        }