Files
CalamityModPublic/Items/Accessories/TheCommunity.cs
T
Andrew Marheine ce36dc7d32 1 - Added Malice Mode (there's no way to activate it yet) and adjusted all AIs a bit for it.
2 - IL Edited asphalt run speed and removed the multiplier given to player velocity while on asphalt.
3 - Removed Boss Rush Xeroc Curse.
4 - IL Edited Chlorophyte Bullets to have reduced dust and homing range and removed the damage nerf.
5 - Made Counter Scarf a rare variant of the Shield of Cthulhu and slightly increased the dash length.
6 - IL Edited to remove Aerial Bane's damage bonus against in-air enemies and removed the nerf it had.
7 - IL Edited to adjust the random damage variance for attacks both for and against the player from +-15% to +-5%.
8 - IL Edited to reduce Vortex Booster, Nebula Mantle and Betsy Wings horizontal hover speeds.
9 - Crown Jewel is now a legendary drop from King Slime.
10 - Teardrop Cleaver is now a legendary drop from Eye of Cthulhu.
11 - Changed Celestial Jewel recipe to use a Large Ruby and 5 teleportation potions.
12 - Bosses now drop rare variants and legendaries while in Malice Mode, adjusted damages and rarities/values for some that were moved to different tiers.
13 - Magic Mirror, Ice Mirror, Cell Phone and Recall Potions are now disabled while a boss is alive.
14 - Burden Breaker is now a legendary drop from Skeletron Prime.
15 - Rev+ Plantera spore gas no longer deals damage for 2 seconds after spawning in.
16 - Reduced the severity of the stat-changing properties of Nullification Pistol and Molecular Manipulator.
2021-03-30 02:38:07 -05:00

44 lines
1.6 KiB
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Accessories
{
public class TheCommunity : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Community");
Tooltip.SetDefault("The heart of (most of) the Terraria community\n" +
"Starts off with weak buffs to all of your stats\n" +
"The stat buffs become more powerful as you progress\n" +
"Reduces the DoT effects of harmful debuffs inflicted on you\n" +
"Boosts your maximum flight time by 15%\n" +
"Thank you to all of my supporters that made this mod a reality\n" +
"Legendary");
Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(5, 10));
}
public override void SetDefaults()
{
item.width = 20;
item.height = 20;
item.value = CalamityGlobalItem.Rarity7BuyPrice;
item.rare = ItemRarityID.Lime;
item.accessory = true;
item.Calamity().customRarity = CalamityRarity.Rainbow;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.community = true;
}
// Community and Shattered Community are mutually exclusive
public override bool CanEquipAccessory(Player player, int slot) => !player.Calamity().shatteredCommunity;
}
}