I've had some time to work on this and your message prompted me to finish and release it already.
What's new then?
I've added parameters to remove states skills or elements from the AI Line window. Those are global and can't be changed.
It's useful if you want the player to program his own AI but don't want him to see all your development states only for example, or the dummy skills your hero has.
I've also added notetags to do the same thing but on a per hero basis and dynamic.
<AIRS: [1,2]> will prevent skills 1 and 2 from showing in the list even if they are learned.
<AIRE: [1]> will prevent element 1 from showing.
<AIRSt: [1,2]> will prevent states 1 and 2 from showing.
Those are evaled, meaning if you actually input a game variable in there you can manipulate it in game.
Ex: <AIRSt: $gameVariables.value(1)>
Lets imagine you don't want the player AI to react to state 4, you'd put [4] in variable 1 at the beginning.
Due to story events the player cannot react to state 7, put [4,7] in variable 1 and you're done.
With a bit of javascript array manipulation (which is very easy) you can do all kind of clever things.
Take care, and happy making.
For users that want to use it to create and use dynamic AI lines for theirs actors, but don't want to let the player make their own AI, here is how you create AI lines via script call. Be warned that it's not user friendly at all.
Spoiler
Code:
let temp = new AILine() //create the AI line
temp._actor = $gameActors.actor(actorId) //set the actor
temp.setCondition(conditionId) //set the condition refer to condition ids below
//Then depending on the condition set:
//Condition 0,
temp.setSkill($dataSkills[skillId]) //set skill Id
//Condition 1,
temp.setElement(elementId) //set element id
temp.setElemCond(condId) //refer to elemental conditions ids below
temp.setSkill($dataSkills[skillId]) //set skill Id
//Conditions 2, 3, 4, 5, 11,
temp.setNumCond(condId) //refer to numerical conditions below
temp.setNum(number) //put your number here
temp.setSkill($dataSkills[skillId]) //set skill Id
//Conditions 6, 12,
temp.setParam(paramId) //refer to parameters id below
temp.setNumCond(condId) //refer to numerical conditions below
temp.setNum(number) //put your number here
temp.setSkill($dataSkills[skillId]) //set skill Id
//Condition 7,
temp.setLvlCond(condId) //refer to level conditions ids below
temp.setNumCond(condId) //refer to numerical conditions below
temp.setNum(number) //put your number here
temp.setSkill($dataSkills[skillId]) //set skill Id
//Condition 8,
temp.setNum(number) //put your number here
temp.setSkill($dataSkills[skillId]) //set skill Id
// Conditions 9, 10,
temp.setState($dataStates[stateId])) //set state Id
temp.setSkill($dataSkills[skillId]) //set skill Id
//Then for all those you can add a targetting modifier:
temp.setTargetting(condId) ///seee targetting conditions ids below
Ex: to create an AI line with: param HP% < 50: Heal, lowest Hp%, for actor 1
let temp = new AILine() //create the AI line
temp._actor = $gameActors.actor(1) //actor 1
temp.setCondition(6) //param condition
temp.setParam(10) // hp%
temp.setNumCond(1) // <
temp.setNum(50) // 50
temp.setSkill($dataSkills[8]) // Heal skill id
temp.setTargetting(20) // lowest hp%
$gameActors.actor(1)._AILines.push(temp) // add the line to the actor
/*
========================
Condition Ids
0 -> Always
1 -> Element
2 -> Party alive members
3 -> Troop alive members
4 -> Party dead members
5 -> Troop dead members
6 -> Param
7 -> Party level
8 -> Random
9 -> State ===
10 -> State !==
11 -> Turn
12 -> User Param
=======================
Param Ids
0 atk
1 def
2 mat
3 mdf
4 agi
5 luk
6 maxhp
7 maxmp
8 hp
9 mp
10 hp%
11 mp%
12 level
13 tp
14 maxtp
15 tp%
==============================
Numerical conditions Ids
0 >
1 <
2 ===
3 >=
4 <=
5 !==
============================
Elemental conditions Ids
0 Neutral
1 Weakness
2 Resistant
3 Null
4 Absorb
============================
Level conditions ids
0 Highest
1 Lowest
2 Average
===========================
Targetting ids
0 None
1 First
2 User
3 Highest MaxHp
4 Highest HP
5 Highest HP%
6 Highest MP
7 Highest MP%
8 Highest MaxMP
9 Highest MaxTP
10 Highest TP
11 Highest TP%
12 Highest ATK
13 Highest DEF
14 Highest MAT
15 Highest MDF
16 Highest LUK
17 Highest Level
18 Lowest MaxHP
19 Lowest HP
20 Lowest HP%
21 Lowest MP
22 Lowest MP%
23 Lowest MaxMP
24 Lowest MaxTP
25 Lowest TP
26 Lowest TP%
27 Lowest ATK
28 Lowest DEF
29 Lowest MAT
30 Lowest MDF
31 Lowest LUK
32 Lowest Level
*/