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 # 运算符两边的空格可写可不写 # 语法示例结束。