public override void Unload() { mod = null; ClickerCompat.Unload(); CalamityCompat.Unload(); ClickerAddonCompat.Unload(); }
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; } }
public override void UpdateArmorSet(Player player) { player.setBonus = "You will survive fatal damage and will be healed 150 HP if an attack would have killed you\nThis effect can only occur once every 45 seconds\nWhile the cooldown for this effect is active all life regen is halved\nWhen you click there is a chance that there will be shoot nebula stars"; Mod calamity = ModLoader.GetMod("CalamityMod"); CalamityCompat.CalamityArmorSetBonus(player, "godslayer"); player.GetModPlayer <ClickerAddonPlayer>().godSlayerCapsuit = true; }
public override void SetDefaults() { item.width = 27; item.height = 22; item.value = Item.buyPrice(gold: 75); CalamityCompat.SetCalamityRarity(item, CalamityCompat.CalamityRarity.DarkBlue); item.defense = 34; }
public override void SetDefaults() { item.width = 27; item.height = 22; item.value = Item.buyPrice(gold: 60); CalamityCompat.SetCalamityRarity(item, CalamityCompat.CalamityRarity.PureGreen); item.defense = 20; }
public override void UpdateArmorSet(Player player) { player.setBonus = "All projectiles spawn healing leaf orbs on enemy hits\nMax run speed and acceleration boosted by 5%\nIf you are reduced to 1 HP you will not die from any further damage for 10 seconds\nIf you get reduced to 1 HP again while this effect is active you will lose 100 max life\nThis effect only triggers once per life and if you are reduced to 400 max life the invincibility effect will stop\nYour max life will return to normal if you die\nAdd a auto click on all Clickers then click rates are low decreased"; Mod calamity = ModLoader.GetMod("CalamityMod"); CalamityCompat.CalamityArmorSetBonus(player, "silva"); player.GetModPlayer <ClickerAddonPlayer>().silvaCapsuit = true; }
public override void SetDefaults() { item.width = 27; item.height = 22; item.value = Item.buyPrice(gold: 90); CalamityCompat.SetCalamityRarity(item, CalamityCompat.CalamityRarity.Violet); item.defense = 38; }
public override void UpdateArmorSet(Player player) { player.setBonus = "Reduces enemy spawn rates\nIncreased heart pickup range\nEnemies have a chance to drop extra hearts on death"; Mod calamity = ModLoader.GetMod("CalamityMod"); //ClickerCompat.SetDamageAdd(player, 0.05f); CalamityCompat.CalamityArmorSetBonus(player, "tarragon"); }
public override void UpdateArmorSet(Player player) { player.setBonus = "Greatly increases life regen\nEnemies below 50% life have a chance to drop hearts and mana star when struck\nEnemies killed during a Blood Moon have a much higher chance to drop Blood Orbs\nThe radius increases depending on the decrease in the life"; Mod calamity = ModLoader.GetMod("CalamityMod"); CalamityCompat.CalamityArmorSetBonus(player, "bloodflare"); player.crimsonRegen = true; player.GetModPlayer <ClickerAddonPlayer>().bloodflareCapsuit = true; }
public override void UpdateArmorSet(Player player) { player.setBonus = "When you take over 100 damage in one hit you become immune to damage for an extended period of time\nGrants an extra jump and increased jump height\n30% increased jump speed"; Mod calamity = ModLoader.GetMod("CalamityMod"); CalamityCompat.CalamityArmorSetBonus(player, "statigel"); player.doubleJumpSail = true; player.jumpSpeedBoost += 1.5f; }
public override void UpdateArmorSet(Player player) { player.setBonus = "5% increased clicker damage\nInferno effect when below 50% life\nYou have a 20% chance to emit a blazing explosion when you are hit\nClicker attacks summon damaging and healing flare orbs on hit"; Mod calamity = ModLoader.GetMod("CalamityMod"); ClickerAddonPlayer modPlayer = player.GetModPlayer <ClickerAddonPlayer>(); CalamityCompat.CalamityArmorSetBonus(player, "ataxia"); ClickerCompat.SetDamageAdd(player, 0.05f); modPlayer.ataxiaCapsuit = true; }
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; }
public override void UpdateArmorSet(Player player) { player.setBonus = "Increased life regen and clicker damage while submerged in liquid\nWhen using any weapon you have a 10% chance to throw a returning seashell projectile\nThis seashell does true damage and does not benefit from any damage class\nProvides increased underwater mobility and slightly reduces breath loss in the abyss"; Mod calamity = ModLoader.GetMod("CalamityMod"); player.ignoreWater = true; CalamityCompat.CalamityArmorSetBonus(player, "victide"); if (!Collision.DrownCollision((Vector2)player.position, player.width, player.height, player.gravDir)) { return; } ClickerCompat.SetDamageAdd(player, 0.1f); player.lifeRegen += 3; }