Skip to content

Commit

Permalink
[DK] Use modified_spell_data_t for infliction of sorrow modifier
Browse files Browse the repository at this point in the history
better to use this in case effect id changes in the future.
  • Loading branch information
nyterage committed Sep 17, 2024
1 parent d5dde66 commit 77be3e9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions engine/class_modules/sc_death_knight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12056,10 +12056,9 @@ void death_knight_t::trigger_infliction_of_sorrow( player_t* target, bool is_vam
if ( is_vampiric )
{
timespan_t extension = timespan_t::from_seconds( talent.sanlayn.infliction_of_sorrow->effectN( 3 ).base_value() );
mod = talent.sanlayn.infliction_of_sorrow->effectN( 2 ).percent();

if ( specialization() == DEATH_KNIGHT_BLOOD )
mod += spec.blood_death_knight->effectN( 17 ).percent();
modified_spell_data_t* infliction = get_modified_spell( talent.sanlayn.infliction_of_sorrow );
infliction->parse_effects( spec.blood_death_knight );
mod = infliction->effectN( 2 ).percent();

if ( disease_td->is_ticking() )
{
Expand Down

0 comments on commit 77be3e9

Please sign in to comment.