Files
CalamityModPublic/Buffs/DamageOverTime/HolyInferno.cs
T
2026-05-22 00:46:30 -04:00

32 lines
920 B
C#

using CalamityMod.DataStructures;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using CalamityMod.Systems.Collections;
namespace CalamityMod.Buffs.DamageOverTime
{
public class HolyInferno : ModBuff
{
public static DebuffData debuffData = new DebuffData()
{
EnemyLostRegen = 10000, //this is never applied to enemies
HeatDebuffScaling = 1,
GearCanModifyDebuff = false
};
public override void SetStaticDefaults()
{
Main.debuff[Type] = true;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = true;
BuffID.Sets.NurseCannotRemoveDebuff[Type] = true;
CalamityBuffSets.DebuffDataset[Type] = debuffData;
}
public override void Update(Player player, ref int buffIndex)
{
player.Calamity().holyInferno = true;
}
}
}