- Added support for animated projectiles - Refactoring - Removed useless fields - Fixed swords not dealing damages - Added Hour Hand (from Evie's PR)
24 lines
614 B
C#
24 lines
614 B
C#
using Terraria;
|
|
using Terraria.ModLoader;
|
|
using Terraria.DataStructures;
|
|
|
|
namespace Decimation.Content.Buffs.Buffs
|
|
{
|
|
internal class NaturesAura : DecimationBuff
|
|
{
|
|
protected override string DisplayName => "Natures Aura";
|
|
protected override string Description => "Nature strengthens your will and power.";
|
|
|
|
protected override void Init()
|
|
{
|
|
save = false;
|
|
displayTime = false;
|
|
clearable = false;
|
|
}
|
|
|
|
public override void Update(Player player, ref int buffIndex)
|
|
{
|
|
player.lifeRegen += 2;
|
|
}
|
|
}
|
|
} |