Files
CalamityModPublic/Buffs/StatBuffs/SpiritGeneratorDefBuff.cs
T
Andrew Marheine 49b36fb579 1 - Boss Zen buff changed to Boss Effects.
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.
2021-04-21 18:57:16 -05:00

26 lines
702 B
C#

using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.StatBuffs
{
public class SpiritGeneratorDefBuff : ModBuff
{
public override void SetDefaults()
{
DisplayName.SetDefault("Spirit Defense");
Description.SetDefault("Defense boosted by 6 and damage reduction boosted by 3%");
Main.debuff[Type] = false;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = true;
Main.buffNoTimeDisplay[Type] = true;
longerExpertDebuff = false;
}
public override void Update(Player player, ref int buffIndex)
{
player.statDefense += 6;
player.endurance += 0.03f;
}
}
}