-
-
Notifications
You must be signed in to change notification settings - Fork 550
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
Abolished Fiery Touch throws error when used facing left #2442
Labels
Milestone
Comments
DreadKnight
added
coding
This issue requires some programming
abilities
The issue is related to an unit ability or more
labels
Jul 20, 2023
Looked into this a bit & I think the wider fix is to convert these files to TS & implement the functions since I think a lot of stuff has been refactored. I found out that there's a temp fix in |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When using the Abolished creature's "Fiery Touch" move while the creature is facing left, an error is thrown:
I believe this is a long-standing error. I checked through several months of commits and all exhibit the same error.
There is no
target
in thepath
here:const target = arrayUtils.last(path).creature;
That's as far up the call stack as I've looked.
To reproduce
Here's a game log. Paste it into the browser console.
The text was updated successfully, but these errors were encountered: