From 5cf4ad950b54d579db63e60907c360ab7f67951a Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 20 Dec 2023 13:26:22 -0500 Subject: [PATCH] v2.3.0: re-enabled crystal quest, but gnoll is 2x as likely for now --- .../actors/mobs/npcs/Blacksmith.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java index 08bd3d8fa..03773d58c 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java @@ -393,10 +393,13 @@ public class Blacksmith extends NPC { rooms.add(new BlacksmithRoom()); spawned = true; - //currently hard set to gnoll quest for testing - //we still roll for quest type however, to ensure seed consistency - type = 2+Random.Int(1); + type = Random.IntRange(1, 3); alternative = false; + + //fungi quest is not finished atm, so gnoll is 2x as common instead for now + if (type == FUNGI){ + type = GNOLL; + } given = false; generateRewards( true );