Executioner's blade should no longer kill Yharon on 2:30 Deep wounder should no longer be dogshit Nerfed Fantasy Talismans Sacrifice projectiles made faster Nerfed Duststorm cloud's iframes and renamed the projectile so they show up on Cal Test Helpers Buffed Sandslasher's velocity Mega buffed Apoctolith Made Young Duke use Local Iframes Buffed AotC Rebalanced Kylie and Frostcrush Valari Buffed Plagued Fueled pack Rebalanced Totality Breakers Buffed Ballistic Poison bomb Rebalanced Monkey Darts Rebalanced Tarragon Darts a bit
42 lines
1.4 KiB
C#
42 lines
1.4 KiB
C#
using CalamityMod.Buffs.DamageOverTime;
|
|
using CalamityMod.CalPlayer;
|
|
using CalamityMod.Rarities;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Accessories
|
|
{
|
|
public class DragonScales : ModItem
|
|
{
|
|
internal static int ShitBaseDamage = 55;
|
|
|
|
public override void SetStaticDefaults()
|
|
{
|
|
SacrificeTotal = 1;
|
|
DisplayName.SetDefault("Dragon Scales");
|
|
Tooltip.SetDefault("Only a living dragon holds true treasure\n" +
|
|
"Rogue projectiles create slow fireballs as they travel\n" +
|
|
"Stealth strikes create infernados on death\n" +
|
|
"+10% max run speed and acceleration\n" +
|
|
"Grants immunity to Dragonfire");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 32;
|
|
Item.height = 34;
|
|
Item.value = CalamityGlobalItem.Rarity15BuyPrice;
|
|
Item.rare = ModContent.RarityType<Violet>();
|
|
Item.accessory = true;
|
|
}
|
|
|
|
public override void UpdateAccessory(Player player, bool hideVisual)
|
|
{
|
|
CalamityPlayer modPlayer = player.Calamity();
|
|
modPlayer.dragonScales = true;
|
|
player.buffImmune[ModContent.BuffType<Dragonfire>()] = true;
|
|
}
|
|
}
|
|
}
|