added a Revengeance failsafe

This commit is contained in:
ben-tk committed 2021-11-18 17:42:30 -05:00
1 parent 46ce1ab773
commit 4e101e5c38
1 file changed
+2 -1
+2 -1
View File
@@ -67,7 +67,8 @@ namespace CalamityMod.Items.DifficultyItems
}
}
public override bool CanUseItem(Player player) => Main.expertMode;
// Can only be used in Expert worlds. The Revengeance check is a failsafe that allows you to disable rev in normal mode worlds if it gets enabled for whatever reason.
public override bool CanUseItem(Player player) => Main.expertMode || CalamityWorld.revenge;
public override bool UseItem(Player player)
{