Skip to content

Commit

Permalink
Added originalScript to buff
Browse files Browse the repository at this point in the history
  • Loading branch information
narumi147 committed Nov 25, 2023
1 parent 8c0987f commit 22406a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/core/nice/buff.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def get_nice_buff(
"detail": buffEntity.mstBuff.detail,
"type": BUFF_TYPE_NAME[buffEntity.mstBuff.type],
"buffGroup": buffEntity.mstBuff.buffGroup,
"originalScript": buffEntity.mstBuff.script,
"vals": get_traits_list(buffEntity.mstBuff.vals),
"tvals": get_traits_list(buffEntity.mstBuff.tvals),
"ckSelfIndv": get_traits_list(buffEntity.mstBuff.ckSelfIndv),
Expand Down
1 change: 1 addition & 0 deletions app/schemas/nice.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ class NiceBuff(BaseModelORJson):
description="Random stuffs that get added to the buff entry. "
"See each field description for more details.",
)
originalScript: dict[str, Any] = Field({}, title="Original Buff script")
vals: list[NiceTrait] = Field(
...,
title="Buff individualities",
Expand Down

0 comments on commit 22406a1

Please sign in to comment.