Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragun of Red-Eyes can negate itself #7

Open
AlphaKretin opened this issue Apr 8, 2020 · 0 comments
Open

Dragun of Red-Eyes can negate itself #7

AlphaKretin opened this issue Apr 8, 2020 · 0 comments

Comments

@AlphaKretin
Copy link

AlphaKretin commented Apr 8, 2020

On turn 16 of this replay, Dragun of Red-Eyes negates its own effect, despite having a check that I as far as I can tell seems to be an attempt to make it not do that.

private bool DragunofRedEyesCounter()
{
    if (ActivateDescription != -1 && ActivateDescription != Util.GetStringId(CardId.DragunofRedEyes, 1))
        return false;

It seems to be based on the string associated with the effect, so the issue could be there - in https://github.com/ProjectIgnis/CardScripts/blob/master/official/c37818794.lua, Dragun's effect to negate has a string with ID 1, and the effect to destroy has a string with ID 0, which might be the inverse of what this executor expects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant