25 lines
599 B
C#
25 lines
599 B
C#
using Decimation.Lib.Buffs;
|
|
using Terraria;
|
|
|
|
namespace Decimation.Content.Buffs.Buffs
|
|
{
|
|
internal class Commander : DecimationBuff
|
|
{
|
|
protected override string DisplayName => "Commander";
|
|
protected override string Description => "Max minions +1 \nMinion's damages +10% \nMinion's Knockback +10%";
|
|
|
|
protected override void Init()
|
|
{
|
|
save = true;
|
|
clearable = true;
|
|
}
|
|
|
|
public override void Update(Player player, ref int buffIndex)
|
|
{
|
|
player.maxMinions++;
|
|
player.minionDamage += 0.1f;
|
|
player.minionKB += 0.1f;
|
|
}
|
|
}
|
|
}
|