Hello!
As many others i use the Battle AI Core plugin to make some enemy encounters more interesting and challenging (like targeting with a Fire move a character who's hit by a status that makes him weak to Fire, for an example).
So, I'm trying to make a Queen Bee, and her gimmick is that she's helped in battle by Worker Bees and Flowers. When her HP reach 60% or less, she targets the Flower with most HP and drain them, to restore hers.
To do this, I put that the Flower is weak to Fire, and then added this code to the Queen Bee:
So, when the Queen Bee reaches 60% of HP or less, she will target the only ally who's weak to fire (The Flower) and use the Harvest Ability. The thing is, none of that happens! Instead, she uses her standard attacks. I checked the Flower enemy to see if he's actually weak to Fire, and I checked as well if the Queen Bee has enough MP to use the Ability.
So, the question is: what did i code wrong?
Thanks in advance to anyone interested.
As many others i use the Battle AI Core plugin to make some enemy encounters more interesting and challenging (like targeting with a Fire move a character who's hit by a status that makes him weak to Fire, for an example).
So, I'm trying to make a Queen Bee, and her gimmick is that she's helped in battle by Worker Bees and Flowers. When her HP reach 60% or less, she targets the Flower with most HP and drain them, to restore hers.
To do this, I put that the Flower is weak to Fire, and then added this code to the Queen Bee:
Code:
<AI Priority>
Element 2 Weakness +++ User HP% param <= 60%: Harvest, Highest HP
</AI Priority>
So, when the Queen Bee reaches 60% of HP or less, she will target the only ally who's weak to fire (The Flower) and use the Harvest Ability. The thing is, none of that happens! Instead, she uses her standard attacks. I checked the Flower enemy to see if he's actually weak to Fire, and I checked as well if the Queen Bee has enough MP to use the Ability.
So, the question is: what did i code wrong?
Thanks in advance to anyone interested.