Hello my Fightclass is in c++ and i wanted to add the following code:
---
bool curse = false;
curse= Lua.LuaDoString<bool>(
@"
for i = 1, 25 do
local _, _, _, _, d = UnitDebuff(""player"",i);
if d == ""Curse"" then return true; end
end;");
---
Unfortunately "d" is never true. Do you have a solution for that?