Great work here but there are 2 things I would ask for you to add. I have tried and connot get it to work. I get the nil value error and I dont know how to fix it.
So can you add something like:
-- Under 20% Hp Life spirit/Pot
if PlayerHpPercent() < 20 then
_Log("Healing Pot");
LuaDoString("if GetItemCount(89640) > 1 and GetItemCooldown(89640) < 1 then UseItemByName('Master Healing Potion', 'player') end") return;
end
Also this is not casting Arcane Brilliance atm. Again I am unable to fix this myself. I am a buther and a hack. I am plagiarist and a bad one at best
Again very nice work here +rep