2 - Reduced how much Icarus' Folly and Extreme Gravity affect flight time. 3 - Reduced Tracer flight time. 4 - Reduced how many Dark Energies Ceaseless Void spawns. 5 - Spooky Breastplate gives 1 minion slot instead of 2. Moved the 1 minion slot to the Spooky set bonus. 6 - Stardust Breastplate and Leggings give 1 minion slot instead of 2. Moved the 2 minion slots to the set bonus. 7 - Increased Signus HP. 8 - Reduced the DoT of Shellfish Vore from 250 to 200. 9 - Made Solar Spirit God fire 33% more often.
25 lines
689 B
C#
25 lines
689 B
C#
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Buffs.StatDebuffs
|
|
{
|
|
public class ExtremeGravity : ModBuff
|
|
{
|
|
public override void SetDefaults()
|
|
{
|
|
DisplayName.SetDefault("Icarus' Folly");
|
|
Description.SetDefault("Your wing time is reduced by 33%, infinite flight is disabled");
|
|
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().eGravity = true;
|
|
}
|
|
}
|
|
}
|