rotation "語法檢查:所有條件與旗標" # 語法範例,不是實戰循環:法術 ID 未設定(0)。 # 其中包含所有條件類型、所有欄位旗標、按編號引用與一條無條件規則。 buff1 Dot = "目標身上的減益" # 光環 1 buff2 Proc = "可疊層的增益" slot1 Manual_Button = "只由你按(M)" slot2 Charges_Spell = "有充能的法術" slot3 Glow_Spell = "按鈕會發光的法術" slot4 Off_Gcd = "不佔 GCD(O)" slot5 Queued_Macro = "不佔 GCD,在佇列視窗(OQ)" slot6 Channel_Spell = "引導(C)" slot7 Burst_Spell = "由 Burst 按鈕控制的冷卻技能" slot8 Ground_Spell = "地面目標法術(巨集 @player)" slot9 Defensive = "防禦技能" slot10 Filler = "填充技能" resource1 PlayerHP resource2 TargetHP resource3 Energy resource4 Combo_Points use Manual_Button when # 1:無條件,M 欄位(跳過) use Defensive when # 2:生命力與防禦開關 defensives == 1 and PlayerHP <= 35 use Charges_Spell when # 3:充能 Charges_Spell.charges >= 2 # 兩層充能 or Charges_Spell.charges == 1 and Charges_Spell.cd <= 20 # 第二層快好了 use Glow_Spell when # 4:發光與距離 Glow_Spell.glow and target.distance <= 8 use Off_Gcd when # 5:層數 Proc.up and Proc.stacks >= 3 use Queued_Macro when # 6:光環不存在與敵人數量 Proc.down and enemies >= 2 use Channel_Spell when # 7:不發光、就緒、移動 Glow_Spell.noglow and Channel_Spell.ready and movement == 0 use Burst_Spell when # 8:「自動」模式下的 Burst,或 3+ 個目標時的「單體」模式 cd == 1 and aoe == 0 and st == 0 and Combo_Points >= 50 and Off_Gcd.oncd or st == 1 and enemies >= 3 and Energy >= 40 use Ground_Spell when # 9:「地面法術」開關與「範圍」模式 ground_spells == 1 and aoe == 1 use Filler when # 10:按編號刷新 DoT,目標生命力 Dot.down and TargetHP >= 50 or Dot.up and Dot.duration <= 30 # 一個字串裡寫兩個條件 or Combo_Points < 65 and Energy >= 30 # 運算子兩邊的空格可寫可不寫 # 語法範例結束。