This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
23 lines
552 B
C#
23 lines
552 B
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Buffs.Alcohol
|
|
{
|
|
public class ScrewdriverBuff : ModBuff
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Main.debuff[Type] = true;
|
|
Main.pvpBuff[Type] = true;
|
|
Main.buffNoSave[Type] = false;
|
|
BuffID.Sets.NurseCannotRemoveDebuff[Type] = true;
|
|
}
|
|
|
|
public override void Update(Player player, ref int buffIndex)
|
|
{
|
|
player.Calamity().screwdriver = true;
|
|
}
|
|
}
|
|
}
|