Files
CalamityModPublic/Buffs/Shred.cs
T

25 lines
506 B
C#

using Terraria;
using Terraria.ModLoader;
using CalamityMod.NPCs;
namespace CalamityMod.Buffs
{
public class Shred : ModBuff
{
public override void SetDefaults()
{
DisplayName.SetDefault("Shred");
Description.SetDefault("Blood");
Main.debuff[Type] = true;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = true;
longerExpertDebuff = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).pShred = true;
}
}
}