Files
CalamityModPublic/Items/Accessories/InkBomb.cs
T
ben-tk bedcf56a86 Various rogue/summon balance changes
1. Reverted Sand Cloak cooldown to 30 seconds
2. Changed Ink Bomb cooldown to 20 seconds
3. Nerfed Dark God's Sheath and Eclipse Mirror stealth acceleration bonuses
4. Nerfed Dragon Scales tornado damage
5. Nerfed Abyssal Mirror stealth regen
6. Buffed Eclipse mirror standing still regen
7. Nerfed Mirage Mirror stealth regen
8. Nerfed Spectral veil stealth regen while moving, now increases stealth regen while standing still
9. Nerfed max stealth of aerospec, statigel, sulphurous, victide, and gladiator armors
10. Buffed Magic Missile damage
11. Nerfed Scuttler's Jewel
12. Made Vigilance projectiles less opaque
13. Reduced the amount of laughs from Vigilance seekers
14. Increased the speed of Perdition's projectiles
2022-09-28 15:36:51 -04:00

35 lines
1.0 KiB
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Accessories
{
public class InkBomb : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Ink Bomb");
Tooltip.SetDefault("Throws several ink bombs when hit that explode in a confusing cloud of ink\n" +
"Gain a lot of stealth when struck\n" +
"This effect has a 20 second cooldown before it can occur again");
}
public override void SetDefaults()
{
Item.width = 22;
Item.height = 50;
Item.value = CalamityGlobalItem.Rarity3BuyPrice;
Item.rare = ItemRarityID.Orange;
Item.accessory = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.inkBomb = true;
}
}
}