Hi everyone,
Having a play with a state that increases the critical attack chance each time the state is applied.
The code is as follows:
The issue I'm getting is when the state is applied I'm getting an error saying "ReferenceError: actor is not defined".
What do I need to add to let the code know what "actor" is (actor being the one affected with the state". Also, using "user" and "target", which I would normally use results in a similar error.
Thankyou in advance!
Having a play with a state that increases the critical attack chance each time the state is applied.
The code is as follows:
The issue I'm getting is when the state is applied I'm getting an error saying "ReferenceError: actor is not defined".
What do I need to add to let the code know what "actor" is (actor being the one affected with the state". Also, using "user" and "target", which I would normally use results in a similar error.
Thankyou in advance!