While test playing battles in my game I've been getting the 'targets.slice is not a function' error message whenever an actor enters a specific state (it essentially just makes the actor attack an enemy at random). I haven't made any big changes to plugins recently so I'm not sure what the issue is here - the state's been working fine up until recently. The problem seems to be specifically the 'attack an enemy' restriction, because when I set the state restriction to 'none' it works fine?
I've attached the error messages and my plugin list in case it helps. Thanks for any help in advance.
I've attached the error messages and my plugin list in case it helps. Thanks for any help in advance.