Skip to content

Commit

Permalink
Merge pull request #1374 from haiiro2gou/fix/haiiro_mob1004
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenCMD committed Jun 26, 2023
2 parents 68a9e66 + 88ca25a commit 1d3c28e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# HP50%以下
execute if entity @s[tag=RW.HPless50per] run scoreboard players operation $Random Temporary %= $7 Const
# HP50%より上75%未満
execute if entity @s[tag=RW.HPless75per] unless entity @s[tag=RW.HPless50per] run scoreboard players operation $Random Temporary %= $6 Const
execute unless entity @s[tag=RW.HPless50per] if entity @s[tag=RW.HPless75per] run scoreboard players operation $Random Temporary %= $6 Const
# HP75%以上
execute unless entity @s[tag=RW.HPless50per,tag=RW.HPless75per] run scoreboard players operation $Random Temporary %= $3 Const
execute unless entity @s[tag=RW.HPless50per] unless entity @s[tag=RW.HPless75per] run scoreboard players operation $Random Temporary %= $3 Const

# デバッグのコマンド
#scoreboard players set $Random Temporary 0
Expand Down

0 comments on commit 1d3c28e

Please sign in to comment.