Mercurial > wow > wowdb-profiler
comparison Main.lua @ 458:866bba4d8ab6
Added four more blacklisted spells.
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Tue, 21 Jul 2015 18:48:31 -0400 |
parents | af5a61f38aaa |
children | 22f08f6717ea |
comparison
equal
deleted
inserted
replaced
457:b765499e881f | 458:866bba4d8ab6 |
---|---|
1769 | 1769 |
1770 do | 1770 do |
1771 local FLAGS_NPC = bit.bor(_G.COMBATLOG_OBJECT_TYPE_GUARDIAN, _G.COMBATLOG_OBJECT_CONTROL_NPC) | 1771 local FLAGS_NPC = bit.bor(_G.COMBATLOG_OBJECT_TYPE_GUARDIAN, _G.COMBATLOG_OBJECT_CONTROL_NPC) |
1772 local FLAGS_NPC_CONTROL = bit.bor(_G.COMBATLOG_OBJECT_AFFILIATION_OUTSIDER, _G.COMBATLOG_OBJECT_CONTROL_NPC) | 1772 local FLAGS_NPC_CONTROL = bit.bor(_G.COMBATLOG_OBJECT_AFFILIATION_OUTSIDER, _G.COMBATLOG_OBJECT_CONTROL_NPC) |
1773 | 1773 |
1774 -- Spells that are cast by players that are mistakely assigned as being cast by the target; must be blacklisted | 1774 -- Spells that are cast by players/NPCs that are mistakely assigned as being cast by the target; must be blacklisted |
1775 local BLACKLISTED_SPELLS = { | 1775 local BLACKLISTED_SPELLS = { |
1776 [117526] = true, -- Binding Shot | 1776 [117526] = true, -- Binding Shot (cast by Hunters) |
1777 [132464] = true, -- Chi Wave | 1777 [121308] = true, -- Disguise (cast by Rogues) |
1778 [132467] = true, -- Chi Wave | 1778 [132464] = true, -- Chi Wave (cast by Monks) |
1779 [121308] = true, -- Disguise | 1779 [132467] = true, -- Chi Wave (cast by Monks) |
1780 [176813] = true, -- Itchy Spores (cast by Marsh Creatures in Ashran) | |
1781 [183901] = true, -- Stolen Strength (cast by Felblood NPCs in Tanaan Jungle) | |
1782 [183904] = true, -- Stolen Speed (cast by Felblood NPCs in Tanaan Jungle) | |
1783 [183907] = true, -- Stolen Fervor (cast by Felblood NPCs in Tanaan Jungle) | |
1780 } | 1784 } |
1781 | 1785 |
1782 local function RecordNPCSpell(sub_event, source_guid, source_name, source_flags, dest_guid, dest_name, dest_flags, spell_id, spell_name) | 1786 local function RecordNPCSpell(sub_event, source_guid, source_name, source_flags, dest_guid, dest_name, dest_flags, spell_id, spell_name) |
1783 if not spell_id or BLACKLISTED_SPELLS[spell_id] then | 1787 if not spell_id or BLACKLISTED_SPELLS[spell_id] then |
1784 return | 1788 return |