Skip to content

Commit

Permalink
[Priest] implement bug? for wrathful faerie
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpeters86 committed Dec 17, 2020
1 parent 930bb3c commit abaa4c0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions engine/class_modules/priest/sc_priest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1352,8 +1352,11 @@ struct priest_spell_t : public priest_action_t<spell_t>
priest().buffs.twist_of_fate->trigger();
}

if ( priest().specialization() == PRIEST_SHADOW && s->result_type == result_amount_type::DMG_DIRECT &&
s->result_amount > 0 )
// Wrathful Faerie works for any direct attacks by anyone, bugging this for now
// TODO: maybe rework this to just be a buff that gives insanity every tick instead?
// https://github.com/SimCMinMax/WoW-BugTracker/issues/777
if ( priest().specialization() == PRIEST_SHADOW &&
( s->result_type == result_amount_type::DMG_DIRECT || priest().bugs ) && s->result_amount > 0 )
{
const priest_td_t* td = find_td( s->target );
if ( td && td->buffs.wrathful_faerie->check() )
Expand Down

0 comments on commit abaa4c0

Please sign in to comment.