Skip to content

Commit 25711b8

Browse files
authored
[Outlaw] Implement Killing Spree + Supercharger bug (#10586)
1 parent 7c8b87f commit 25711b8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

engine/class_modules/sc_rogue.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5150,6 +5150,19 @@ struct killing_spree_t : public rogue_attack_t
51505150
}
51515151
}
51525152

5153+
void snapshot_state( action_state_t* state, result_amount_type rt ) override
5154+
{
5155+
rogue_attack_t::snapshot_state( state, rt );
5156+
5157+
// 08-29-2025 -- If Killing Spree consumes Supercharger, its effective CPs are reduced by one
5158+
// So with Forced Induction, it is treated as +2 CPs as opposed to +3
5159+
if ( p()->bugs && range::any_of( p()->buffs.supercharger, []( const buff_t* buff ) { return buff->check(); } ) )
5160+
{
5161+
auto rs = cast_state( state );
5162+
rs->set_combo_points( rs->get_combo_points( true ), rs->get_combo_points() - 1 );
5163+
}
5164+
}
5165+
51535166
void tick( dot_t* d ) override
51545167
{
51555168
rogue_attack_t::tick( d );

0 commit comments

Comments
 (0)