Closed Mikusch closed 2 years ago
Is there a way to have DoSwingTraceInternal
be called twice, first without hitting teammates, then 2nd to hit teammates if didn't hit anything? This is so that Disciplinary Action can first attempt to hit enemies for damage as first priority, then teammates for speed boost.
Probably, but I can see the code for that not being very pretty. And I'm not sure it's worth it. If you use the whip you WANT to prioritize hitting your teammates, so I think this is fine.
87a2dc8bb61ea1b66e94d483d09679d6cc0b4141 allowed all melee hits to ignore teammates, but this broke the Soldier's whip speed boost.
This PR reverts the Disciplinary Action to the previous behavior.