File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5084,16 +5084,15 @@ struct aimed_shot_base_t : public hunter_ranged_attack_t
5084
5084
{
5085
5085
serpent_sting_t::available_targets ( tl );
5086
5086
5087
+ // Remove the cast target as it will get hit by Serpentstalker's Trickery
5088
+ range::erase_remove ( tl, target );
5089
+
5087
5090
if ( is_aoe () && tl.size () > 1 )
5088
5091
{
5089
5092
// Prefer targets without Serpent Sting ticking.
5090
5093
auto start = tl.begin ();
5091
5094
std::partition ( *start == target ? std::next ( start ) : start, tl.end (),
5092
5095
[ this ]( player_t * t ) { return !( this ->td ( t )->dots .serpent_sting ->is_ticking () ); } );
5093
-
5094
- // Remove the cast target if it is already ticking, otherwise it remains as the first target.
5095
- if ( p ()->get_target_data ( target )->dots .serpent_sting ->is_ticking () )
5096
- range::erase_remove ( tl, target );
5097
5096
}
5098
5097
5099
5098
return tl.size ();
You can’t perform that action at this time.
0 commit comments