- コード: 全て選択
set {_temp} to random integer between 1 and 100
if name of held item is "テスト":
if {_temp} is between 1 and 3:
execute console command "テスト"
こんな感じでランダム機構作っているのでですかこれより軽量もしくは見やすい書き方あったら教えてほしいです
set {_temp} to random integer between 1 and 100
if name of held item is "テスト":
if {_temp} is between 1 and 3:
execute console command "テスト"
command /test:
trigger:
name of held item is "テスト"
chance of 3%:
execute console command "テスト"