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