Skip to content

Commit 13826b8

Browse files
committed
Add EventCampaignScript
1 parent 543ad14 commit 13826b8

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

app/models/raw.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,6 +1675,7 @@
16751675
Column("targetIds", ARRAY(Integer)),
16761676
Column("warIds", ARRAY(Integer)),
16771677
Column("warGroupIds", ARRAY(Integer)),
1678+
Column("script", JSONB),
16781679
Column("eventId", Integer, index=True),
16791680
Column("target", Integer),
16801681
Column("idx", Integer),

app/schemas/nice.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,10 +1980,22 @@ class NiceEventQuest(BaseModelORJson):
19801980
isExcepted: bool = False
19811981

19821982

1983+
class NiceEventCampaignScript(BaseModelORJson):
1984+
# isNotDispEntryCondMessage: int | None = None
1985+
# OnlyMaxFuncGroupId: int | None = None
1986+
# showBoardMessageOnWarGroupId: int | None = None
1987+
addPassiveIconOrganization: str | None = None
1988+
addPassiveContentOrganization: str | None = None
1989+
addPassiveContentDetail: str | None = None
1990+
addPassiveDescriptionDetail: str | None = None
1991+
addPassiveSkillId: int | None = None
1992+
1993+
19831994
class NiceEventCampaign(BaseModelORJson):
19841995
targetIds: list[int]
19851996
warIds: list[int]
19861997
warGroupIds: list[int]
1998+
script: NiceEventCampaignScript
19871999
target: NiceCombineAdjustTarget
19882000
idx: int
19892001
value: int

app/schemas/raw.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,6 +1434,7 @@ class MstEventCampaign(BaseModelORJson):
14341434
targetIds: list[int]
14351435
warIds: list[int]
14361436
warGroupIds: list[int] | None = None
1437+
script: dict[str, Any] | None = None
14371438
eventId: int
14381439
target: int
14391440
idx: int

0 commit comments

Comments
 (0)