Files
CalamityModPublic/Items/Accessories/SirensHeart.cs
T
Andrew Marheine 1ee66f7065 1 - Frost Flare, Aquatic Heart, Alicorn Mount and Purified Jam are no longer Rev-exclusive.
2 - Mounting the alicorn despawns Cirrus because she transforms into it, dismounting spawns her again.
3 - Aquatic Scourge no longer drops Aero Stone.
4 - Adjusted the drop rates for the special Stone items and Frost Flare.
5 - Tried to create a failsafe so Ravager doesn't fall forever sometimes in phase 2.
2021-08-25 05:51:31 -05:00

65 lines
1.8 KiB
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Accessories
{
public class SirensHeart : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Aquatic Heart");
Tooltip.SetDefault("Transforms the holder into a water elemental\n" +
"Going underwater gives you a buff\n" +
"Greatly reduces breath loss and provides a small amount of light in the abyss\n" +
"Enemies become frozen when they touch you\n" +
"You have a layer of ice around you that absorbs 20% damage but breaks after one hit\n" +
"After 30 seconds the ice shield will regenerate\n" +
"Wow, you can swim now!\n" +
"Most of these effects are only active after Skeletron has been defeated");
}
public override void SetDefaults()
{
item.width = 18;
item.height = 18;
item.accessory = true;
item.value = CalamityGlobalItem.Rarity4BuyPrice;
item.rare = ItemRarityID.LightRed;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.sirenBoobs = true;
if (hideVisual)
modPlayer.sirenBoobsHide = true;
}
}
public class SirenHead : EquipTexture
{
public override bool DrawHead()
{
return false;
}
}
public class SirenBody : EquipTexture
{
public override bool DrawBody()
{
return false;
}
}
public class SirenLegs : EquipTexture
{
public override bool DrawLegs()
{
return false;
}
}
}