topaz-next / topaz

💎 A server emulator for Final Fantasy XI.
GNU General Public License v3.0
56 stars 81 forks source link

Treasure Caskets - Fix data type passed to messageSpecial, remove unused local variable #2535

Closed ghost closed 3 years ago

ghost commented 3 years ago

I affirm:

Temporary:

messageSpecial was receiving string type, and defaulting to 0 for some values. Fix involved casting values placed into splitNumbers table, and removing additional casts sprinkled around the lua afterwards. Also, removed one reference to splitNumbers that was not used.

Fixes #2534