Skip to content

Commit c8f6dc8

Browse files
committed
Add new buff script
1 parent 4a513f6 commit c8f6dc8

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

app/core/basic.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ def get_nice_buff_script(
129129
"HP_LOWER",
130130
"INDIVIDUALITIE_COUNT_ABOVE",
131131
"INDIVIDUALITIE_COUNT_BELOW",
132+
"ckIndvCountAbove",
133+
"ckIndvCountBelow",
132134
"HP_HIGHER",
133135
"CounterMessage",
134136
"avoidanceText",
@@ -152,6 +154,8 @@ def get_nice_buff_script(
152154
for script_item in (
153155
"INDIVIDUALITIE_AND",
154156
"INDIVIDUALITIE_OR",
157+
"ckSelfCountIndividuality",
158+
"ckOpCountIndividuality",
155159
"UpBuffRateBuffIndiv",
156160
):
157161
if script_item in mstBuff.script:

app/schemas/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ class BuffScript(BaseModel):
121121
INDIVIDUALITIE_COUNT_BELOW: int | None = None
122122
INDIVIDUALITIE_AND: list[NiceTrait] | None = None
123123
INDIVIDUALITIE_OR: list[NiceTrait] | None = None
124+
ckSelfCountIndividuality: list[NiceTrait] | None = None
125+
ckOpCountIndividuality: list[NiceTrait] | None = None
126+
ckIndvCountAbove: int | None = None
127+
ckIndvCountBelow: int | None = None
124128
UpBuffRateBuffIndiv: Optional[list[NiceTrait]] = None
125129
HP_LOWER: Optional[int] = None
126130
HP_HIGHER: int | None = None

scripts/enum.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ export enum NiceFuncTargetType {
209209
HAND_COMMANDCARD_RANDOM_ONE = "handCommandcardRandomOne",
210210
FIELD_ALL = "fieldAll",
211211
NO_TARGET = "noTarget",
212+
FIELD_RANDOM = "fieldRandom",
212213
}
213214

214215
export enum NiceFuncApplyTargetType {
@@ -851,6 +852,9 @@ export enum NiceDataValsType {
851852
IgnoreShiftWhiteFade = "ignoreshiftwhitefade",
852853
BackStepTargets = "backsteptargets",
853854
ReplacePositionTargets = "replacepositiontargets",
855+
ApplySupportSvt = "applysupportsvt",
856+
ApplyHighestValueInFieldGroup = "applyhighestvalueinfieldgroup",
857+
IsClassIconChangeSaveGrand = "isclassiconchangesavegrand",
854858
}
855859

856860
export enum NiceClassRelationOverwriteType {

0 commit comments

Comments
 (0)