Hello,
I want to modify the default CastSpellByID to castsequence macro for that spell. In other words, I am trying to replace "CastSpellByID(555,"target") to "/castsequence [@target] SpellName"
How do I get this to work?function CastSpellByID(SpellID,Target)
local SpellName = GetSpellInfo(SpellID)
if Target == nil then
return RunMacroText("/castsequence" SpellName)
elseif Target ~= nil then
return RunMacroText("/castsequence" [@Target] SpellName)
end
end