Minor fixes and changes

This commit is contained in:
2024-04-23 09:34:07 +02:00
parent 20d818f19b
commit 668fd2c8b4
3 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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