Skip to content

Commit

Permalink
[Priest] Remove pets from the targetlist of heals
Browse files Browse the repository at this point in the history
* They *can* target heals ingame but you have no reason to. By removing
  them it makes actionlists easier to build.
  • Loading branch information
Saeldur committed Dec 22, 2024
1 parent ebeb3de commit f48dc5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions engine/class_modules/priest/sc_priest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1374,9 +1374,10 @@ struct priest_absorb_t : public priest_action_t<absorb_t>
target_list.push_back( t );
}

// Remove non Healing Enemy pets from valid target list
for ( const auto& t : sim->healing_pet_list )
{
if ( t != target && ( t->is_active() || ( t->type == HEALING_ENEMY && !t->is_sleeping() ) ) )
if ( t != target && ( ( t->type == HEALING_ENEMY && !t->is_sleeping() ) ) )
target_list.push_back( t );
}

Expand Down Expand Up @@ -1431,9 +1432,10 @@ struct priest_heal_t : public priest_action_t<heal_t>
target_list.push_back( t );
}

// Remove non Healing Enemy pets from valid target list
for ( const auto& t : sim->healing_pet_list )
{
if ( t != target && ( t->is_active() || ( t->type == HEALING_ENEMY && !t->is_sleeping() ) ) )
if ( t != target && ( ( t->type == HEALING_ENEMY && !t->is_sleeping() ) ) )
target_list.push_back( t );
}

Expand Down

0 comments on commit f48dc5f

Please sign in to comment.