Minor fixes and changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
-- TICKER_500
|
-- TICKER_500
|
||||||
function(e)
|
function(e)
|
||||||
local timeToKick = aura_env.KickTime - time()
|
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")
|
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
|
||||||
-- SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
|
-- SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -205,6 +205,7 @@ aura_env.Alert = {
|
|||||||
if err then return err end
|
if err then return err end
|
||||||
|
|
||||||
-- The idea is:
|
-- The idea is:
|
||||||
|
-- SEE C_NamePlate.GetNamePlateForUnit !!!!
|
||||||
-- If the spell is being cast (SPELL_CAST_START) target will be nil (because server is cooked)
|
-- 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
|
-- 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
|
-- If it exists in nameplates we have a unitid and we can try to get casting info
|
||||||
|
|||||||
@@ -10,4 +10,5 @@ function(e, unit, power)
|
|||||||
end
|
end
|
||||||
aura_env.SoulShards = soulShards
|
aura_env.SoulShards = soulShards
|
||||||
aura_env.SoulShardStack:Push(time())
|
aura_env.SoulShardStack:Push(time())
|
||||||
|
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user