Skip to content

Commit

Permalink
[Warlock] Inferno target scaling is missing in DF (#8766)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azevara committed Apr 19, 2024
1 parent 66d704a commit a998490
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engine/class_modules/warlock/sc_warlock_destruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,9 @@ struct rain_of_fire_t : public destruction_spell_t

if ( p()->talents.inferno->ok() && result_is_hit( s->result ) )
{
if ( rng().roll( p()->talents.inferno->effectN( 1 ).percent() * ( 5.0 / std::max(5u, s->n_targets ) ) ) )
auto target_scaling = p()->bugs ? 1.0 : ( 5.0 / std::max( 5u, s->n_targets ) );

if ( rng().roll( p()->talents.inferno->effectN( 1 ).percent() * target_scaling ) )
{
p()->resource_gain( RESOURCE_SOUL_SHARD, 0.1, p()->gains.inferno );
}
Expand Down

0 comments on commit a998490

Please sign in to comment.