- Státusz Lezárva
- % kész
- Hibajegy típusa Bug Report
- Kategória Core
- Felhasználó hozzárendelése Senki
- Rendszer All
- Súlyosság kritikus
- Prioritás Normál
- Jelentett változat 1.0
- Esedékesség határozatlan
-
Esedékesség időpontja
határozatlan
-
Szavazatok
8
- Shako (13.11.2019)
- Jackcarver (08.11.2019)
- SATHENAN (08.11.2019)
- Arpente-Evermoon (08.11.2019)
- Falchion-Tauri (07.11.2019)
- DAVE1555 (07.11.2019)
- SONYAS (07.11.2019)
- NICOLLETBLACK (07.11.2019)
- Privát
FS#18896 - API UnitDetailedThreatSituation
UnitDetailedThreatSituation returns wrong values when threat overflows integer max value and this usualy happens many times during the fight.
This bug makes threat meter based addons like omen, tidy plates and default blizzard threat meter completely useless and cause many messages about gaining/loosing agro.
Tested by some scripts and multiple addons.
By default threat value is signed number (addons like omen etc on oficial servers count with negative numbers and deal with them) but should not overflow at usual values that
greatly exceed int max value.
Edit:
According to method videos, it looks like all spells generate much more threat than on retail pandaria.
For example method’s tanks threat near the end of encounter garrosh is about 1 900 000 000. Thats oretty close, but i reached this value on warbringer or dummy in less than minute with no vengeance and external buffs, few moments later owerflow into -2 billion
Its not Tauri Fault. Its Addon fault cant exceed threat numbers in billions..
There a fix for it. you have to edit your own addon.
your coment is pointless as i said at least 2 times in report, that the function returns wrong values. How this can be fault of an addon?
Macro:
/script local _,_,_,_,value = UnitDetailedThreatSituation("player", "target");
ChatFrame1:AddMessage(tostring(value));
Output:
-2085420200