D
Divatox
Guest
Ok thank you so much ^^
You'll be be able tu edit IA but be carefull with it, you should have some bugs using it.If you want to do more complicated things, you might want to use a beta mod for Ifrit that I made here.
Target & Attack04 ... is the simple way to target something. 00->07 : Squall -> Edea (it should work up to Laguna, Kiros and Ward as well but I haven't check those) 00 : Squall 01 : Zell 02 : Irvine 03 : Quistis 04 : Linoa 05 : Selphie 06 : Seifer 07 : Edea c8 : self c9 : random enemy cc : all enemies cd : all allies cf : random ally
Nice, an update; cheers for this.Well I think I may have found the root of the problem, it looks like if any if statement is > 255 bytes, the offset doesn't get patched correctly.
I'll see if I can find the old code somewhere to patch since the version I'm working on is a bit of a mess atm.
Edit: I've patched the issue and updated the link here
I'm not sure if it will fix the issue that is causing the problem but it does fix a very major issue - it completely screws the logic up but it doesn't show in the code because the decompiler ignores the offset.
To fix any file, you should be able to adjust the textbox to get the compile button and a compile + save should fix it.
self.varDC += 1if (unknown(0x0A, 03) == 254) { if (unknown(0x0A, 04) == 65) { if (self.varDF == 0) { self.varDF = 1 target(200) domoveid(3) return } }}
Yeah that's right.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
target(200) domoveid(5)
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}
I don't understand what you mean, you can put magic wherever you want in the index.Also I thought the magic was indexed at 0.