Then it's your script's problem not mine. I used it in an empty project and it works just fine.
After some fiddling, I think I found the source of what's wrong. In a brand new project, I get the same error. I decided to try testing the note tag's on various skills. I found out that reflect works, no error, and the script does what's intended. I looked into this closer and noticed that ANY skill that has the scope of "one ally" causes the game to crash. The scope works for everything else, save this one.
I tested it out, and it doesn't seem to be limited to just "one ally" it also affects the user. Interestingly, the issue only showed up with one specific enemy type. I tried creating three identical enemies to reproduce the bug, but only one of them actually triggered the error. So now I'm just... really confused about what's causing it.
It's one of those things that’s probably going to keep nagging at me tonight especially since I’ve got other work I need to focus on. Situations like this are exactly why I was hesitant about giving support in the first place.
Sorry to cause you torment, you don't have to fix it tonight! I know you are busy, but I do appreciate your time. That is very strange that that two of them aren't throwing the error and one is. When I have the scope to one ally I cannot even get the game to load, just crashes with that error. The skill magic reflect, set to "the user" is working for me. Only when I change it to one ally does it crash.
Fix it at your convenience, I really want to use this script as it's perfect for what I need and really the only AI that that I've seen that is easy to configure and works as intended. Thanks again for your limited time!
In the new project, with the updated script, same error. Game crashes 🙁
Okay I updated the script to version 1.0b hopefully all issues are solved ;~;
Found another bug! For some reason the healing requirements are not working. Refer to video.
Another issue I ran into is you cannot check against GROUP buffs. Like, if you put in a state check on a scope of all allies, the game crashes. Is there a way to check on casting/recasting a buff on all targets? If not, oh well, I'll let the default AI distribute them.
The best AI script I've seen by far, gonna test this.
did you add only if target?
Does it also happen in a new project?
Is there a reason you won't use the default AI config for that? :x
Anyway, the main issue here is that this script isn't really designed for 'enemy allies' but only for actor vs. enemy throwbacks. Healing is so rare between enemies in RPGs that it didn't cross my mind (and a lot of players consider it cheap). So it means I'd have to write more to the script and I'm really ughguh about that. We'll see if I'll ever do it.