Jump to content

Dispel Poison or Curse

Recommended Posts

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


Unfortunately "d" is never true. Do you have a solution for that?   

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...