Hekili循环代码帖子模板参考

建议在循环分享的帖子中进行一些说明,比如这个循环的主要特点,注意事项。

比如下面这样:

这是一个冰法大秘境的Hekili循环代码,根据默认循环进行了部分修改,增加了防御技能“寒冰护体”的释放判定,例如:

# “寒冰护体”当血量低于95%且没有“寒冰护体”buff的时候释放
health.pct < 95 & buff.ice_barrier.down

此技能要增加在“default”技能序列里面,增加后要点击“启用”,然后将优先级移动到最上面第一条。

以下是完整代码:

actions.precombat+=/arcane_intellect
actions.precombat+=/mirror_image
actions.precombat+=/variable,name=treacherous_transmitter_precombat_cast,value=12
actions.precombat+=/use_item,name=treacherous_transmitter
actions.precombat+=/blizzard,if=active_enemies>=3
actions.precombat+=/frostbolt,if=active_enemies<=2

actions+=/counterspell
actions+=/call_action_list,name=cds
actions+=/run_action_list,name=aoe_ff,strict=1,if=talent.frostfire_bolt&active_enemies>=3
actions+=/run_action_list,name=aoe_ss,strict=1,if=!talent.frostfire_bolt&active_enemies>=3
actions+=/run_action_list,name=cleave_ff,strict=1,if=talent.frostfire_bolt&active_enemies=2
actions+=/run_action_list,name=cleave_ss,strict=1,if=!talent.frostfire_bolt&active_enemies=2
actions+=/run_action_list,name=st_ff,strict=1,if=talent.frostfire_bolt
actions+=/run_action_list,name=st_ss,strict=1,if=!talent.frostfire_bolt

actions.aoe_ff+=/frostfire_bolt,if=talent.deaths_chill&buff.icy_veins.remains>9&(buff.deaths_chill.stack<9|buff.deaths_chill.stack=9&!action.frostfire_bolt.in_flight)
actions.aoe_ff+=/cone_of_cold,if=talent.coldest_snap&prev_gcd.1.comet_storm
actions.aoe_ff+=/freeze,if=freezable&(prev_gcd.1.glacial_spike|prev_gcd.1.comet_storm&time-action.cone_of_cold.last_used>8)
actions.aoe_ff+=/ice_nova,if=freezable&!prev_off_gcd.freeze&(prev_gcd.1.glacial_spike&remaining_winters_chill=0&debuff.winters_chill.down|prev_gcd.1.comet_storm&time-action.cone_of_cold.last_used>8)
actions.aoe_ff+=/frozen_orb
actions.aoe_ff+=/ice_lance,if=buff.excess_fire.stack=2&cooldown.comet_storm.up
actions.aoe_ff+=/blizzard,if=talent.ice_caller|talent.freezing_rain
actions.aoe_ff+=/comet_storm,if=cooldown.cone_of_cold.remains>10|cooldown.cone_of_cold.ready
actions.aoe_ff+=/ray_of_frost,if=talent.splintering_ray&remaining_winters_chill
actions.aoe_ff+=/glacial_spike,if=buff.icicles.stack=5
actions.aoe_ff+=/flurry,if=buff.excess_fire.up&buff.excess_frost.up
actions.aoe_ff+=/flurry,if=remaining_winters_chill=0&debuff.winters_chill.down
actions.aoe_ff+=/frostfire_bolt,if=buff.frostfire_empowerment.up&!buff.excess_fire.up
actions.aoe_ff+=/shifting_power,if=cooldown.icy_veins.remains>10&cooldown.frozen_orb.remains>10&(!talent.comet_storm|cooldown.comet_storm.remains>10)
actions.aoe_ff+=/ice_lance,if=buff.fingers_of_frost.up|remaining_winters_chill
actions.aoe_ff+=/frostfire_bolt
actions.aoe_ff+=/call_action_list,name=movement

actions.aoe_ss+=/cone_of_cold,if=talent.coldest_snap&!cooldown.frozen_orb.up&(prev_gcd.1.comet_storm|prev_gcd.1.frozen_orb&cooldown.comet_storm.remains>5)&(!talent.deaths_chill|buff.icy_veins.remains<9|buff.deaths_chill.stack>=15)
actions.aoe_ss+=/freeze,if=freezable&(prev_gcd.1.glacial_spike|!talent.glacial_spike)
actions.aoe_ss+=/flurry,if=remaining_winters_chill=0&debuff.winters_chill.down&prev_gcd.1.glacial_spike
actions.aoe_ss+=/ice_nova,if=freezable&!prev_off_gcd.freeze&prev_gcd.1.glacial_spike&remaining_winters_chill=0&debuff.winters_chill.down
actions.aoe_ss+=/ice_nova,if=talent.unerring_proficiency&time-action.cone_of_cold.last_used<10&time-action.cone_of_cold.last_used>7
actions.aoe_ss+=/frozen_orb
actions.aoe_ss+=/blizzard,if=talent.ice_caller|talent.freezing_rain
actions.aoe_ss+=/frostbolt,if=talent.deaths_chill&buff.icy_veins.remains>9&(buff.deaths_chill.stack<12|buff.deaths_chill.stack=12&!action.frostbolt.in_flight)
actions.aoe_ss+=/comet_storm
actions.aoe_ss+=/ray_of_frost,if=talent.splintering_ray&remaining_winters_chill&buff.icy_veins.down
actions.aoe_ss+=/glacial_spike,if=buff.icicles.stack=5&(cooldown.flurry.up|remaining_winters_chill|freezable&cooldown.ice_nova.ready)
actions.aoe_ss+=/shifting_power,if=cooldown.icy_veins.remains>10&(fight_remains+15>cooldown.icy_veins.remains)
actions.aoe_ss+=/ice_lance,if=buff.fingers_of_frost.up|remaining_winters_chill
actions.aoe_ss+=/flurry,if=remaining_winters_chill=0&debuff.winters_chill.down
actions.aoe_ss+=/frostbolt
actions.aoe_ss+=/call_action_list,name=movement

