Skip to content

Commit 913f53f

Browse files
committed
[Havoc] apply mastery to A Fire Inside chaos damage
1 parent d69718a commit 913f53f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

engine/class_modules/sc_demon_hunter.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ class demon_hunter_t : public parse_player_effects_t
748748
const spell_data_t* demonic_presence;
749749
const spell_data_t* any_means_necessary;
750750
const spell_data_t* any_means_necessary_tuning;
751+
const spell_data_t* a_fire_inside;
751752
// Vengeance
752753
const spell_data_t* fel_blood;
753754
const spell_data_t* fel_blood_rank_2;
@@ -1571,6 +1572,7 @@ class demon_hunter_action_t : public parse_action_effects_t<Base>
15711572
affect_flags any_means_necessary;
15721573
affect_flags any_means_necessary_full;
15731574
affect_flags demonic_presence;
1575+
affect_flags a_fire_inside;
15741576
bool chaos_theory = false;
15751577
} affected_by;
15761578

@@ -1662,6 +1664,7 @@ class demon_hunter_action_t : public parse_action_effects_t<Base>
16621664
// Affect Flags
16631665
parse_affect_flags( p->mastery.demonic_presence, affected_by.demonic_presence );
16641666
parse_affect_flags( p->mastery.any_means_necessary, affected_by.any_means_necessary );
1667+
parse_affect_flags( p->mastery.a_fire_inside, affected_by.a_fire_inside );
16651668

16661669
if ( p->talent.havoc.chaos_theory->ok() )
16671670
{
@@ -1842,6 +1845,11 @@ class demon_hunter_action_t : public parse_action_effects_t<Base>
18421845
m *= 1.0 + p()->cache.mastery_value();
18431846
}
18441847

1848+
if ( affected_by.a_fire_inside.direct )
1849+
{
1850+
m *= 1.0 + p()->cache.mastery_value();
1851+
}
1852+
18451853
return m;
18461854
}
18471855

@@ -1865,6 +1873,11 @@ class demon_hunter_action_t : public parse_action_effects_t<Base>
18651873
m *= 1.0 + p()->cache.mastery_value();
18661874
}
18671875

1876+
if ( affected_by.a_fire_inside.periodic )
1877+
{
1878+
m *= 1.0 + p()->cache.mastery_value();
1879+
}
1880+
18681881
return m;
18691882
}
18701883

@@ -8579,6 +8592,7 @@ void demon_hunter_t::init_spells()
85798592
mastery.any_means_necessary = talent.havoc.any_means_necessary;
85808593
mastery.any_means_necessary_tuning =
85818594
talent.havoc.any_means_necessary->ok() ? find_spell( 394486 ) : spell_data_t::not_found();
8595+
mastery.a_fire_inside = talent.havoc.a_fire_inside->effectN( 6 ).trigger();
85828596

85838597
spec.burning_wound_debuff = talent.havoc.burning_wound->effectN( 1 ).trigger();
85848598
spec.chaos_theory_buff = talent.havoc.chaos_theory->ok() ? find_spell( 390195 ) : spell_data_t::not_found();

0 commit comments

Comments
 (0)