Files
CalamityModPublic/Buffs/Alcohol/EverclearBuff.cs
T

25 lines
667 B
C#

using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.Alcohol
{
public class EverclearBuff : ModBuff
{
public override void SetDefaults()
{
DisplayName.SetDefault("Everclear");
Description.SetDefault("Damage boosted, life regen and defense reduced");
Main.debuff[Type] = true;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = false;
longerExpertDebuff = false;
canBeCleared = false;
}
public override void Update(Player player, ref int buffIndex)
{
player.Calamity().everclear = true;
}
}
}