2 - Adjusted Hallowed Rune, Spirit Glyph and Phantomic Artifact buffs to be less insane. 3 - Reduced Camper regen. 4 - Boss Effects is now applied by the boss to each player within 6400 units of it. 5 - Angel Treads improve wing flight time by 10% instead of 20%. 6 - Adjusted several tooltips to state that they don't work during boss fights or have reduced effect during boss fights. 7 - Reworked Arbalest, Skullmasher and Pearl God. Skullmasher is not done yet though. 8 - Fixed Golden Eagle spread. 9 - Normality Relocator states that it gives portal gun fall speed for 30 frames after a teleport. 10 - Gael's Greatsword drops from Malice Mode SCal. 11 - Perforator Hive doesn't deal contact damage for 3 seconds after spawning.
34 lines
947 B
C#
34 lines
947 B
C#
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Buffs.StatBuffs
|
|
{
|
|
public class BossZen : ModBuff
|
|
{
|
|
public override void SetDefaults()
|
|
{
|
|
DisplayName.SetDefault("Boss Effects");
|
|
Description.SetDefault("This tooltip is edited in the function below");
|
|
Main.debuff[Type] = true;
|
|
Main.buffNoSave[Type] = true;
|
|
Main.buffNoTimeDisplay[Type] = true;
|
|
canBeCleared = false;
|
|
}
|
|
|
|
public override void Update(Player player, ref int buffIndex)
|
|
{
|
|
player.Calamity().bossZen = true;
|
|
}
|
|
|
|
public override void ModifyBuffTip(ref string tip, ref int rare)
|
|
{
|
|
tip = "The nearby boss is:\n" +
|
|
"Greatly reducing enemy spawn rates\n" +
|
|
"Disabling teleportation effects\n" +
|
|
"Increasing Nurse healing cost by 400%\n" +
|
|
"Disabling Death Mode weather and biome effects\n" +
|
|
"Disabling Target and Super Dummy hitboxes";
|
|
}
|
|
}
|
|
}
|