Move
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
FreshShit/RaiderlosSA/out
|
||||||
|
.vscode/
|
@@ -1,12 +0,0 @@
|
|||||||
-- PLAYER_ENTERING_WORLD GUILD_ROSTER_UPDATE
|
|
||||||
function(e)
|
|
||||||
if aura_env.debug then print(string.format("Current ticker: %s", tostring(aura_env.ticker))) end
|
|
||||||
if aura_env.ticker == nil then
|
|
||||||
if aura_env.debug then print("Creating ticker") end
|
|
||||||
local aura_env = aura_env
|
|
||||||
aura_env.ticker = C_Timer.NewTicker(0.5, function()
|
|
||||||
if aura_env.debug then print("Ticker calling CYKA_EVENT_TICKER") end
|
|
||||||
WeakAuras.ScanEvents("CYKA_EVENT_TICKER")
|
|
||||||
end)
|
|
||||||
end
|
|
||||||
end
|
|
@@ -1,12 +0,0 @@
|
|||||||
--COMBAT_LOG_EVENT_UNFILTERED
|
|
||||||
function(...)
|
|
||||||
local se = select(3, ...)
|
|
||||||
if se == "SPELL_CAST_START" or se == "SPELL_CAST_SUCCESS" then
|
|
||||||
local spell = select(14, ...)
|
|
||||||
spell = spell:gsub("%s", "_")
|
|
||||||
local soundfile = "Interface\\Sounds\\" .. spell .. ".ogg"
|
|
||||||
local success = PlaySoundFile(soundfile, "Master")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
--INIT
|
|
@@ -1,4 +1,4 @@
|
|||||||
-- CYKA_EVENT_TICKER
|
-- TICKER_500
|
||||||
function(e)
|
function(e)
|
||||||
for _, spell in ipairs(aura_env.spells) do
|
for _, spell in ipairs(aura_env.spells) do
|
||||||
---@cast spell Spell
|
---@cast spell Spell
|
@@ -69,5 +69,4 @@ aura_env.spells = {
|
|||||||
Spell.new(205545, "OdynsFury"),
|
Spell.new(205545, "OdynsFury"),
|
||||||
Spell.new(26297, "Berserking"),
|
Spell.new(26297, "Berserking"),
|
||||||
Spell.new(12292, "Bloodbath"),
|
Spell.new(12292, "Bloodbath"),
|
||||||
Spell.new(23881, "Bloodthirst")
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user