2 - Internally renamed DoG's Extreme Gravity vs Providence's Icarus Folly to be more clear. 3 - Added a few TODO comments regarding potential violations of the DR softcap. 4 - Rancor's debuff is now properly categorized as a DoT.
21 lines
513 B
C#
21 lines
513 B
C#
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Buffs.StatBuffs
|
|
{
|
|
public class AmidiasBlessing : ModBuff
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Main.debuff[Type] = false;
|
|
Main.buffNoSave[Type] = false;
|
|
}
|
|
|
|
public override void Update(Player player, ref int buffIndex)
|
|
{
|
|
player.Calamity().amidiasBlessing = true;
|
|
player.breath = player.breathMax + 91; // why 91 specifically
|
|
}
|
|
}
|
|
}
|