mirror of
https://github.com/baiqwerdvd/StarRailDamageCal.git
synced 2025-05-08 04:55:50 +08:00
Fix when json promotion is None but userdata is 0
This commit is contained in:
parent
d5791539bd
commit
6368f4a814
@ -46,7 +46,7 @@ class SingleEquipmentPromotion(Struct):
|
|||||||
BaseAttackAdd: PromotionAttr
|
BaseAttackAdd: PromotionAttr
|
||||||
BaseDefence: PromotionAttr
|
BaseDefence: PromotionAttr
|
||||||
BaseDefenceAdd: PromotionAttr
|
BaseDefenceAdd: PromotionAttr
|
||||||
Promotion: Union[int, None] = None
|
Promotion: int = 0
|
||||||
PlayerLevelRequire: Union[int, None] = None
|
PlayerLevelRequire: Union[int, None] = None
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user