File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -205,16 +205,20 @@ def get_nice_buff_script(
205205 }
206206
207207 if "condBuffValue" in mstBuff .script :
208+ condBuffValues : list [dict [str , Any ]] = mstBuff .script ["condBuffValue" ]
208209 script ["condBuffValue" ] = [
209210 {
210211 "buffType" : BUFF_TYPE_NAME [cond ["buffType" ]],
211212 "condValue" : cond ["condValue" ],
213+ "buffCheckIndvType" : cond .get ("buffCheckIndvType" ),
212214 "buffIndividualities" : get_traits_list (cond ["buffIndividualitie" ]),
213215 "valueCondTargetType" : BUFF_CONDITION_TARGET_TYPE [
214216 cond ["valueCondTargetType" ]
215217 ],
218+ "filterActivePassive" : cond .get ("filterActivePassive" ),
219+ "filterSubStateEnable" : cond .get ("filterSubStateEnable" ),
216220 }
217- for cond in mstBuff . script [ "condBuffValue" ]
221+ for cond in condBuffValues
218222 ]
219223
220224 return script
Original file line number Diff line number Diff line change @@ -133,8 +133,11 @@ class CondBuffValue(BaseModel):
133133
134134 buffType : NiceBuffType
135135 condValue : str
136+ buffCheckIndvType : int | None = None
136137 buffIndividualities : list [NiceTrait ]
137138 valueCondTargetType : NiceBuffConditionTargetType
139+ filterActivePassive : int | None = None
140+ filterSubStateEnable : int | None = None
138141
139142
140143class BuffScript (BaseModel ):
You can’t perform that action at this time.
0 commit comments