- Joined
- Jul 2, 2017
- Messages
- 141
- Reaction score
- 12
- First Language
- german
- Primarily Uses
- RMMV
Hello I have the following battle formula it's simple:
if(a.IsActor() && a.isStateAffected(66)){0;}else{150;}
This is an healing item. It should check if the one who uses it is an actor and if it's affected with a state. Unfortunelately as soon I use that item the game crashes with the message: "TypeError: a.IsActor is not a function" why does the programm believes that.
I looked at the "Battle Formula 101 thread" and definitely it was listed. What am I doing wrong?
if(a.IsActor() && a.isStateAffected(66)){0;}else{150;}
This is an healing item. It should check if the one who uses it is an actor and if it's affected with a state. Unfortunelately as soon I use that item the game crashes with the message: "TypeError: a.IsActor is not a function" why does the programm believes that.
I looked at the "Battle Formula 101 thread" and definitely it was listed. What am I doing wrong?