v3.0.1: positive cursed wand pitfall effect no longer drops items

This commit is contained in:
Evan Debenham
2025-03-05 16:44:12 -05:00
parent 26cac5c949
commit 5cd9d2a08b

View File

@@ -115,7 +115,8 @@ public class PitfallTrap extends Trap {
}
Heap heap = Dungeon.level.heaps.get(cell);
if (heap != null && heap.type != Heap.Type.FOR_SALE
if (heap != null && !ignoreAllies
&& heap.type != Heap.Type.FOR_SALE
&& heap.type != Heap.Type.LOCKED_CHEST
&& heap.type != Heap.Type.CRYSTAL_CHEST) {
for (Item item : heap.items) {