About

位置 (-1920,16,-189)

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

現在設定されているスキルについて表示を行う。

コマンド群

No. コマンド 状態
1 /tellraw @a[score_ShowSkillSlot_min=4,score_ShowSkillSlot=4,score_ModeState_min=1] {“translate”:”現在のモードスキル設定(%1$s中) %2$s/%3$s”,”bold”:true,”with”:[{“text”:”ルビーモード”,”color”:”red”},{“text”:”↑”,”color”:”red”},{“text”:”↓”,”color”:”blue”}]}  
2 /tellraw @a[score_ShowSkillSlot_min=4,score_ShowSkillSlot=4,score_ModeState=-1] {“translate”:”現在のモードスキル設定(%1$s中) %2$s/%3$s”,”bold”:true,”with”:[{“text”:”サファイアモード”,”color”:”blue”},{“text”:”↑”,”color”:”red”},{“text”:”↓”,”color”:”blue”}]}  
3 /tellraw @a[score_ShowSkillSlot_min=4,score_ShowSkillSlot=4,score_ModeState_min=0,score_ModeState=0] {“translate”:”現在のモードスキル設定(%1$s中) %2$s/%3$s”,”bold”:true,”with”:[{“text”:”モード未設定”,”color”:”gray”},{“text”:”↑”,”color”:”red”},{“text”:”↓”,”color”:”blue”}]}  
4 /execute @a[score_ShowSkillSlot_min=4,score_ShowSkillSlot=4] ~ ~ ~ /scoreboard players operation @a[c=1] ShowSkill = @a[c=1] ModeSkillA  
5 /execute @a[score_ShowSkillSlot_min=3,score_ShowSkillSlot=3] ~ ~ ~ /scoreboard players operation @a[c=1] ShowSkill = @a[c=1] ModeSkillB  
6 /tellraw @a[score_ShowSkillSlot_min=2,score_ShowSkillSlot=2] {“translate”:”現在のサポートスキル設定 %1$s/%2$s”,”bold”:true,”with”:[{“text”:”↑”,”color”:”red”},{“text”:”↓”,”color”:”blue”}]}  
7 /execute @a[score_ShowSkillSlot_min=2,score_ShowSkillSlot=2] ~ ~ ~ /scoreboard players operation @a[c=1] ShowSkill = @a[c=1] InstantSkillA 条件付き
8 /execute @a[score_ShowSkillSlot_min=1,score_ShowSkillSlot=1] ~ ~ ~ /scoreboard players operation @a[c=1] ShowSkill = @a[c=1] InstantSkillB  
9 /scoreboard players remove @a[score_ShowSkillSlot_min=1] ShowSkillSlot 1  

詳細

  1. ShowSkillSlotが4であり、ModeStateが1以上であるすべてのプレイヤーに現在のルビーのモードスキル設定を表示
  2. ShowSkillSlotが4であり、ModeStateが-1以下であるすべてのプレイヤーに現在のサファイアのモードスキル設定を表示
  3. ShowSkillSlotが4であり、ModeStateが0であるすべてのプレイヤーにモード未設定時の現在のモードスキル設定を表示
  4. ShowSkillSlotが4であるプレイヤーのShowSkillModeSkillAを代入
  5. ShowSkillSlotが3であるプレイヤーのShowSkillModeSkillBを代入
  6. ShowSkillSlotが2であるすべてのプレイヤー現在のサポートスキル設定を表示
  7. ShowSkillSlotが2であるプレイヤーのShowSkillInstantSkillAを代入
  8. ShowSkillSlotが1であるプレイヤーのShowSkillInstantSkillBを代入
  9. ShowSkillSlotが1以上であるすべてのプレイヤーのShowSkillSlotから1を引く