Files
CalamityModPublic/Items/Accessories/GiantShell.cs
T
mountaindrew10 bfe71df651 1 - Reduced Giant Shell defense from 10 to 6 because it giving 10 so early is crazy.
2 - Made Exalted Oathblade useable.
3 - Reduced Rev+ Empress of Light post-charge slow down and wait time.
4 - Made Rev+ Golem inferno fireballs and explosions have yellow fire instead of orange so that they can be distinguished from Inferno Fork projectiles.
5 - Removed some leftover code in Darklight Greatsword's projectiles.
2024-03-24 08:00:35 -05:00

29 lines
798 B
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Accessories
{
[AutoloadEquip(EquipType.Back)]
public class GiantShell : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Accessories";
public override void SetDefaults()
{
Item.width = 30;
Item.height = 28;
Item.defense = 6;
Item.value = CalamityGlobalItem.Rarity1BuyPrice;
Item.rare = ItemRarityID.Blue;
Item.accessory = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.gShell = true;
}
}
}