File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 77from ...schemas .nice import NiceGrandGraph , NiceGrandGraphDetail
88from ...schemas .raw import MstGrandGraph , MstGrandGraphDetail
99from .. import raw
10+ from ..utils import get_traits_list
1011from .item import get_nice_item_amount , get_nice_item_from_raw
1112
1213
1516
1617def get_nice_grand_graph_detail (detail : MstGrandGraphDetail ) -> NiceGrandGraphDetail :
1718 return NiceGrandGraphDetail (
19+ grandGraphId = detail .grandGraphId ,
1820 baseClassId = detail .baseClassId ,
1921 grandClassId = detail .grandClassId ,
2022 baseClass = get_class_name (detail .baseClassId ),
@@ -24,6 +26,7 @@ def get_nice_grand_graph_detail(detail: MstGrandGraphDetail) -> NiceGrandGraphDe
2426 condType = COND_TYPE_NAME [detail .condType ],
2527 condTargetId = detail .condTargetId ,
2628 condNum = detail .condNum ,
29+ adjustIndividuality = get_traits_list (detail .adjustIndividuality ),
2730 )
2831
2932
Original file line number Diff line number Diff line change 28092809 Column ("condType" , Integer ),
28102810 Column ("condTargetId" , Integer ),
28112811 Column ("condNum" , Integer ),
2812+ Column ("adjustIndividuality" , ARRAY (Integer )),
28122813)
28132814
28142815
Original file line number Diff line number Diff line change @@ -3208,7 +3208,7 @@ class NiceClassBoard(BaseModelORJson):
32083208
32093209
32103210class NiceGrandGraphDetail (BaseModelORJson ):
3211- # grandGraphId: int
3211+ grandGraphId : int
32123212 baseClassId : int
32133213 grandClassId : int
32143214 baseClass : SvtClass | str
@@ -3218,6 +3218,7 @@ class NiceGrandGraphDetail(BaseModelORJson):
32183218 condType : NiceCondType
32193219 condTargetId : int
32203220 condNum : int
3221+ adjustIndividuality : list [NiceTrait ]
32213222
32223223
32233224class NiceGrandGraph (BaseModelORJson ):
Original file line number Diff line number Diff line change @@ -2631,6 +2631,7 @@ class MstGrandGraphDetail(BaseModelORJson):
26312631 condType : int
26322632 condTargetId : int
26332633 condNum : int
2634+ adjustIndividuality : list [int ]
26342635
26352636
26362637class MstFuncDisp (BaseModelORJson ):
You can’t perform that action at this time.
0 commit comments