Skip to content

Commit

Permalink
[Shaman] Lighting Rod interaction with PW Lighting Bolt is fixed in-game
Browse files Browse the repository at this point in the history
  • Loading branch information
navv1234 committed Sep 7, 2024
1 parent 74af4e1 commit 12cd1f7
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions engine/class_modules/sc_shaman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6884,15 +6884,8 @@ struct lightning_bolt_t : public shaman_spell_t
{
shaman_spell_t::impact( state );

// [2024-09-05] BUG: Lightning Bolts generated by Primordial Wave do not trigger Lightning Rod
// damage. Presumption is that they should work just like normal Lightning Bolts when
// interacting with Lightning Rod (through Conductive Energy).
if ( p()->specialization() == SHAMAN_ENHANCEMENT && p()->talent.conductive_energy.ok() &&
( !p()->bugs || ( exec_type != spell_variant::PRIMORDIAL_WAVE ) ) )
{
accumulate_lightning_rod_damage( state );
}
else if ( p()->specialization() == SHAMAN_ELEMENTAL && p()->talent.lightning_rod.ok() )
if ( ( p()->specialization() == SHAMAN_ENHANCEMENT && p()->talent.conductive_energy.ok() ) ||
( p()->specialization() == SHAMAN_ELEMENTAL && p()->talent.lightning_rod.ok() ) )
{
accumulate_lightning_rod_damage( state );
}
Expand Down

0 comments on commit 12cd1f7

Please sign in to comment.