v2.5.4: fixed 2x unided SOTrans not being usable on its own stack

This commit is contained in:
Evan Debenham
2024-10-07 15:22:44 -04:00
parent 4ff769d0ef
commit e7dbe79c15

View File

@@ -79,9 +79,9 @@ public class ScrollOfTransmutation extends InventoryScroll {
} else if (item instanceof Potion){
return !(item instanceof Elixir || item instanceof Brew);
//all regular or exotic scrolls, except itself
//all regular or exotic scrolls, except itself (unless un-ided, in which case it was already consumed)
} else if (item instanceof Scroll){
return item != this || item.quantity() > 1;
return item != this || item.quantity() > 1 || identifiedByUse;
//all rings, wands, artifacts, trinkets, seeds, and runestones
} else {