rom24-quickmud-python 2.9.14__py3-none-any.whl → 2.9.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mud/groups/xp.py CHANGED
@@ -102,7 +102,9 @@ def group_gain(ch: Character, victim: Character) -> None:
102
102
  if level <= 0:
103
103
  continue
104
104
  if getattr(gch, "is_npc", False):
105
- total_levels += max(1, level // 2)
105
+ # mirroring ROM src/fight.c:1751 — `gch->level / 2` is raw C
106
+ # integer division, so a level-1 NPC contributes 0, not 1.
107
+ total_levels += level // 2
106
108
  else:
107
109
  total_levels += level
108
110
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rom24-quickmud-python
3
- Version: 2.9.14
3
+ Version: 2.9.16
4
4
  Summary: A modern Python port of the ROM 2.4b6 MUD engine with full telnet server and JSON world loading
5
5
  Author-email: Mark Jedrzejczyk <mark.jedrzejczyk@gmail.com>
6
6
  Maintainer-email: Mark Jedrzejczyk <mark.jedrzejczyk@gmail.com>
@@ -106,7 +106,7 @@ mud/db/session.py,sha256=PIve94wBPaLs43dBF-y2FBBT7h6qFrI8i4Abx4Dpatk,363
106
106
  mud/devtools/__init__.py,sha256=VWsDara3v9Xp99LlA_ul88IZpKtutZUY4ITIJFo8RSs,35
107
107
  mud/devtools/agent_demo.py,sha256=OkBrgJ8F1GUCN8y-sVV1dwLleV22jkGob7P8o90Kw8E,677
108
108
  mud/groups/__init__.py,sha256=xXZkE16m5metcU2Jarj5SFm-CavxCpMTrnGgiNzpnhI,95
109
- mud/groups/xp.py,sha256=vvhzdG5Q5vAQ5RZIhJwTWE1LUJkSUqGg5Ow9ICxKpEA,8030
109
+ mud/groups/xp.py,sha256=cGxQeNQZJQdXpKpKcI1xTLecfVXQ5A_G7g33R_JhVEM,8168
110
110
  mud/imc/__init__.py,sha256=31qjxzEp8iHXEt4K9au9H9nvYmGDHMs0uhYNPUKHVCs,34193
111
111
  mud/imc/commands.py,sha256=aGXF41JhTZoFTI7kGQMyEIp6DDGVRwr4pzSOL7Fc9BA,4731
112
112
  mud/imc/network.py,sha256=JrDKq1u6EWjP6YE17nZy9QirWd9D1nUmoHvH0hObiiQ,3120
@@ -216,9 +216,9 @@ mud/world/obj_find.py,sha256=tgnUkbFjnCl586Lzl6yRzCmllZSNEfQpQlrxCMVcUGU,5295
216
216
  mud/world/time_persistence.py,sha256=K4uhRpu08IDHY5uReBYTvw4BHuqsSxWvbv-h1VsPvf8,1663
217
217
  mud/world/vision.py,sha256=NRk3cvrGyyldU4W98qAVlYZp9wL-IUE1dTgk6DpM-NA,11609
218
218
  mud/world/world_state.py,sha256=3KpiDP6v24sZDn9-g44UypXpegzgRShHo1XvektJzdU,8810
219
- rom24_quickmud_python-2.9.14.dist-info/licenses/LICENSE,sha256=anQ2j9As6sIC8tZgQCXbo0-09JDH9vPiqhA9djnOvkY,1078
220
- rom24_quickmud_python-2.9.14.dist-info/METADATA,sha256=aOVicwG_PsPGXBl9D-xKNmWfVdV4bhYs29iUhctqsdE,15671
221
- rom24_quickmud_python-2.9.14.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
222
- rom24_quickmud_python-2.9.14.dist-info/entry_points.txt,sha256=VFru08UQTXZA_CkK-NBjJmWHyEX5a3864fQHjhaojbw,41
223
- rom24_quickmud_python-2.9.14.dist-info/top_level.txt,sha256=Fk1WPmabIIjp7_iZXLYpbAVqiq7lG7TeAHt30AsOKtQ,4
224
- rom24_quickmud_python-2.9.14.dist-info/RECORD,,
219
+ rom24_quickmud_python-2.9.16.dist-info/licenses/LICENSE,sha256=anQ2j9As6sIC8tZgQCXbo0-09JDH9vPiqhA9djnOvkY,1078
220
+ rom24_quickmud_python-2.9.16.dist-info/METADATA,sha256=JYhD8-U8QBqngzzhnI1YnOb61Sb2XW0dxwheGeWjnDU,15671
221
+ rom24_quickmud_python-2.9.16.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
222
+ rom24_quickmud_python-2.9.16.dist-info/entry_points.txt,sha256=VFru08UQTXZA_CkK-NBjJmWHyEX5a3864fQHjhaojbw,41
223
+ rom24_quickmud_python-2.9.16.dist-info/top_level.txt,sha256=Fk1WPmabIIjp7_iZXLYpbAVqiq7lG7TeAHt30AsOKtQ,4
224
+ rom24_quickmud_python-2.9.16.dist-info/RECORD,,