- Mana Polarizer & Hydro lifesteal no longer requires holding a mage weapon - Obliterator counterweights now cause an extra dimensional drive. Dmg nerf to compensate 475 -> 400 - Omega Blue set 69 -> 50 defense - Glaive dmg 22 -> 19; ut 15 -> 22 shred DoT 60 -> 100, 0.6 -> 0.4 ssdm - Blazing Star 10% -> 20% falloff, tile ricochets now cause falloff too - Flamarang 2 -> 1 extra update, 37 -> 40 damage - Undid the *dev only* amalgam debuff mult increase (stays +200%, same as public) - Bloom Stone is now a flat +30 MPH buff - Fixed Vodka doing literally nothing lol - Nebulous Core spawns more consistently at a rate of 8 stars per second. Boosted its homing speed.
58 lines
1.8 KiB
C#
58 lines
1.8 KiB
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Rarities;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.Localization;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Armor.OmegaBlue
|
|
{
|
|
[AutoloadEquip(EquipType.Legs)]
|
|
[LegacyName("OmegaBlueLeggings")]
|
|
public class OmegaBlueTentacles : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Armor.PostMoonLord";
|
|
|
|
public static float DamageBoost = 0.16f;
|
|
public static int CritBoost = 12;
|
|
public static float MoveSpeedBoost = 0.12f;
|
|
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(DamageBoost.ToPercent(), CritBoost, MoveSpeedBoost.ToPercent());
|
|
|
|
public override void SetStaticDefaults()
|
|
{
|
|
if (Main.dedServ)
|
|
return;
|
|
|
|
int equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Legs);
|
|
|
|
ArmorIDs.Legs.Sets.HidesBottomSkin[equipSlot] = true;
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 18;
|
|
Item.height = 18;
|
|
Item.value = CalamityGlobalItem.RarityPureGreenBuyPrice;
|
|
Item.defense = 15;
|
|
Item.rare = ModContent.RarityType<PureGreen>();
|
|
}
|
|
|
|
public override void UpdateEquip(Player player)
|
|
{
|
|
player.GetDamage<GenericDamageClass>() += DamageBoost;
|
|
player.GetCritChance<GenericDamageClass>() += CritBoost;
|
|
player.moveSpeed += MoveSpeedBoost;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<ReaperTooth>(4).
|
|
AddIngredient<DepthCells>(15).
|
|
AddIngredient<RuinousSoul>(2).
|
|
AddTile(TileID.MythrilAnvil).
|
|
Register();
|
|
}
|
|
}
|
|
}
|