[バグ] Levelが最大のときに経験値を取るとすぐにレベルアップする
Closed this issue · 0 comments
NePonpon commented
発生したTUSBv13のVersion
v13.2.1α2
概要
50Lv+50CP(100Lv)を超えると必要経験値量が1になり、経験値を取るたびにHPとMPが回復する。
再現方法
- レベルを最大にする
- 経験値を取る
- すぐにレベルアップする
予想される動作
レベルが最大になっても1CP上げるのと同じ経験値量を必要とする
原因となるコマンド
#> job:level_up/
#レベルアップ打ち止め
execute if score @s Level matches 101.. run scoreboard players operation @s Exp = @s RequiredExp
execute if score @s Level matches 101.. run scoreboard players remove @s Exp 1
execute if score @s Level matches 101.. run scoreboard players set @s Level 100
NBTデータ
No response
ログ
No response