Skip to content

Commit

Permalink
Fixed basic quest phase due to JP not having qp
Browse files Browse the repository at this point in the history
  • Loading branch information
squaresmile committed Dec 12, 2024
1 parent 907d9dd commit d353665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/core/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion app/schemas/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d353665

Please sign in to comment.