Decimation_Mod/Content/Buffs/Buffs/Warlock.cs
FyloZ 80262bf100 Updated buffs sprites.
Updated fire amulet's synergy.
2020-06-06 12:00:15 -04:00

27 lines
683 B
C#

using Decimation.Lib.Buffs;
using Terraria;
namespace Decimation.Content.Buffs.Buffs
{
internal class Warlock : DecimationBuff
{
protected override string DisplayName => "Warlock";
protected override string Description => "Max mana +50 \nMana Regeneration Bonus +25 \nMagic Damages + 10% \nMagic Critical Chances + 5%";
protected override void Init()
{
displayTime = true;
save = true;
clearable = true;
}
public override void Update(Player player, ref int buffIndex)
{
player.statManaMax2 += 50;
// To review
player.manaRegenBonus += 25;
player.magicDamage += 0.1f;
player.magicCrit += 5;
}
}
}