Files
CalamityModPublic/Buffs/Placeables/PinkHealthCandle.cs
T
DominicKarma42 55e89c9b98 Replaced (hopefully) every magic number with a constant
Note: Does not include item rarities, and appears to shown nonexistant using directive movement in the commit. This does not really affect anything, however.
2020-05-30 17:56:36 -04:00

26 lines
724 B
C#

using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.Placeables
{
public class PinkHealthCandle : ModBuff
{
public override void SetDefaults()
{
DisplayName.SetDefault("Vigor");
Description.SetDefault("Its brilliant light suffuses those nearby with hope");
Main.buffNoTimeDisplay[Type] = true;
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().pinkCandle = true;
}
}
}