Users browsing this thread: 4 Guest(s)
Pony Fantasy VI Remake
10-24-2016, 10:19 AM
So, a bit of a confusing bit. The Master Pug, the Wallchanging one, is set to use attacks based on his elemental weakness. Here's his AI script with regards to that. Rinse and repeat for each element, naturally.
What strikes me as odd is that people were reporting he was attacking himself, which makes no sense because this is the same coding vanilla used, I just gave him two attacks per cycle, but the vanilla script was the same for determining his weakness and appropriate attacks.
I changed the target coding to F1 39, "target random enemies except self" so hopefully that fixes it, but yeah, why would it work in vanilla and not here?
Code:
FC 1A 36 02 ; If target self is weak against elements: Ice
F1 47 ; Targeting: use normal targeting
F0 FE 08 08 ; Rand. spell: Nothing or <MB>Fire 3 or <MB>Fire 3
FD ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 08 B3 B3 ; Rand. spell: <MB>Fire 3 or Fire Ball or Fire Ball
FE ; End If and reset targeting
What strikes me as odd is that people were reporting he was attacking himself, which makes no sense because this is the same coding vanilla used, I just gave him two attacks per cycle, but the vanilla script was the same for determining his weakness and appropriate attacks.
I changed the target coding to F1 39, "target random enemies except self" so hopefully that fixes it, but yeah, why would it work in vanilla and not here?
« Next Oldest | Next Newest »
Users browsing this thread: 4 Guest(s)