This commit is contained in:
2024-08-24 22:41:08 +02:00
parent 77f1ac5d7a
commit c21f59778f
431 changed files with 68581 additions and 68581 deletions

View File

@@ -1,14 +1,14 @@
-- UNIT_POWER
function(e, unit, power)
if unit ~= "player" then return end
if power ~= "SOUL_SHARDS" then return end
local soulShards = UnitPower("player", 7)
if soulShards == aura_env.SoulShards then return end
if soulShards < aura_env.SoulShards then
aura_env.SoulShards = soulShards
return
end
aura_env.SoulShards = soulShards
aura_env.SoulShardStack:Push(time())
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
-- UNIT_POWER
function(e, unit, power)
if unit ~= "player" then return end
if power ~= "SOUL_SHARDS" then return end
local soulShards = UnitPower("player", 7)
if soulShards == aura_env.SoulShards then return end
if soulShards < aura_env.SoulShards then
aura_env.SoulShards = soulShards
return
end
aura_env.SoulShards = soulShards
aura_env.SoulShardStack:Push(time())
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
end