Remove siege of orgrimmar ffs
This commit is contained in:
@@ -2,34 +2,36 @@
|
||||
function()
|
||||
for i = 1, GetNumWhoResults() do
|
||||
local name, guild, level, race, class, zone = GetWhoInfo(i)
|
||||
local faction = aura_env.raceMap[race]
|
||||
if not faction then print("Unknown faction for race", race) end
|
||||
if faction == "Alliance" then
|
||||
local player = aura_env.alliance[name]
|
||||
if not player then
|
||||
player = Player.new(name, guild, race, class, zone)
|
||||
local timestamp = date("%Y-%m-%dT%H:%M:%S")
|
||||
if not WeakAurasSaved.Cyka.WhoSniffer[name] then WeakAurasSaved.Cyka.WhoSniffer[name] = {} end
|
||||
WeakAurasSaved.Cyka.WhoSniffer[name][timestamp] = {
|
||||
["name"] = name,
|
||||
["guild"] = guild,
|
||||
["race"] = race,
|
||||
["class"] = class,
|
||||
["zone"] = zone,
|
||||
}
|
||||
if zone ~= "Siege of Orgrimmar" then
|
||||
local faction = aura_env.raceMap[race]
|
||||
if not faction then print("Unknown faction for race", race) end
|
||||
if faction == "Alliance" then
|
||||
local player = aura_env.alliance[name]
|
||||
if not player then
|
||||
player = Player.new(name, guild, race, class, zone)
|
||||
local timestamp = date("%Y-%m-%dT%H:%M:%S")
|
||||
if not WeakAurasSaved.Cyka.WhoSniffer[name] then WeakAurasSaved.Cyka.WhoSniffer[name] = {} end
|
||||
WeakAurasSaved.Cyka.WhoSniffer[name][timestamp] = {
|
||||
["name"] = name,
|
||||
["guild"] = guild,
|
||||
["race"] = race,
|
||||
["class"] = class,
|
||||
["zone"] = zone,
|
||||
}
|
||||
|
||||
local stinky = WeakAurasSaved.Cyka.stinkies[name]
|
||||
if stinky then
|
||||
PlaySoundFile("Interface\\Sounds\\Domination.ogg", "Master")
|
||||
else
|
||||
PlaySoundFile("Interface\\Sounds\\Cloak.ogg", "Master")
|
||||
local stinky = WeakAurasSaved.Cyka.stinkies[name]
|
||||
if stinky then
|
||||
PlaySoundFile("Interface\\Sounds\\Domination.ogg", "Master")
|
||||
else
|
||||
PlaySoundFile("Interface\\Sounds\\Cloak.ogg", "Master")
|
||||
end
|
||||
|
||||
aura_env.Notify(player)
|
||||
end
|
||||
|
||||
aura_env.Notify(player)
|
||||
player:Touch()
|
||||
player.zone = zone
|
||||
aura_env.alliance[name] = player
|
||||
end
|
||||
player:Touch()
|
||||
player.zone = zone
|
||||
aura_env.alliance[name] = player
|
||||
end
|
||||
end
|
||||
-- Turns out WA cannot do this (
|
||||
|
@@ -57,7 +57,7 @@ local function padString(input, targetLength, left)
|
||||
end
|
||||
|
||||
aura_env.messageQueue = {}
|
||||
aura_env.ttl = 60
|
||||
aura_env.ttl = 6
|
||||
aura_env.whoQueryIdx = 1
|
||||
aura_env.whoQueries = {
|
||||
"g-\"БеспредеЛ\"",
|
||||
|
Reference in New Issue
Block a user