In the game I'm working on, I have some Doppelganger enemies that detect your characters' job classes and shapeshift into that form.
That's the idea, anyway. How it actually works: if the tag check fails, the battle freezes. My attack chains are set up like this: *71: *Doppel-R1: If tag 17 = OFF then use attack 72 instead *72: *Doppel-R2: If tag 18 = OFF then use attack 73 instead *73: *Doppel-R3: If tag 19 = OFF then use attack 74 instead *74: *Doppel-R4: If tag 20 = OFF then use attack 75 instead *75: *Doppel-R5: If tag 21 = OFF then use attack 0 instead Attack 0 is just a regular attack. So if tag 17 is on, that means the red character is in the Warrior class. Doppel-R1 is used in that case, and the Doppelganger successfully transforms. In any other case, though, the battle freezes. I notice that the source has some debug lines surrounding instead-chains. These aren't firing in my case; the debug is clean. My guess from a scan of the source is that the attack delays are screwing things up. (How do attack delays work with instead-chains, anyway? Seems like the attack should be decided before the delay is calculated.) See line 2265 of bmod.bas. I'm pretty sure I've got the attack chains set up correctly. Any ideas?
_______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
