Quantcast WoWInterface - View Single Post - LUA inside macro?
View Single Post
06-26-19, 09:45 AM   #9
A Chromatic Dragonspawn
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 179
The spell casting functions are PROTECTED so you cannot call them at will from within your lua code.
Otherwise, you could easily program a bot that plays by itself.

There must always be an active user action triggering a spellcast, which you could maybe do with a SecureActionButtonTemplate. But as far as I understand, this will only allow you to cast one particular spell, so you would not be able to have some logic making the decision about which spell to cast.
Otherwise you could make a single button that always executes the ideal next spell of your rotation...

Last edited by LudiusMaximus : 06-26-19 at 10:00 AM. Reason: ...on second thought.
  Reply With Quote