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
69 lines
2.4 KiB
C#
69 lines
2.4 KiB
C#
using CalamityMod.CalPlayer;
|
|
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Tiles.Furniture.CraftingStations;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Armor.Statigel
|
|
{
|
|
[AutoloadEquip(EquipType.Head)]
|
|
[LegacyName("StatigelMask")]
|
|
public class StatigelHeadRogue : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
SacrificeTotal = 1;
|
|
DisplayName.SetDefault("Statigel Mask");
|
|
Tooltip.SetDefault("10% increased rogue damage and 34% chance to not consume rogue items\n" +
|
|
"7% increased rogue critical strike chance and 5% increased movement speed");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 18;
|
|
Item.height = 18;
|
|
Item.value = CalamityGlobalItem.RarityLightRedBuyPrice;
|
|
Item.rare = ItemRarityID.LightRed;
|
|
Item.defense = 6; //23
|
|
}
|
|
|
|
public override bool IsArmorSet(Item head, Item body, Item legs)
|
|
{
|
|
return body.type == ModContent.ItemType<StatigelArmor>() && legs.type == ModContent.ItemType<StatigelGreaves>();
|
|
}
|
|
|
|
public override void UpdateArmorSet(Player player)
|
|
{
|
|
player.setBonus = "When you take over 100 damage in one hit you become immune to damage for an extended period of time\n" +
|
|
"Grants an extra jump and increased jump height\n" +
|
|
"12% increased jump speed\n" +
|
|
"+90 maximum stealth";
|
|
var modPlayer = player.Calamity();
|
|
modPlayer.statigelSet = true;
|
|
modPlayer.statigelJump = true;
|
|
modPlayer.rogueStealthMax += 0.9f;
|
|
modPlayer.wearingRogueArmor = true;
|
|
Player.jumpHeight += 5;
|
|
player.jumpSpeedBoost += 0.6f;
|
|
}
|
|
|
|
public override void UpdateEquip(Player player)
|
|
{
|
|
player.Calamity().rogueAmmoCost *= 0.66f;
|
|
player.GetDamage<ThrowingDamageClass>() += 0.1f;
|
|
player.GetCritChance<ThrowingDamageClass>() += 7;
|
|
player.moveSpeed += 0.05f;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<PurifiedGel>(5).
|
|
AddIngredient(ItemID.HellstoneBar, 9).
|
|
AddTile<StaticRefiner>().
|
|
Register();
|
|
}
|
|
}
|
|
}
|