Files
CalamityModPublic/Buffs/StatBuffs/PinkJellyRegen.cs
T
Xyk 180b52c044 Reworked Life Jelly
Using a healing potion will spawn an aura that provides life regeneration to all player inside for 5 seconds
2023-08-06 22:34:28 -04:00

21 lines
475 B
C#

using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.StatBuffs
{
public class PinkJellyRegen : ModBuff
{
public override void SetStaticDefaults()
{
Main.debuff[Type] = false;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = true;
}
public override void Update(Player player, ref int buffIndex)
{
player.Calamity().PinkJellyRegen = true;
}
}
}