Fix when json promotion is None but userdata is 0

This commit is contained in:
ishkong 2025-02-18 14:55:40 +08:00 committed by GitHub
parent d5791539bd
commit 6368f4a814
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ class SingleEquipmentPromotion(Struct):
BaseAttackAdd: PromotionAttr
BaseDefence: PromotionAttr
BaseDefenceAdd: PromotionAttr
Promotion: Union[int, None] = None
Promotion: int = 0
PlayerLevelRequire: Union[int, None] = None