June 10, 20187 yr 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?
June 11, 20187 yr Hello, you play in Vanilla? Lua api seem bugged for that https://wrobot.eu/forums/topic/9072-add-remove-lesser-curse-to-fightclass/
Create an account or sign in to comment