Files
CalamityModPublic/Buffs/Potions/TitanScale.cs
T
DominicKarma42 55e89c9b98 Replaced (hopefully) every magic number with a constant
Note: Does not include item rarities, and appears to shown nonexistant using directive movement in the commit. This does not really affect anything, however.
2020-05-30 17:56:36 -04:00

24 lines
598 B
C#

using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.Potions
{
public class TitanScale : ModBuff
{
public override void SetDefaults()
{
DisplayName.SetDefault("Titan Scale");
Description.SetDefault("You feel tanky");
Main.debuff[Type] = false;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = false;
longerExpertDebuff = false;
}
public override void Update(Player player, ref int buffIndex)
{
player.Calamity().tScale = true;
}
}
}