From f48dc5f236e78929f8488eb7f6b557d8bbbede66 Mon Sep 17 00:00:00 2001 From: Saeldur <5496498+Saeldur@users.noreply.github.com> Date: Sun, 22 Dec 2024 02:19:08 +0000 Subject: [PATCH] [Priest] Remove pets from the targetlist of heals * They *can* target heals ingame but you have no reason to. By removing them it makes actionlists easier to build. --- engine/class_modules/priest/sc_priest.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engine/class_modules/priest/sc_priest.hpp b/engine/class_modules/priest/sc_priest.hpp index c98aaece293..4f64e808d30 100644 --- a/engine/class_modules/priest/sc_priest.hpp +++ b/engine/class_modules/priest/sc_priest.hpp @@ -1374,9 +1374,10 @@ struct priest_absorb_t : public priest_action_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 ); } @@ -1431,9 +1432,10 @@ struct priest_heal_t : public priest_action_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 ); }