1 - Magic Mirror teleports are only disabled if the player has the Boss Effects buff.

This commit is contained in:
Andrew Marheine committed 2021-11-29 16:26:24 -06:00
1 parent 65b3783925
commit 24e81e781e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -833,7 +833,7 @@ namespace CalamityMod.Items
}
if (item.type == ItemID.MagicMirror || item.type == ItemID.IceMirror || item.type == ItemID.CellPhone || item.type == ItemID.RecallPotion)
{
return !CalamityPlayer.areThereAnyDamnBosses;
return !player.Calamity().bossZen;
}
if (item.type == ItemID.RodofDiscord)
{
+1 -1
View File
@@ -286,7 +286,7 @@ namespace CalamityMod.Items
if (item.type == ItemID.MagicMirror || item.type == ItemID.IceMirror || item.type == ItemID.CellPhone || item.type == ItemID.RecallPotion)
ApplyTooltipEdits(tooltips,
(i, l) => l.mod == "Terraria" && l.Name == (i.type == ItemID.CellPhone ? "Tooltip1" : "Tooltip0"),
(line) => line.text += "\nCannot be used while a boss is alive");
(line) => line.text += "\nCannot be used while you have the Boss Effects buff");
// Rod of Discord cannot be used multiple times to hurt yourself
if (item.type == ItemID.RodofDiscord)