Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPC 的 giveItem 的 maxAmount 設 1 還是拿得到兩個以上的同個物品 #210

Open
zeze-zeze opened this issue Oct 31, 2021 · 1 comment

Comments

@zeze-zeze
Copy link
Contributor

No description provided.

@zeze-zeze zeze-zeze changed the title NPC 的 giveItems 的 maxAmount 設 1 還是拿得到兩個以上的同個物品 NPC 的 giveItem 的 maxAmount 設 1 還是拿得到兩個以上的同個物品 Oct 31, 2021
@fanlan1210
Copy link
Collaborator

NPC JSON 裡的 maxAmount 值必須為數字,否則會被視為無效資料而採用預設值(1)。
而範例 NPC 格式錯誤的問題已經在 #244 更新。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants