Template:XC3 weapon data/doc

This is a template for holding technical data of s in XC3. It takes data from BTL_WpnType, BTL_WpnParamXX, and the equivalents to the latter for FR characters.

The first set of data, for BTL_WpnType, is mostly straightforward; the relevant arguments are all of the columns in the BDATs. The WpmParam data, which holds the weapon stats, is included in a less straightforward manner: only the values in the level 1 and level 99 rows are included. (The rest is added to the weapon's page directly.)

Moreover, the arguments corresponding to WpmParam values do not have the same name as the WpnParam columns (because multiple entries are relevant in the same column). Instead of just having one Damage argument, there are two: DamageLv1 and DamageLv99. The same is true for the other columns in this table. The IDs in WpnParam are not included in the data template, but that of the relevant row in BTL_WpnType is. There are similar arguments, FRDamageRk1 etc., for the FR weapons; these may be left blank for the non-FR weapons.

There is also an argument BdatRow for the row number corresponding to the weapon in BTL_WpnType (indexed from 1). This is for convenience; since the BDAT name column doesn't always match what we'd call the weapon (e.g. for Lucky Seven), having the BdatRow argument allows for Template:XC3 enum weapon to be used instead.