目前已知的条件语句合集,如果大家有知道更多的语法欢迎留言补充,我会更新进来。
一、运算符:
- & :并且,优先计算
- | :或者
二、战斗状态相关
- time :战斗开始后的时间(单位:秒)
- fight_remains :战斗剩余时间(基于目标死亡时间估算)
- expected_combat_length :预计的战斗时长
- combat :是否在战斗中(1 = 是,0 = 否)
- time_to_die :当前目标的存活时间估算
- time_to_pct_x :目标生命值降到 x% 所需时间(如 time_to_pct_35 )
- buff.bloodlust.up :嗜血/英勇状态是否激活
- cycle_targets=1 :是否允许切换目标
三、角色信息
- level :玩家等级
- race.xxx :玩家种族(如 race.orc = 是否是兽人)
- class.xxx :玩家职业(如 class.mage = 是否是法师)
- spec.xxx :当前天赋专精(如 spec.frost = 是否是冰霜天赋)
- talent.xxx.enabled :天赋 xxx 是否被点出
- equipped.xxx :装备 xxx 是否被穿戴
- set_bonus.tierX_x :X 套装效果是否激活(如 set_bonus.tier31_4 )
四、目标信息
- target.health :目标当前生命值
- target.health.pct :目标生命值百分比
- target.time_to_die :目标死亡倒计时
- target.time_to_die.remains :目标剩余生存时间
- target.debuff.xxx.up :目标是否中了 xxx 减益(DoT)
- target.debuff.xxx.remains :xxx 减益剩余时间
- target.is_boss :目标是否为 Boss
- target.is_enemy :目标是否是敌对单位
五、目标数量
- active_enemies :当前战斗中的目标数量
- spell_targets.xxx :xxx 技能影响的目标数量
- raid_event.adds.in :下一波小怪刷新时间
- raid_event.adds.count :当前战斗中的额外目标数量
- raid_event.adds.remains :小怪的剩余存活时间
六、资源相关
- energy :当前能量值(如潜行者、武僧)
- mana :当前法力值
- rage :当前怒气值(战士)
- runic_power :当前符文能量(死亡骑士)
- combo_points :当前连击点(潜行者、德鲁伊)
- soul_shards :灵魂碎片(术士)
- holy_power :圣能(圣骑士)
- chi :气(武僧)
- focus :集中值(猎人)
- insanity :疯狂值(暗牧)
- arcane_charges :奥术充能(法师)
- maelstrom :漩涡值(萨满)
- fury :恶魔猎手的怒气
- pain :恶魔猎手的痛苦值
- astral_power :星界能量(平衡德)
- runic_power.deficit :符文能量的缺失量
- energy.deficit :能量的缺失量
七、技能冷却
- cooldown.xxx.ready :技能 xxx 是否冷却完毕
- cooldown.xxx.remains :技能 xxx 的冷却剩余时间
- cooldown.xxx.duration :技能 xxx 总冷却时间
- cooldown.xxx.up :技能 xxx 是否可以使用(等同于 cooldown.xxx.ready )
- recharge_time :充能技能下一次恢复所需时间
- charges :当前技能的可用次数(充能技能)
八、Buff/Debuff(增益/减益)
玩家buff
- buff.xxx.up :玩家是否有 xxx Buff
- buff.xxx.remains : Buff xxx 剩余时间
- buff.xxx.stack : Buff xxx 层数
- buff.xxx.down : Buff xxx 是否已经消失
- buff.xxx.expires : Buff xxx 什么时候结束
- buff.xxx.react : Buff 是否可以触发(一般用于战士的怒气 Buff)
- debuff.xxx.react:
- dot.xxx.remains:
- active_dot.xxx:
目标debuff
- target.debuff.xxx.up :目标是否中了 xxx Debuff
- target.debuff.xxx.remains :目标 xxx Debuff 剩余时间
- target.debuff.xxx.stack :目标 xxx Debuff 层数
九、GCD(公共冷却)
- gcd :当前 GCD 持续时间
- gcd.remains :GCD 剩余时间
- gcd.ready :GCD 是否冷却完毕
十、特定战斗状态
- moving :是否在移动
- buff.moving.up :是否处于移动状态
- cast_time :当前技能的施法时间
cast_remains :当前施法剩余时间 - channel_time :当前引导技能时间
- channel_remains :引导技能剩余时间
- execute_phase :是否进入 斩杀阶段 (如目标血量 < 35%)
- incoming_damage_5s :未来 5 秒内收到的伤害
- incoming_heal_5s :未来 5 秒内收到的治疗
十一、触发类
- prev_gcd.1.xxx :上一个 GCD 内施放的技能是否为xxx
- prev.1.xxx :上一个施放的技能是否是 xxx
- prev_off_gcd.1.xxx :上一个非 GCD 技能是否是 xxx
- pet.xxx.active :召唤的宠物 xxx 是否存在
- set_bonus.tierX_x :X 套装效果是否激活
十二、物品 & 饰品
- equipped.xxx :是否装备了 xxx 物品
- trinket.xxx.ready :xxx 饰品是否可用
- trinket.xxx.cooldown :xxx 饰品的冷却时间
- trinket.has_stat.xxx :xxx 饰品是否提供某种属性
- item.xxx.usable :xxx 物品是否可用
- item.xxx.cooldown :xxx 物品的冷却时间
没有回复内容