From c131a4cfb222f453c00d682cc54fdb00573b605b Mon Sep 17 00:00:00 2001 From: Christopher Toth Date: Sun, 26 Jul 2026 18:05:06 -0600 Subject: [PATCH] Fix MercAffectData.type default: --1 evaluated to +1 The double unary minus made the default +1 instead of the intended -1 used by every sibling field. Fixes #6 Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_018c1X1pogRiyCxdBNHQRMEg --- area_reader/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/area_reader/__init__.py b/area_reader/__init__.py index 3b4543a..5ee92e4 100644 --- a/area_reader/__init__.py +++ b/area_reader/__init__.py @@ -430,7 +430,7 @@ class Item(MudBase): @attributes class MercAffectData(object): - type = attr(default=--1) + type = attr(default=-1) duration = attr(default=-1) location = attr(default=-1) modifier = attr(default=-1)