Buffed damage to 210 due to bad SCal performance Gave Thanathos a 30% resist to Infernados from both Scales and The Wand (The Wand needs a nerf anyways so might as well add it here) Dynamic Pursuer projectile vomit fix atttempt #1: it seems like the fails are due to it not finding a ricochet target so im greatly increasing the range, also I'll make it return a bit faster just in case.
33 lines
1003 B
C#
33 lines
1003 B
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, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Accessories";
|
|
public static int ShitBaseDamage = 55;
|
|
public static int TornadoBaseDamage = 210;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|