summaryrefslogtreecommitdiff
path: root/src/rules/npcs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/npcs.rs')
-rw-r--r--src/rules/npcs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rules/npcs.rs b/src/rules/npcs.rs
index 7489b0a..fe87e76 100644
--- a/src/rules/npcs.rs
+++ b/src/rules/npcs.rs
@@ -144,7 +144,7 @@ impl Npc {
.get(kind_string)
.copied()
.unwrap_or(0)
- <= rng.gen_range(1..=100)
+ >= rng.gen_range(1..=100)
{
// For now, just get a dummy item named after the item type.
// Later, we'll add the actual magic items.