@@ -111,10 +111,12 @@ void blood( player_t* p )
111
111
action_priority_list_t * default_ = p->get_action_priority_list ( " default" );
112
112
action_priority_list_t * precombat = p->get_action_priority_list ( " precombat" );
113
113
action_priority_list_t * high_prio_actions = p->get_action_priority_list ( " high_prio_actions" );
114
+ action_priority_list_t * db_cds = p->get_action_priority_list ( " db_cds" );
114
115
action_priority_list_t * deathbringer = p->get_action_priority_list ( " deathbringer" );
115
116
action_priority_list_t * san_cds = p->get_action_priority_list ( " san_cds" );
116
117
action_priority_list_t * san_drw = p->get_action_priority_list ( " san_drw" );
117
118
action_priority_list_t * sanlayn = p->get_action_priority_list ( " sanlayn" );
119
+ action_priority_list_t * variables = p->get_action_priority_list ( " variables" );
118
120
119
121
precombat->add_action ( " snapshot_stats" );
120
122
precombat->add_action ( " deaths_caress" );
@@ -130,49 +132,42 @@ void blood( player_t* p )
130
132
default_->add_action ( " fireblood,if=buff.dancing_rune_weapon.up" );
131
133
default_->add_action ( " potion,if=buff.dancing_rune_weapon.up" );
132
134
default_->add_action ( " vampiric_blood,if=!buff.vampiric_blood.up" );
135
+ default_->add_action ( " call_action_list,name=variables" );
133
136
default_->add_action ( " call_action_list,name=high_prio_actions" );
134
137
default_->add_action ( " run_action_list,name=san_drw,if=hero_tree.sanlayn&buff.dancing_rune_weapon.up" );
135
138
default_->add_action ( " call_action_list,name=san_cds,if=hero_tree.sanlayn" );
136
139
default_->add_action ( " run_action_list,name=sanlayn,if=hero_tree.sanlayn" );
140
+ default_->add_action ( " call_action_list,name=db_cds,if=hero_tree.deathbringer" );
137
141
default_->add_action ( " run_action_list,name=deathbringer,if=hero_tree.deathbringer" );
138
142
139
143
high_prio_actions->add_action ( " blood_tap,use_off_gcd=1,if=(rune<=2&rune.time_to_3>gcd.max&charges_fractional>=1.8)" );
140
144
high_prio_actions->add_action ( " blood_tap,use_off_gcd=1,if=(rune<=1&rune.time_to_3>gcd.max)" );
141
145
high_prio_actions->add_action ( " raise_dead,use_off_gcd=1" );
142
146
high_prio_actions->add_action ( " deaths_caress,if=buff.bone_shield.remains<gcd.max*2" );
143
147
high_prio_actions->add_action ( " death_strike,if=buff.coagulopathy.up&buff.coagulopathy.remains<=gcd.max*2" );
144
- high_prio_actions->add_action ( " death_and_decay ,if=!buff.death_and_decay.up" );
148
+ high_prio_actions->add_action ( " any_dnd ,if=!buff.death_and_decay.up" );
145
149
high_prio_actions->add_action ( " blood_boil,if=dot.blood_plague.remains<gcd.max*2" );
146
- high_prio_actions->add_action ( " soul_reaper,if=active_enemies=1&target.time_to_pct_35<5&target.time_to_die>(dot.soul_reaper.remains+5)&(!hero_tree.sanlayn|pet.dancing_rune_weapon.remains<5)" );
147
-
148
- deathbringer->add_action ( " rune_tap,if=rune>2" );
149
- deathbringer->add_action ( " dancing_rune_weapon" );
150
- deathbringer->add_action ( " death_strike,if=buff.coagulopathy.remains<=gcd" );
151
- deathbringer->add_action ( " marrowrend,if=!buff.bone_shield.up|buff.bone_shield.remains<1.5|buff.bone_shield.stack<=1" );
152
- deathbringer->add_action ( " marrowrend,if=(buff.exterminate.up)&(cooldown.reapers_mark.up|cooldown.reapers_mark.remains<3)" );
153
- deathbringer->add_action ( " deaths_caress,if=!buff.bone_shield.up|buff.bone_shield.remains<1.5|buff.bone_shield.stack<=1" );
154
- deathbringer->add_action ( " blood_boil,if=dot.blood_plague.remains<3" );
155
- deathbringer->add_action ( " bonestorm,if=buff.bone_shield.stack>=5&(!talent.shattering_bone.enabled|death_and_decay.ticking)&!buff.dancing_rune_weapon.remains" );
156
- deathbringer->add_action ( " soul_reaper,if=active_enemies<=2&buff.reaper_of_souls.up&target.time_to_die>(dot.soul_reaper.remains+5)" );
157
- deathbringer->add_action ( " soul_reaper,if=active_enemies<=2&target.time_to_pct_35<5&target.time_to_die>(dot.soul_reaper.remains+5)" );
158
- deathbringer->add_action ( " death_and_decay,if=((dot.reapers_mark.ticking)&!death_and_decay.ticking)|!buff.death_and_decay.up" );
159
- deathbringer->add_action ( " marrowrend,if=buff.exterminate.up" );
160
- deathbringer->add_action ( " bonestorm,if=buff.bone_shield.stack>=5&(!talent.shattering_bone.enabled|death_and_decay.ticking)&buff.dancing_rune_weapon.remains" );
161
- deathbringer->add_action ( " death_strike,if=(runic_power.deficit<35|(runic_power.deficit<41&buff.dancing_rune_weapon.up))" );
162
- deathbringer->add_action ( " reapers_mark" );
150
+ high_prio_actions->add_action ( " soul_reaper,if=active_enemies=1&(target.time_to_pct_35<5)&target.time_to_die>(dot.soul_reaper.remains+5)&(!hero_tree.sanlayn|pet.dancing_rune_weapon.remains<5)" );
151
+ high_prio_actions->add_action ( " rune_tap,use_off_gcd=1,if=rune>3" );
152
+
153
+ db_cds->add_action ( " reapers_mark" );
154
+ db_cds->add_action ( " dancing_rune_weapon" );
155
+ db_cds->add_action ( " bonestorm,if=buff.bone_shield.stack>=5&(!talent.shattering_bone.enabled|death_and_decay.ticking)" );
156
+ db_cds->add_action ( " tombstone,if=buff.bone_shield.stack>=8&(!talent.shattering_bone.enabled|death_and_decay.ticking)&cooldown.dancing_rune_weapon.remains>=25" );
157
+ db_cds->add_action ( " abomination_limb,if=!buff.dancing_rune_weapon.up" );
158
+
159
+ deathbringer->add_action ( " death_strike,if=runic_power.deficit<variable.rp_deficit_threshold+(pet.dancing_rune_weapon.active*3)+(talent.everlasting_bond*3)" );
160
+ deathbringer->add_action ( " marrowrend,if=buff.exterminate.react" );
163
161
deathbringer->add_action ( " marrowrend,if=buff.bone_shield.stack<6&!dot.bonestorm.ticking" );
164
- deathbringer->add_action ( " tombstone,if=buff.bone_shield.stack>=8&(!talent.shattering_bone.enabled|death_and_decay.ticking)&cooldown.dancing_rune_weapon.remains>=25" );
165
- deathbringer->add_action ( " abomination_limb,if=!buff.dancing_rune_weapon.up" );
166
162
deathbringer->add_action ( " blood_boil,if=pet.dancing_rune_weapon.active&!drw.bp_ticking" );
167
- deathbringer->add_action ( " any_dnd ,if=! buff.death_and_decay .remains" );
163
+ deathbringer->add_action ( " soul_reaper ,if=buff.reaper_of_souls.up&cooldown.dancing_rune_weapon .remains" );
168
164
deathbringer->add_action ( " blooddrinker,if=!buff.dancing_rune_weapon.up&active_enemies<=2&buff.coagulopathy.remains>3" );
169
165
deathbringer->add_action ( " death_strike" );
170
166
deathbringer->add_action ( " consumption" );
171
167
deathbringer->add_action ( " blood_boil,if=charges_fractional>=1.5" );
172
168
deathbringer->add_action ( " heart_strike,if=rune>=1|rune.time_to_2<gcd" );
173
169
deathbringer->add_action ( " blood_boil" );
174
170
deathbringer->add_action ( " heart_strike" );
175
- deathbringer->add_action ( " soul_reaper,if=buff.reaper_of_souls.up" );
176
171
deathbringer->add_action ( " arcane_torrent,if=runic_power.deficit>20" );
177
172
deathbringer->add_action ( " deaths_caress,if=buff.bone_shield.stack<11" );
178
173
@@ -182,7 +177,7 @@ void blood( player_t* p )
182
177
san_cds->add_action ( " tombstone,if=(!buff.dancing_rune_weapon.up&buff.death_and_decay.up)&buff.bone_shield.stack>5&runic_power.deficit>=30&cooldown.dancing_rune_weapon.remains>25" );
183
178
184
179
san_drw->add_action ( " bonestorm,if=buff.death_and_decay.up&buff.bone_shield.stack>5" );
185
- san_drw->add_action ( " death_strike,if=(active_enemies=1|buff.luck_of_the_draw.up)&runic_power.deficit<15+(10*talent.relish_in_blood.enabled)+(3*talent.runic_attenuation.enabled)+(spell_targets.heart_strike*talent.heartbreaker.enabled*2) " );
180
+ san_drw->add_action ( " death_strike,if=(active_enemies=1|buff.luck_of_the_draw.up)&runic_power.deficit<variable.rp_deficit_threshold " );
186
181
san_drw->add_action ( " blood_boil,if=!drw.bp_ticking" );
187
182
san_drw->add_action ( " heart_strike" );
188
183
san_drw->add_action ( " death_strike" );
@@ -192,13 +187,15 @@ void blood( player_t* p )
192
187
sanlayn->add_action ( " heart_strike,if=buff.infliction_of_sorrow.up" );
193
188
sanlayn->add_action ( " heart_strike,if=buff.vampiric_strike.up" );
194
189
sanlayn->add_action ( " blooddrinker,if=!buff.dancing_rune_weapon.up&active_enemies<=2&buff.coagulopathy.remains>3" );
195
- sanlayn->add_action ( " death_strike,if=runic_power.deficit<15+(10*talent.relish_in_blood.enabled)+(3*talent.runic_attenuation.enabled)+(spell_targets.heart_strike*talent.heartbreaker.enabled*2) " );
190
+ sanlayn->add_action ( " death_strike,if=runic_power.deficit<variable.rp_deficit_threshold " );
196
191
sanlayn->add_action ( " marrowrend,if=!dot.bonestorm.ticking&buff.bone_shield.stack<variable.bone_shield_refresh_value&runic_power.deficit>20" );
197
192
sanlayn->add_action ( " death_strike" );
198
193
sanlayn->add_action ( " heart_strike,if=rune>1" );
199
194
sanlayn->add_action ( " consumption" );
200
195
sanlayn->add_action ( " blood_boil" );
201
196
sanlayn->add_action ( " heart_strike" );
197
+
198
+ variables->add_action ( " variable,name=rp_deficit_threshold,value=15+(10*talent.relish_in_blood.enabled)+(3*talent.runic_attenuation.enabled)+(spell_targets.heart_strike*talent.heartbreaker.enabled*2)" );
202
199
}
203
200
// blood_apl_end
204
201
0 commit comments