- Reduced cooldown on Giant Shell and Giant Tortoise Shell defense reduction from 5 to 3 seconds and decreased defense reduction on GTS to 8 - Reduced cooldown on The Bee from 10 to 6 seconds - Reduced Ursa Sergeant volume - Grand Guardian and Majestic Guard healing/damage buffs (Man they felt kinda sad) - Fixed mp audio bugs on Earth and Hellborn - Reduced fx on Abyss blade split projectiles
28 lines
783 B
C#
28 lines
783 B
C#
using CalamityMod.CalPlayer;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Accessories
|
|
{
|
|
public class TheBee : ModItem, ILocalizedModType
|
|
{
|
|
public static int CooldownLength = 360;
|
|
public new string LocalizationCategory => "Items.Accessories";
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 24;
|
|
Item.height = 28;
|
|
Item.value = CalamityGlobalItem.RarityOrangeBuyPrice;
|
|
Item.rare = ItemRarityID.Orange;
|
|
Item.accessory = true;
|
|
}
|
|
|
|
public override void UpdateAccessory(Player player, bool hideVisual)
|
|
{
|
|
CalamityPlayer modPlayer = player.Calamity();
|
|
modPlayer.theBee = true;
|
|
}
|
|
}
|
|
}
|