27 lines
862 B
C#
27 lines
862 B
C#
using CalamityMod.DataStructures;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
using CalamityMod.Systems.Collections;
|
|
|
|
namespace CalamityMod.Buffs.DamageOverTime
|
|
{
|
|
public class WeakBrimstoneFlames : ModBuff
|
|
{
|
|
public static DebuffData debuffData = new DebuffData()
|
|
{
|
|
EnemyLostRegen = 10, //This is never inflicted on enemies, this is just a token value
|
|
HeatDebuffScaling = 1,
|
|
};
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Main.debuff[Type] = true;
|
|
Main.pvpBuff[Type] = true;
|
|
Main.buffNoSave[Type] = true;
|
|
Main.buffNoTimeDisplay[Type] = true;
|
|
CalamityBuffSets.DebuffDataset[Type] = debuffData;
|
|
}
|
|
|
|
public override void Update(Player player, ref int buffIndex) => player.Calamity().weakBrimstoneFlames = true;
|
|
}
|
|
}
|