Can't seem to figure out what's wrong with this AI Script:
<AI Level: 100>
<AI Consider Taunt>
<AI Priority>
State === State 4: Skill 15, User
State === State 12: Skill 15, User
HP% param <= 40% +++ State !== State 13: Skill 8, User
Party Alive Members > 2 +++ State !== State 13 +++ Random 35%: Skill 11
State !== State 13: Skill 1
</AI Priority>
Walking down the list:
It checks if the enemy has (poison - state 4) or a DoT poison (State 12) - had to break them apart because the OR (||) doesn't work either - If the enemy (in this case THE ONLY enemy on the screen) is: cast anti-poison (Skill 15) to cure it, targeting itself (The User of the Skill). :: Doesn't work - he randomly plops the cure on the party members. Unless there's a Taunt-then he just targets that one.
If the enemy's health drops below 40% and he's not using the ability (State 13) that requires a charge up **don't even get me started with that mess** - cast Skill 8 (Heal) targeting himself (the User of the Skill). This Code Works.
If the Party is Alive with >2 members and the enemy isn't charging up, on a random 35% use skill 11 (Hit all the party members) << This Code Works
Lastly: If the enemy Is NOT Charging up (And no qualifying abilities above are true, Simply use Skill 1 (Attack) << Seems to work.
I've tried so many different kinds of combinations to get this enemy to not act stupidly: Blank, User as a target, Lowest HP%, Highest HP%, Evals, Etc. he always targets someone in the PARTY.
These Codes are nearly straight from the examples of AI Priority. Even more so from watching the videos.
Why some work, when others don't just confounds me. Those that work, just target the wrong people.
Does any other eagle eyes out there see the problem. It maybe I am too close to the picture to see the whole, always love it when another person can scan something.
Thank you for any help.
- One Burnt Out Old Man
<AI Level: 100>
<AI Consider Taunt>
<AI Priority>
State === State 4: Skill 15, User
State === State 12: Skill 15, User
HP% param <= 40% +++ State !== State 13: Skill 8, User
Party Alive Members > 2 +++ State !== State 13 +++ Random 35%: Skill 11
State !== State 13: Skill 1
</AI Priority>
Walking down the list:
It checks if the enemy has (poison - state 4) or a DoT poison (State 12) - had to break them apart because the OR (||) doesn't work either - If the enemy (in this case THE ONLY enemy on the screen) is: cast anti-poison (Skill 15) to cure it, targeting itself (The User of the Skill). :: Doesn't work - he randomly plops the cure on the party members. Unless there's a Taunt-then he just targets that one.
If the enemy's health drops below 40% and he's not using the ability (State 13) that requires a charge up **don't even get me started with that mess** - cast Skill 8 (Heal) targeting himself (the User of the Skill). This Code Works.
If the Party is Alive with >2 members and the enemy isn't charging up, on a random 35% use skill 11 (Hit all the party members) << This Code Works
Lastly: If the enemy Is NOT Charging up (And no qualifying abilities above are true, Simply use Skill 1 (Attack) << Seems to work.
I've tried so many different kinds of combinations to get this enemy to not act stupidly: Blank, User as a target, Lowest HP%, Highest HP%, Evals, Etc. he always targets someone in the PARTY.
These Codes are nearly straight from the examples of AI Priority. Even more so from watching the videos.
Why some work, when others don't just confounds me. Those that work, just target the wrong people.
Does any other eagle eyes out there see the problem. It maybe I am too close to the picture to see the whole, always love it when another person can scan something.
Thank you for any help.
- One Burnt Out Old Man