Great job JWP ! I will test it tonight, hope that works !
Ok lets go, i want to the enemie do:
start casting triple
cast haste, cure (cura or curaga), shell or protect with 50% HP
to resume, he cast support magics in him self when necessary. (like bosses) Right now the enemie use blizzard and reflect on my party XD
to cast a high level magic in the hole party is:
if (rand() % 3 == 0) {
target(204)
domoveid(2) <------- my question is, this move in from the list of abilities right?
return
Yeah that's right.
So I will take your abilities' list and put the others:
1-custom = 2 / anin=13
2-magic = 4(blizzard) / anin=11
3-magic = 31(reflect) / anin=11
4-custom = 2 / anin=13
5-custom = 20(vampire) / anin=14
6-custom = 20(vampire) / anin=14
7-magic = 34(triple) / anim 11
8-magic = 21(cure, you can put cura and curaga for medium and high level) / anim11
9-magic = 35(haste) / anim11
10-magic = 29(protect) / anim 11
Put this in the init AI:
target(200)
domoveid(5)
Put this in the Turn AI:
if (self.hp <= 5) {
if (self.varDC == 0) {
self.varDC = 1
target(200)
choose(8, 9, 10)
return
}
}
else if (rand() % 3 == 0) {
target(201)
choose(1, 5, 5)
}
else {
target(201)
domoveid(2)
if (self.status == TRIPLE) {
target(201)
domoveid(2)
target(201)
domoveid(2)
}
return
}
That's a simple possibility, let me know if you want to complicate it.