I'm looking for a way to use local variables in my profiles. what I do now for my resto druid rotations rejuvs is as follows
Code:
{ "774", { "!player.buff(774).any", "player.health <= 86" }, "player" }, -- Rejuv.
I use that 40 times so that it will blanket an entire raid. Problem I have is that I want to be able to change the "86" in the code for all 40 rejuvs at once with a variable instead of having to change them one by one.
Here is what I'm thinking, but it doesn't work.
Code:
local Rejuv = 86
{ "774", { "!player.buff(774).any", "player.health <=" Rejuv }, "player" }, -- Rejuv.
Is there a way to implement this?