v3.1.0: fixed transmuting mage's staff sometimes cursing it
This commit is contained in:
@@ -205,6 +205,7 @@ public class ScrollOfTransmutation extends InventoryScroll {
|
|||||||
do {
|
do {
|
||||||
n = (Wand) Generator.randomUsingDefaults(Generator.Category.WAND);
|
n = (Wand) Generator.randomUsingDefaults(Generator.Category.WAND);
|
||||||
} while (Challenges.isItemBlocked(n) || n.getClass() == wandClass);
|
} while (Challenges.isItemBlocked(n) || n.getClass() == wandClass);
|
||||||
|
n.cursed = false;
|
||||||
n.level(0);
|
n.level(0);
|
||||||
n.identify();
|
n.identify();
|
||||||
staff.imbueWand(n, null);
|
staff.imbueWand(n, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user