About

位置 (-1920,12,-175)

呼び出し元 毎tick実行するコマンド群9

剣士のスキルの1つであるストライを実行する。

コマンド群

No. コマンド
1 /execute @a[score_ActivatedSkill_min=1020,score_ActivatedSkill=1029] ~ ~ ~ /playsound entity.blaze.death master @a[r=16] ~ ~ ~ 1 2 0
2 /execute @a[score_ActivatedSkill_min=1020,score_ActivatedSkill=1029] ~ ~ ~ /scoreboard players operation @a[c=1] TargetCheck = @a[c=1] ActivatedSkill
3 /execute @a[score_ActivatedSkill_min=1020,score_ActivatedSkill=1029,tag=Sneaking] ~ ~ ~ /scoreboard players operation @a[r=15] TargetCheck > @a[c=1] TargetCheck
4 /effect @a[score_TargetCheck_min=1020,score_TargetCheck=1020] minecraft:strength 60 1
5 /effect @a[score_TargetCheck_min=1021,score_TargetCheck=1021] minecraft:strength 60 3
6 /effect @a[score_TargetCheck_min=1022,score_TargetCheck=1029] minecraft:strength 60 6
7 /execute @a[score_TargetCheck_min=1020,score_TargetCheck=1029] ~ ~ ~ /particle angryVillager ~ ~0.5 ~ 0.5 0.5 0.5 0 20 force
8 /scoreboard players reset @a[score_TargetCheck_min=0] TargetCheck

詳細

  1. ActivatedSkillが1020 ~ 1029であるプレイヤーを対象として以下の事柄を実行
    1. 対象プレイヤーから半径16m以内にいるすべてのプレイヤーに、効果音を鳴らす
    2. 対象プレイヤーのTargetCheckActivatedSkillを代入
    3. Sneakingを持っている対象プレイヤーから半径15m以内にいるすべてのプレイヤーのTargetCheckが対象のTargetCheckよりも小さいとき、対象のTargetCheckを代入
  2. TargetCheckの値によって異なるレベルの攻撃力上昇を60秒間付与(TargetCheckと攻撃力上昇のレベルについてを参照)
  3. TargetCheckが1020 ~ 1029であるすべてのプレイヤーの座標上で、パーティクルを表示
  4. TargetCheckが0以上であるすべてのプレイヤーのTargetCheckを0に設定

TargetCheckと攻撃力上昇のレベルについて

TargetCheck 攻撃力上昇のレベル スキルレベル
1020 2 1
1021 4 2
1022~1029 7 3