Until now I have used wa only with simple things or importing auras from another people. But today I wanted a new aura and have tried to do it by myself but I'm having some problems.
The aura i want to create is an aura that activates when Force of Nature(druid treants) have 3 charges activate and deactivate when it has less than 3 charges so i can remember to use it properly.
Until now i have started to use an custom event this as trigger:
Code:
function()
local spell_name = "Fuerza de la Naturaleza"
local charges_are_good = function(c)
if c ==3 then
return true
end
end
local current_charges = select(1, GetSpellCharges(spell_name))
return current_charges
end
and to untrigger
Code:
function()
local spell_name = "Fuerza de la Naturaleza"
local charges_are_good = function(c)
if c <3 then
return true
end
end
local current_charges = select(1, GetSpellCharges(spell_name))
return current_charges
end
But it doesnt work and don't know how to do it.
I hope you can help me, thank you in advance.
PS: Sorry for my bad english not my nature language and neither using it on weak auras