diff --git a/app/core/basic.py b/app/core/basic.py index dd5b037b..d373a621 100644 --- a/app/core/basic.py +++ b/app/core/basic.py @@ -852,7 +852,7 @@ def get_basic_quest_phase_from_raw( closedAt=mstQuestPhase.closedAt, phase=mstQuestPhase.phase, individuality=get_traits_list(mstQuestPhase.individuality), - qp=mstQuestPhase.qp, + qp=mstQuestPhase.qp if mstQuestPhase.qp else 0, exp=mstQuestPhase.playerExp, bond=mstQuestPhase.playerExp, battleBgId=mstQuestPhase.battleBgId, diff --git a/app/schemas/raw.py b/app/schemas/raw.py index f7405700..4b68193f 100644 --- a/app/schemas/raw.py +++ b/app/schemas/raw.py @@ -1910,7 +1910,7 @@ class MstQuestWithPhase(MstQuestWithWar): isNpcOnly: bool # true, battleBgId: int # 13400, battleBgType: int # 0, - qp: int # 1900, + qp: int | None # 1900, playerExp: int # 550, friendshipExp: int # 165 phaseGiftId: Optional[int] = None