Archeia's Advanced AI Conditions

<ai_conditions: 1>

target_states_not: 49

only_if_target

</ai_conditions>

 

Yea. Sorry didn't catch the :. Sneaky lil bugger. HOWEVER, with the exact above code, it's giving me that num error again. Sigh... flips a table. I mean it could be a conflict with another script, which I can't test because the game crashes anytime I load it.

 

I also tried <ai_conditions: 1985> use_id to see if maybe that was causing it. Same issue.

Untitled.png
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!
A quick fix, but I'm not sure if it changes everything else. Try it out. 

This wasn't really designed for enemy <-> enemy but for enemy -> actors instead only. It's been so long since I used this script so I don't remember a lot of things on how the script functions.
In the new project, with the updated script, same error. Game crashes 🙁
OKAY. I lied about going to check it later. Try this out.
It works!! TYVM!!!!
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.
You have it below main dawg.

hxcXXfl.png
The best AI script I've seen by far, gonna test this.
You have it below main dawg.

[IMG]http://i.imgur.com/hxcXXfl.png[/IMG]
Derp. Ok I moved it into the right spot. It's still not working as intended 😳

The target_hplt: 70  should only cast if mob has lower life than 70% max. It's just randomly healing targets at random, not even prioritizing the main "damaged" target.
did you add only if target?
did you add only if target?
The tag is like this:

<ai_conditions: 2>

target_hplt: 70

only_if_target

</ai_conditions>

 

-Update-

 

Was going to compress the project and send to you directly, but it was 648 MB, so that's not going to happen.
Does it also happen in a new project?
Does it also happen in a new project?
Yes. That video was on a brand new blank project. The compressed one was that huge size. My RTP has a crap load of custom stuff in it.
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.
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.
What do you mean by default ai? As in the game's base normal ai or the section I of your script's instructions? I don't really understand the difference between section I and section III.

As for the AI healing, if the script doesn't support it, no worries. I'll try to figure out something else to use. If you do end up adding healing to the script, I will use it then.

-Update-

So.... For some reason, the AI will cast this over and over regardless if the target has the state or not. Does it have something to do with the loss of control of the target? I don't get why it works for every other state, but this one? Very strange.

Berserk - Skill.png

Berserk - State.png

Berserk - Unit.png

Original thread: https://forums.rpgmakerweb.com/threads/archeias-advanced-ai-conditions.36877/