Quote:
Originally Posted by VoiDeD
This actually becomes an issue with how ff2 builds attribute strings for bosses.
Although I'm not sure if the most recent public version does this, but some old version (and my forked version) of the FF2 code will concat a bosses attribs with some hardcoded attribs in the plugin.
So if a boss is being given a weapon with blank attribs, the final string will be something like "2 ; <something> ; 49 ; <somevalue> ; " (attribs completely from memory, but emphasis on the final semicolon and whitespace).
Now when the item code runs through whatever gets exploded, an empty string is passed to StringToInt, and that returns 0 and the code interprets that as attrib 0 and it all explodes.
|
As far as I'm aware, all public versions of FF2 concat hard-coded attributes for melee weapons.
Speaking of public versions, do you have a public source code repo for your version somewhere?
__________________