About
位置 (-1920,8,-1622)
呼び出し元 毎tick実行するコマンド群10
白魔導士のスキルの1つであるキアリクを実行する。
コマンド群
| No. | コマンド |
|---|---|
| 1 | /execute @a[score_ActivatedSkill_min=4000,score_ActivatedSkill=4009] ~ ~ ~ /playsound entity.rabbit.hurt master @a[r=16] ~ ~ ~ 1 2 0 |
| 2 | /execute @a[score_ActivatedSkill_min=4000,score_ActivatedSkill=4009] ~ ~ ~ /scoreboard players operation @a[c=1] TargetCheck = @a[c=1] ActivatedSkill |
| 3 | /execute @a[score_ActivatedSkill_min=4000,score_ActivatedSkill=4009,tag=Sneaking] ~ ~ ~ /scoreboard players operation @a[r=15] TargetCheck > @a[c=1] TargetCheck |
| 4 | /scoreboard players tag @a[score_TargetCheck_min=4000,score_TargetCheck=4009] add ClearBadStatus |
| 5 | /execute @a[score_TargetCheck_min=4000,score_TargetCheck=4009] ~ ~ ~ /particle happyVillager ~ ~1 ~ 0.5 0.5 0.5 0 30 force |
| 6 | /scoreboard players reset @a[score_TargetCheck_min=0] TargetCheck |
詳細
ActivatedSkillが4000 ~ 4009であるすべてのプレイヤーに対し、以下の事柄を実行- 対象プレイヤーから半径16m以内のすべてのプレイヤーに、効果音を鳴らす
- 対象プレイヤーの
TargetCheckにActivatedSkillを代入 Sneakingを持った対象プレイヤーから半径15m以内のすべてのプレイヤーのTargetCheckが対象プレイヤーのTargetCheckよりも小さいとき、それを代入
TargetCheckが4000 ~ 4009であるすべてのプレイヤーに対し、以下の事柄を実行ClearBadStatusを付与- 対象プレイヤーの座標上にパーティクルを表示
TargetCheckが0以上であるすべてのプレイヤーのTargetCheckを0に設定