Skip to content

Commit

Permalink
[Warlock] Immutable Hatred hardcast bug (simulationcraft#8435)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azevara authored Nov 16, 2023
1 parent 3e390a6 commit cc91bb2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions engine/class_modules/warlock/sc_warlock_demonology.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,18 @@ struct demonbolt_t : public demonology_spell_t
if ( p()->sets->has_set_bonus( WARLOCK_DEMONOLOGY, T31, B2 ) )
td( target )->debuffs_doom_brand->trigger();
}
else
{
if ( p()->talents.immutable_hatred->ok() && p()->bugs )
{
auto active_pet = p()->warlock_pet_list.active;

if ( active_pet->pet_type == PET_FELGUARD )
{
debug_cast<pets::demonology::felguard_pet_t*>( active_pet )->hatred_proc->execute_on_target( execute_state->target );
}
}
}

p()->buffs.demonic_core->decrement();

Expand Down

0 comments on commit cc91bb2

Please sign in to comment.