Fruchtiger 0 Posted June 10, 2018 Share Posted June 10, 2018 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? Link to comment https://wrobot.eu/forums/topic/9541-dispel-poison-or-curse/ Share on other sites More sharing options...
Droidz 2742 Posted June 11, 2018 Share Posted June 11, 2018 Hello, you play in Vanilla? Lua api seem bugged for that https://wrobot.eu/forums/topic/9072-add-remove-lesser-curse-to-fightclass/ Link to comment https://wrobot.eu/forums/topic/9541-dispel-poison-or-curse/#findComment-44374 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now