actions.cds+=/use_item,name=treacherous_transmitter,if=boss&fight_remains<32+20*equipped.spymasters_web|prev_off_gcd.icy_veins|(!variable.boltspam|equipped.spymasters_web)&(cooldown.icy_veins.remains<12|cooldown.icy_veins.remains<22&cooldown.shifting_power.remains<10)
## actions.cds+=/do_treacherous_transmitter_task,if=fight_remains<18|(buff.cryptic_instructions.remains<?buff.realigning_nexus_convergence_divergence.remains<?buff.errant_manaforge_emission.remains)<(action.shifting_power.execute_time+1*talent.ray_of_frost)
actions.cds+=/use_item,name=spymasters_web,if=boss&fight_remains<20|buff.icy_veins.remains<19&(boss&fight_remains<105|buff.spymasters_report.stack>=32)&(buff.icy_veins.remains>15|trinket.treacherous_transmitter.cooldown.remains>50)
actions.cds+=/use_item,name=imperfect_ascendancy_serum,if=buff.icy_veins.remains>15|boss&fight_remains<20
actions.cds+=/use_item,name=burst_of_knowledge,if=buff.icy_veins.remains>15|boss&fight_remains<20
actions.cds+=/potion,if=boss&fight_remains<35|buff.icy_veins.remains>9&(fight_remains>315|cooldown.icy_veins.remains+12>fight_remains)
actions.cds+=/icy_veins,if=buff.icy_veins.remains<gcd.max*2
# Manual change from time=0, which the sims use but the addon cannot
actions.cds+=/flurry,if=time<0.2&active_enemies<=2
actions.cds+=/use_items
## actions.cds+=/invoke_external_buff,name=power_infusion,if=buff.power_infusion.down
## actions.cds+=/invoke_external_buff,name=blessing_of_summer,if=buff.blessing_of_summer.down
actions.cds+=/blood_fury
actions.cds+=/berserking,if=buff.icy_veins.remains>9&buff.icy_veins.remains<15|boss&fight_remains<15
actions.cds+=/fireblood
actions.cds+=/ancestral_call

actions.cleave_ff+=/frostfire_bolt,if=talent.deaths_chill&buff.icy_veins.remains>9&(buff.deaths_chill.stack<4|buff.deaths_chill.stack=4&!action.frostfire_bolt.in_flight)
actions.cleave_ff+=/freeze,if=freezable&prev_gcd.1.glacial_spike
actions.cleave_ff+=/ice_nova,if=freezable&prev_gcd.1.glacial_spike&remaining_winters_chill=0&debuff.winters_chill.down&!prev_off_gcd.freeze
actions.cleave_ff+=/flurry,if=prev_gcd.1.glacial_spike&!prev_off_gcd.freeze
actions.cleave_ff+=/flurry,if=(buff.icicles.stack<5|!talent.glacial_spike)&remaining_winters_chill=0&debuff.winters_chill.down&(prev_gcd.1.frostfire_bolt|prev_gcd.1.comet_storm)
actions.cleave_ff+=/flurry,if=(buff.icicles.stack<5|!talent.glacial_spike)&buff.excess_fire.up&buff.excess_frost.up
actions.cleave_ff+=/comet_storm
actions.cleave_ff+=/frozen_orb
actions.cleave_ff+=/blizzard,if=buff.freezing_rain.up&talent.ice_caller
actions.cleave_ff+=/glacial_spike,if=buff.icicles.stack=5
actions.cleave_ff+=/ray_of_frost,if=remaining_winters_chill=1
actions.cleave_ff+=/frostfire_bolt,if=buff.frostfire_empowerment.up&!buff.excess_fire.up
actions.cleave_ff+=/shifting_power,if=cooldown.icy_veins.remains>10&cooldown.frozen_orb.remains>10&(!talent.comet_storm|cooldown.comet_storm.remains>10)&(!talent.ray_of_frost|cooldown.ray_of_frost.remains>10)
actions.cleave_ff+=/ice_lance,if=buff.fingers_of_frost.up|remaining_winters_chill
actions.cleave_ff+=/frostfire_bolt
actions.cleave_ff+=/call_action_list,name=movement

