Mercurial > wow > wowdb-profiler
changeset 408:da20cca2ddc6 6.0.3-5
Prevented recording bonus roll loot (it skews true loot percentages with spec-based drop data).
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Wed, 31 Dec 2014 07:57:07 -0500 |
parents | 0825513e6af1 |
children | 78a2e8928a34 |
files | Main.lua |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Main.lua Wed Dec 31 05:57:30 2014 -0500 +++ b/Main.lua Wed Dec 31 07:57:07 2014 -0500 @@ -90,6 +90,7 @@ BANKFRAME_OPENED = true, BATTLEFIELDS_SHOW = true, BLACK_MARKET_ITEM_UPDATE = true, + BONUS_ROLL_RESULT = true, CHAT_MSG_CURRENCY = true, CHAT_MSG_LOOT = true, CHAT_MSG_MONSTER_SAY = "RecordQuote", @@ -1275,6 +1276,14 @@ end +-- For now, bonus roll data only pollutes the true drop percentages. We still want to capture the data from SPELL_CONFIRMATION_PROMPT because of legendary quest items though. +function WDP:BONUS_ROLL_RESULT(event_name) + Debug("%s: Bonus roll detected; stopping loot recording for this boss to avoid recording bonus loot.", event_name) + ClearKilledBossID() + ClearLootToastContainerID() +end + + function WDP:BLACK_MARKET_ITEM_UPDATE(event_name) if not ALLOWED_LOCALES[CLIENT_LOCALE] then return