rom24-quickmud-python 2.9.7__py3-none-any.whl → 2.9.8__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/models/character.py +0 -21
- {rom24_quickmud_python-2.9.7.dist-info → rom24_quickmud_python-2.9.8.dist-info}/METADATA +1 -1
- {rom24_quickmud_python-2.9.7.dist-info → rom24_quickmud_python-2.9.8.dist-info}/RECORD +7 -7
- {rom24_quickmud_python-2.9.7.dist-info → rom24_quickmud_python-2.9.8.dist-info}/WHEEL +0 -0
- {rom24_quickmud_python-2.9.7.dist-info → rom24_quickmud_python-2.9.8.dist-info}/entry_points.txt +0 -0
- {rom24_quickmud_python-2.9.7.dist-info → rom24_quickmud_python-2.9.8.dist-info}/licenses/LICENSE +0 -0
- {rom24_quickmud_python-2.9.7.dist-info → rom24_quickmud_python-2.9.8.dist-info}/top_level.txt +0 -0
mud/models/character.py
CHANGED
|
@@ -859,27 +859,6 @@ class Character:
|
|
|
859
859
|
# Add to affected list (ROM C linked list)
|
|
860
860
|
self.affected.append(affect)
|
|
861
861
|
|
|
862
|
-
def affect_remove(self, affect: AffectData) -> None:
|
|
863
|
-
"""
|
|
864
|
-
Remove a ROM C AFFECT_DATA from the character's affected list.
|
|
865
|
-
|
|
866
|
-
ROM Reference: src/handler.c affect_remove (lines 2625-2653)
|
|
867
|
-
|
|
868
|
-
Args:
|
|
869
|
-
affect: AffectData structure to remove
|
|
870
|
-
"""
|
|
871
|
-
try:
|
|
872
|
-
self.affected.remove(affect)
|
|
873
|
-
except ValueError:
|
|
874
|
-
pass # Affect not in list
|
|
875
|
-
|
|
876
|
-
# Remove bitvector if no other affects use it
|
|
877
|
-
if affect.bitvector:
|
|
878
|
-
still_has_bitvector = any(paf.bitvector & affect.bitvector for paf in self.affected)
|
|
879
|
-
if not still_has_bitvector:
|
|
880
|
-
self.affected_by = getattr(self, "affected_by", 0) & ~affect.bitvector
|
|
881
|
-
|
|
882
|
-
|
|
883
862
|
# END affects_saves
|
|
884
863
|
|
|
885
864
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rom24-quickmud-python
|
|
3
|
-
Version: 2.9.
|
|
3
|
+
Version: 2.9.8
|
|
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>
|
|
@@ -134,7 +134,7 @@ mud/models/area.py,sha256=RDn6e2N9AhoMW4d68-o8i1p1tNhuszaWjbOIkGTlW9I,835
|
|
|
134
134
|
mud/models/area_json.py,sha256=GUCWUgFf2s6DUWzcLLYhoxTP38P5cu1vrSD1W3i7D2c,731
|
|
135
135
|
mud/models/board.py,sha256=LDcNFHB7X3_BNJ9efTW_VJ-vOAQG1pPIByh1EsXseVA,6283
|
|
136
136
|
mud/models/board_json.py,sha256=XG8t7lLW7b_V3IjzbGF-o6Ym36CTgKiOiBVZb-M0BpA,472
|
|
137
|
-
mud/models/character.py,sha256=
|
|
137
|
+
mud/models/character.py,sha256=VmRVPEMIvU16v0Eoy6NrWTOwxOssfIhieNeaBDrXSE8,51934
|
|
138
138
|
mud/models/character_json.py,sha256=7rdI92S-JT38xb2iUyXTAJpLmFOIRy2pb6v1Yen8VQY,1046
|
|
139
139
|
mud/models/clans.py,sha256=vMeVpK4VbYBtGYxRFdg2lUmkrjkCvqEM_jCOTNiuG3g,2227
|
|
140
140
|
mud/models/classes.py,sha256=Fv0KjS339EBWqz5OBZu5TYSIDSRYpoalLTBJOf-6ThI,2602
|
|
@@ -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.
|
|
220
|
-
rom24_quickmud_python-2.9.
|
|
221
|
-
rom24_quickmud_python-2.9.
|
|
222
|
-
rom24_quickmud_python-2.9.
|
|
223
|
-
rom24_quickmud_python-2.9.
|
|
224
|
-
rom24_quickmud_python-2.9.
|
|
219
|
+
rom24_quickmud_python-2.9.8.dist-info/licenses/LICENSE,sha256=anQ2j9As6sIC8tZgQCXbo0-09JDH9vPiqhA9djnOvkY,1078
|
|
220
|
+
rom24_quickmud_python-2.9.8.dist-info/METADATA,sha256=yLpScJjRjG7Xt5MTzsablPHyRQW4TqV17ee886ql564,15670
|
|
221
|
+
rom24_quickmud_python-2.9.8.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
222
|
+
rom24_quickmud_python-2.9.8.dist-info/entry_points.txt,sha256=VFru08UQTXZA_CkK-NBjJmWHyEX5a3864fQHjhaojbw,41
|
|
223
|
+
rom24_quickmud_python-2.9.8.dist-info/top_level.txt,sha256=Fk1WPmabIIjp7_iZXLYpbAVqiq7lG7TeAHt30AsOKtQ,4
|
|
224
|
+
rom24_quickmud_python-2.9.8.dist-info/RECORD,,
|
|
File without changes
|
{rom24_quickmud_python-2.9.7.dist-info → rom24_quickmud_python-2.9.8.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{rom24_quickmud_python-2.9.7.dist-info → rom24_quickmud_python-2.9.8.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{rom24_quickmud_python-2.9.7.dist-info → rom24_quickmud_python-2.9.8.dist-info}/top_level.txt
RENAMED
|
File without changes
|