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

DebuffRefresh nil value comparison #33

Closed
emiln opened this issue Sep 25, 2013 · 0 comments
Closed

DebuffRefresh nil value comparison #33

emiln opened this issue Sep 25, 2013 · 0 comments
Assignees

Comments

@emiln
Copy link
Owner

emiln commented Sep 25, 2013

it is possible to cause DebuffRefresh to cause a nil comparison error:

DebuffRefresh('Shadowflame', 'taget') will fail, despite Shadowflame being a valid debuff, because the function will fail to retrieve its cast time (as it isn't also a spell). Clearly, the function should use a cast time of 0 in this case.

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

No branches or pull requests

1 participant