LeagueSandbox / LeagueSandbox-Default

LeagueSandbox's Default Content Package
70 stars 97 forks source link

Unsigned integer values #130

Closed lzardy closed 2 years ago

lzardy commented 3 years ago

Some values which are supposed to be short values, are instead representative of unsigned integer values. Example: https://github.com/LeagueSandbox/LeagueSandbox-Default/blob/indev/Stats/ChaosTurretShrine/ChaosTurretShrine.json#L15

The value here is the MaxValue for UInt16, however when opening the original inibin file in Wooxy, the value is a short of -1. The ContentSerializer likely does not differentiate properly, and thus assumed it was UInt16.