Update: After another half dozen SoT’s with Recall Inscription, I finally got a Regrowth wand. Yay!

I’m playing a cleric with Ring of Wealth, trying to get a Wand of Regrowth while farming caves. I’ve managed to get 7 Wands from shamans and over 30 Scrolls of Transmutation from RoW drops, but I’ve burned through over half of the scrolls, and even doubling their effects with Recall Inscription, I haven’t gotten a Wand of Regrowth yet. Is it still possible to transmute another wand into a Wand of Regrowth?

  • bennythenut@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 days ago

    On GitHub, I don’t see anything in the changeWand method of the Transmutation scroll’s code limiting it to not generate a Regrowth wand. And the item Generate class sets the default probabilities to the same for all wands. Is there somewhere else this could be affected? I looked around, but couldn’t find any comments indicating Regrowth wand was blocked in Transmutation wand generation. I guess I’m just (un)lucky with the RNG in this particular context. 😅

    private static Wand changeWand( Wand w ) {
    	Wand n;
    	do {
    		n = (Wand)Generator.randomUsingDefaults( Generator.Category.WAND );
    	} while ( Challenges.isItemBlocked(n) || n.getClass() == w.getClass());
    	
    	n.level( 0 );
    	int level = w.trueLevel();
    	n.upgrade( level );
    
    	n.levelKnown = w.levelKnown;
    	n.curChargeKnown = w.curChargeKnown;
    	n.cursedKnown = w.cursedKnown;
    	n.cursed = w.cursed;
    	n.curseInfusionBonus = w.curseInfusionBonus;
    	n.resinBonus = w.resinBonus;
    
    	n.curCharges =  w.curCharges;
    	n.updateLevel();
    	
    	return n;
    }
    

    … WAND.classes = new Class<?>[]{ WandOfMagicMissile.class, WandOfLightning.class, WandOfDisintegration.class, WandOfFireblast.class, WandOfCorrosion.class, WandOfBlastWave.class, WandOfLivingEarth.class, WandOfFrost.class, WandOfPrismaticLight.class, WandOfWarding.class, WandOfTransfusion.class, WandOfCorruption.class, WandOfRegrowth.class }; WAND.defaultProbs = new float[]{ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 };