05-13-2009, 03:48 PM
ElMaligno Wrote:I found an incompatibility betwen this script and your CTB, well at least with aniimated battlers:You're right, that's the reason.
When i create a MNK_STATIONARY_WEAPONS and the make it enhanced then the Anim.Battlers don't recognizes and the character moves normally and can't attack flying enemies.
I guess that it happens because this script creates a copy of the weapon of the database without the ID.
Unfortunately Anim Battlers uses constant arrays. If they were ordinary variable arrays it would be easy to insert the new ids into them.
Given all that, it should test weapon.ref_id instead of weapon.id against the MNK_STATIONARY_WEAPONS array.