We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c385d0b commit be81dc2Copy full SHA for be81dc2
1 file changed
engine/class_modules/sc_demon_hunter.cpp
@@ -9840,7 +9840,14 @@ void demon_hunter_t::create_buffs()
9840
9841
buff.impending_apocalypse = make_buff( this, "impending_apocalypse", spec.impending_apocalypse_buff )
9842
->set_constant_behavior( buff_constant_behavior::NEVER_CONSTANT )
9843
- ->disable_ticking( true );
+ ->disable_ticking( true )
9844
+ ->set_stack_change_callback( [ this ]( buff_t* b, int old, int new_ ) {
9845
+ if ( !buff.metamorphosis->up() )
9846
+ {
9847
+ b->cancel();
9848
+ }
9849
+ } );
9850
+
9851
9852
buff.collapsing_star = make_buff( this, "collapsing_star", spec.collapsing_star_buff )
9853
->set_constant_behavior( buff_constant_behavior::NEVER_CONSTANT );
0 commit comments