actions.cleave_ss+=/flurry,if=prev_gcd.1.glacial_spike&!prev_off_gcd.freeze
actions.cleave_ss+=/freeze,if=freezable&prev_gcd.1.glacial_spike
actions.cleave_ss+=/ice_nova,if=freezable&!prev_off_gcd.freeze&remaining_winters_chill=0&debuff.winters_chill.down&prev_gcd.1.glacial_spike
actions.cleave_ss+=/flurry,if=debuff.winters_chill.down&remaining_winters_chill=0&prev_gcd.1.frostbolt
actions.cleave_ss+=/ice_lance,if=buff.fingers_of_frost.stack=2
actions.cleave_ss+=/comet_storm,if=remaining_winters_chill&buff.icy_veins.down
actions.cleave_ss+=/frozen_orb,if=(cooldown.icy_veins.remains>30|buff.icy_veins.up)
actions.cleave_ss+=/ray_of_frost,if=prev_gcd.1.flurry&buff.icy_veins.down
actions.cleave_ss+=/glacial_spike,if=buff.icicles.stack=5&(cooldown.flurry.up|remaining_winters_chill|freezable&cooldown.ice_nova.ready)
actions.cleave_ss+=/shifting_power,if=cooldown.icy_veins.remains>10&!cooldown.flurry.up&(fight_remains+15>cooldown.icy_veins.remains)
actions.cleave_ss+=/frostbolt,if=talent.deaths_chill&buff.icy_veins.remains>9&(buff.deaths_chill.stack<6|buff.deaths_chill.stack=6&!action.frostbolt.in_flight)
actions.cleave_ss+=/blizzard,if=talent.freezing_rain&talent.ice_caller
actions.cleave_ss+=/ice_lance,if=buff.fingers_of_frost.up|remaining_winters_chill
actions.cleave_ss+=/frostbolt
actions.cleave_ss+=/call_action_list,name=movement

actions.movement+=/any_blink,if=movement.distance>10
actions.movement+=/ice_floes,if=buff.ice_floes.down
actions.movement+=/ice_nova
actions.movement+=/cone_of_cold,if=!talent.coldest_snap&active_enemies>=2
actions.movement+=/arcane_explosion,if=mana.pct>30&active_enemies>=2
actions.movement+=/fire_blast
actions.movement+=/ice_lance

actions.st_ff+=/flurry,if=(buff.icicles.stack<5|!talent.glacial_spike)&remaining_winters_chill=0&debuff.winters_chill.down&(prev_gcd.1.glacial_spike|prev_gcd.1.frostfire_bolt|prev_gcd.1.comet_storm)
actions.st_ff+=/flurry,if=(buff.icicles.stack<5|!talent.glacial_spike)&buff.excess_fire.up&buff.excess_frost.up
actions.st_ff+=/comet_storm
actions.st_ff+=/glacial_spike,if=buff.icicles.stack=5
actions.st_ff+=/ray_of_frost,if=remaining_winters_chill=1
actions.st_ff+=/frozen_orb
actions.st_ff+=/shifting_power,if=cooldown.icy_veins.remains>10&cooldown.frozen_orb.remains>10&(!talent.comet_storm|cooldown.comet_storm.remains>10)&(!talent.ray_of_frost|cooldown.ray_of_frost.remains>10)
actions.st_ff+=/ice_lance,if=buff.fingers_of_frost.up|remaining_winters_chill
actions.st_ff+=/frostfire_bolt
actions.st_ff+=/call_action_list,name=movement

actions.st_ss+=/flurry,if=debuff.winters_chill.down&remaining_winters_chill=0&(prev_gcd.1.glacial_spike|prev_gcd.1.frostbolt)
actions.st_ss+=/comet_storm,if=remaining_winters_chill&buff.icy_veins.down
actions.st_ss+=/frozen_orb,if=(cooldown.icy_veins.remains>30|buff.icy_veins.up)
actions.st_ss+=/ray_of_frost,if=prev_gcd.1.flurry
actions.st_ss+=/glacial_spike,if=buff.icicles.stack=5&(cooldown.flurry.up|remaining_winters_chill)
actions.st_ss+=/shifting_power,if=cooldown.icy_veins.remains>10&!cooldown.flurry.up&(fight_remains+15>cooldown.icy_veins.remains)
actions.st_ss+=/ice_lance,if=buff.fingers_of_frost.up|remaining_winters_chill
actions.st_ss+=/frostbolt
actions.st_ss+=/call_action_list,name=movement

其他备用语句:

#火法的“烈焰护体”
health.pct < 95 & buff.blazing_barrier.down
#奥法的“棱光护体”
health.pct < 95 & buff.prismatic_barrier.down

 

请登录后发表评论

    没有回复内容