diff --git a/FreshShit/AfkTimer/event2.lua b/FreshShit/AfkTimer/event2.lua index db2cd7a..de1d772 100644 --- a/FreshShit/AfkTimer/event2.lua +++ b/FreshShit/AfkTimer/event2.lua @@ -1,7 +1,7 @@ -- TICKER_500 function(e) local timeToKick = aura_env.KickTime - time() - if timeToKick > 0 and timeToKick < 20 * 60 then + if timeToKick > 0 and timeToKick < 5 * 60 then WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg") -- SendChatMessage("QUACK", "WHISPER", nil, UnitName("player")) end diff --git a/FreshShit/RaiderlosSA/init.lua b/FreshShit/RaiderlosSA/init.lua index e3ef48b..878d38c 100644 --- a/FreshShit/RaiderlosSA/init.lua +++ b/FreshShit/RaiderlosSA/init.lua @@ -205,6 +205,7 @@ aura_env.Alert = { if err then return err end -- The idea is: + -- SEE C_NamePlate.GetNamePlateForUnit !!!! -- If the spell is being cast (SPELL_CAST_START) target will be nil (because server is cooked) -- So what we want to do is get the source GUID and try to find it in nameplates -- If it exists in nameplates we have a unitid and we can try to get casting info diff --git a/FreshShit/ShardCounter/event2.lua b/FreshShit/ShardCounter/event2.lua index 8beecf9..0ee4f3d 100644 --- a/FreshShit/ShardCounter/event2.lua +++ b/FreshShit/ShardCounter/event2.lua @@ -10,4 +10,5 @@ function(e, unit, power) end aura_env.SoulShards = soulShards aura_env.SoulShardStack:Push(time()) + WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg") end \ No newline at end of file