About
位置 (-1920,10,-171)
呼び出し元 毎tick実行するコマンド群9
忍者のスキルの1つである火遁を実行する。
コマンド群
| No. | コマンド |
|---|---|
| 1 | /execute @a[score_ActivatedSkill_min=2060,score_ActivatedSkill=2069] ~ ~ ~ /playsound entity.zombie.infect master @a[r=16] ~ ~ ~ 1 0.5 0 |
| 2 | /execute @a[score_ActivatedSkill_min=2060,score_ActivatedSkill=2069] ~ ~ ~ /scoreboard players operation @a[c=1] TargetCheck = @a[c=1] ActivatedSkill |
| 3 | /execute @a[score_ActivatedSkill_min=2060,score_ActivatedSkill=2069,tag=Sneaking] ~ ~ ~ /scoreboard players operation @a[r=15] TargetCheck > @a[c=1] TargetCheck |
| 4 | /effect @a[score_TargetCheck_min=2060,score_TargetCheck=2069] minecraft:fire_resistance 60 0 |
| 5 | /execute @a[score_TargetCheck_min=2060,score_TargetCheck=2069] ~ ~ ~ /particle flame ~ ~1 ~ 0.5 0.5 0.5 0.1 30 force |
| 6 | /scoreboard players reset @a[score_TargetCheck_min=0] TargetCheck |
詳細
ActivatedSkillが2060 ~ 2069であるプレイヤーを対象として、以下の事柄を実行
- 対象プレイヤーから半径16m以内のすべてのプレイヤーに、効果音を鳴らす
- 対象プレイヤーの
TargetCheckにActivatedSkillを代入 - 対象プレイヤーが
Sneakingを持っているとき、半径15m以内のすべてのプレイヤーのTargetCheckが対象プレイヤーのTargetCheckより小さければ、対象プレイヤーのものを代入 TargetCheckが2060 ~ 2069であるすべてのプレイヤーに、火炎耐性 Lv.1 を60秒間付与TargetCheckが2060 ~ 2069であるすべてのプレイヤーの座標上で、パーティクルを表示TargetCheckが0以上であるすべてのプレイヤーのTargetCheckを0に設定