BWL Nefarian: a tank does not go after a drakonid another tank holds

FetchesAdd let a fixed row's tank go after any add that had reached the
raid, and a tank is a raider: the tank planner then handed drakonids
held by one tank to another (1111i: 10 of 22 tank assignments in run 1,
18 of 72 and 17 of 68 in runs 2 and 3, up to 35 y away). Taunt reaches
melee range only, so the second tank walked across the arc, the two
taunted the drakonid back and forth, and in run 1 two tanks stood on one
drakonid at (-7555,-1199), north of every place, from 24 s to 57 s; all
four tanks died there at 188-208 s.

An add another tank of the raid holds is now that tank's: no other tank
fetches it, and it is off limits to them as the row's waited-for adds
are. Loose adds (on a non-tank) are fetched as before.

(cherry picked from commit 761cf8bd394da58b70852a01fa9e1ec44f7a5dfb)
This commit is contained in:
Karrz1
2026-11-11 23:38:06 +00:00
parent 1edd22dbcc
commit ea61875ecf
@@ -1310,6 +1310,15 @@ bool ReachedRaid(Plan const& plan, Unit* add)
// healers' post, from 20 s into the pull until it died; Mctankda died 45 y north of the camp).
bool FetchesAdd(Plan const& plan, TankSpot const& rule, Player* bot, Unit* add)
{
// One another tank of the row already holds is that tank's, at its place: going after it is a taunt from melee range (Taunt reaches
// 4 y here) across the arc, and the two tanks taunt it back and forth. bwl_nefarian 1111i run 1: the tank planner handed adds on a tank
// to another tank (10 of 22 assignments in run 1, 18 of 72 and 17 of 68 in runs 2 and 3; "Mctankwa takes Red Drakonid (474) 100% on
// Mctankwb dist=10y why=nearest", "Mctankwa takes Chromatic Drakonid (472) on Mctankwb dist=35y"), two tanks stood on one drakonid
// from 24 s to 57 s at (-7555,-1199), north of every place, and all four tanks died there at 188-208 s.
if (Unit* const v = add->GetVictim(); v && v != bot && v->IsAlive())
if (Player* const vp = v->ToPlayer())
if (std::any_of(plan.members.begin(), plan.members.end(), [&](Member const& m) { return m.p == vp && m.tank; }))
return false;
if (ReachedRaid(plan, add))
return true;
if (rule.reach <= 0.0f)