Hello,
I need help fixing a small bug.
While testing battles in my game, I received the error message "targets.slice is not a function", see image below.
This happens whenever a character affected by a Confused or Charmed state attacks a target.
This seems to be related to the "attack an ally" and "attack anyone" restrictions found in the state settings.
It is likely to be related with Yanfly plugins, I use a lot of them but they are all in the order precaunished by Yanfly.
While searching, I found on the forum someone who had the same problem and who solved it using the "automatic combat" function, but he didn't give more precision, and I can't not solve the problem that way.
I tried to use the plugin "Actor Auto Battle A.I." but it is a bit too complicated for me. If someone is familiar with this plugin, I would like some help please.
I also tried things with the <Custom Action Start Effect> tag, but my knowledge of javascript is very limited. I didn't succeed either.
I specify that all my characters do not have the same basic "Attack". I use the WeaponUnleash" plugin which allows to replace the attack.
Someone would have any idea ?
I need help fixing a small bug.
While testing battles in my game, I received the error message "targets.slice is not a function", see image below.
This happens whenever a character affected by a Confused or Charmed state attacks a target.
This seems to be related to the "attack an ally" and "attack anyone" restrictions found in the state settings.
It is likely to be related with Yanfly plugins, I use a lot of them but they are all in the order precaunished by Yanfly.
While searching, I found on the forum someone who had the same problem and who solved it using the "automatic combat" function, but he didn't give more precision, and I can't not solve the problem that way.
I tried to use the plugin "Actor Auto Battle A.I." but it is a bit too complicated for me. If someone is familiar with this plugin, I would like some help please.
I also tried things with the <Custom Action Start Effect> tag, but my knowledge of javascript is very limited. I didn't succeed either.
I specify that all my characters do not have the same basic "Attack". I use the WeaponUnleash" plugin which allows to replace the attack.
Someone would have any idea ?