Description:
After starting the encounter with Lana'thel, the boss use the spell "Vampiric Bite" on a random player, not in the highest threat possible without being the tank, she might bite a healer or a dps that aren't in the top on the highest threat. (Tested with addon Omen)
Current behaviour:
Blood Queen Lana'thel isn't biting the highest threat possible excluding the tanks.
Expected behaviour:
Blood Queen Lana'thel should bite the highest threat possible excluding the tanks.
Steps to reproduce the problem:
Branch(es): 3.3.5
TC rev. hash/commit: ad79631
TDB version: 335.64
Operating system: Win 10 x64
We need another threat system rewrite
@Treeston (https://github.com/TrinityCore/TrinityCore/issues/21537#issuecomment-408463838)
lul
@Keader :( its a joke kaeder-san
I wonder, why we use this method here: https://github.com/TrinityCore/TrinityCore/blame/3.3.5/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp#L369
We just need select top threat excluding tank/off tank
i cant see any threat amount check inside method used (since we use unsorted threat list and return a random element of list)
Because that was supposed to exclude target based on custom offtank rules for that encounter (closest to main tank, not second on threat)
Oh yes.
Checking again, we dont use the return of this method to chose target of Vampiric Bite, we just use to sort list.
Btw, why method is named GetUnsortedThreatList()
if returns GetSortedThreatList()
? o.O
Because its not sorted...
I was looking into a old core :/
Pre-refactor it returned sorted, now it doesn't, don't rely on it ever returning any particularly structured threat list.
Most helpful comment
Because its not sorted...