Note: Does not include item rarities, and appears to shown nonexistant using directive movement in the commit. This does not really affect anything, however.
25 lines
696 B
C#
25 lines
696 B
C#
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Buffs.Cooldowns
|
|
{
|
|
public class EclipseMirrorCooldown : ModBuff
|
|
{
|
|
public override void SetDefaults()
|
|
{
|
|
DisplayName.SetDefault("Eclipse Evade Cooldown");
|
|
Description.SetDefault("Your Eclipse Mirror's dodge is recharging");
|
|
Main.debuff[Type] = true;
|
|
Main.pvpBuff[Type] = true;
|
|
Main.buffNoSave[Type] = true;
|
|
longerExpertDebuff = false;
|
|
canBeCleared = false;
|
|
}
|
|
|
|
public override void Update(Player player, ref int buffIndex)
|
|
{
|
|
player.Calamity().eclipseMirrorCooldown = true;
|
|
}
|
|
}
|
|
}
|