Abaddon provides immunity to brimstone lava

This commit is contained in:
Dominic authored and Cameron Ewell committed 2021-08-05 00:06:41 -04:00
1 parent 7985b4a289
commit adafd5048b
2 files changed
+5 -8

No files matched your search

+2 -2
View File
@@ -681,10 +681,10 @@ namespace CalamityMod.CalPlayer
}
}
//extra DoT in the lava of the crags
// Extra DoT in the lava of the crags. Negated by Abaddon.
if (player.lavaWet)
{
if (modPlayer.ZoneCalamity)
if (modPlayer.ZoneCalamity && !modPlayer.abaddon)
player.AddBuff(ModContent.BuffType<CragsLava>(), 2, false);
}
else
+3 -6
View File
@@ -1,7 +1,7 @@
using CalamityMod.Buffs.DamageOverTime;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Accessories
{
[AutoloadEquip(EquipType.Face)]
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Accessories
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Abaddon");
Tooltip.SetDefault("Reduces the damage caused by the Brimstone Flames debuff");
Tooltip.SetDefault("Reduces the damage caused by the Brimstone Flames debuff and provides immunity to Searing Lava");
}
public override void SetDefaults()
@@ -22,9 +22,6 @@ namespace CalamityMod.Items.Accessories
item.accessory = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.Calamity().abaddon = true;
}
public override void UpdateAccessory(Player player, bool hideVisual) => player.Calamity().abaddon = true;
}
}