Hello,
Put this code insted spell name in your fightclass, and activate spell setting "Not Spell, is lua...".
I haven't tested, but try this lua code:
local spell, _, _, _, _, _, _, castID, _, = UnitCastingInfo("Arena1");
local usable, nomana = IsUsableSpell("Tremor Totem");
if spell then
if castID == 5782 and usable then
RunMacroText("/cast Tremor Totem");
end
end
or this code (if you want check all area members):
for i = 1, 5 do
local spell, _, _, _, _, _, _, castID, _, = UnitCastingInfo("Arena" .. tostring(i));
local usable, nomana = IsUsableSpell("Tremor Totem");
if spell then
if castID == 5782 and usable then
RunMacroText("/cast Tremor Totem");
end
end
end