Rings have a hardcoded category -96 (<tt>Object.ringCategory</tt>).
Rings have a hardcoded category -96 (<tt>Object.ringCategory</tt>).
+
+
===Weapons===
+
Weapons (sprites taken from <<tt>TileSheets\Weapons.xnb</tt> and data taken from <tt>Data\Weapons.xnb</tt>) are parsed by the <tt>MeleeWeapon</tt> constructor and contain eleven fields:
+
+
{| class="wikitable"
+
|-
+
! index
+
! field
+
! example value
+
|-
+
| 0
+
| name
+
| ''Galaxy Sword''
+
|-
+
| 1
+
| description
+
| ''It's unlike anything you've ever seen.''
+
|-
+
| 2
+
| minDamageValue
+
| ''60''
+
|-
+
| 3
+
| maxDamageValue
+
| ''80''
+
|-
+
| 4
+
| knockbackValue
+
| ''1''
+
|-
+
| 5
+
| speedValue
+
| ''8''
+
|-
+
| 6
+
| addedPrecisionValue
+
| ''0''
+
|-
+
| 7
+
| addedDefenseValue
+
| ''0''
+
|-
+
| 8
+
| weaponType<br /><small>("0" for sword, "1" for dagger, "2" for club/hammer, "4" for slingshot)</small>
+
| ''0''
+
|-
+
| 9
+
| addedAreaOfEffect
+
| ''-1''
+
|-
+
| 8
+
| critChanceValue
+
| ''-1''
+
|-
+
| 9
+
| critMultiplierValue
+
| ''-0''
+
|-
+
| 9
+
| ???
+
| ''.02''
+
|-
+
| 10
+
| ???
+
| ''3''
+
|}
+
+
Weapons have a hardcoded category of -98 (<tt>Object.weaponCategory</tt>).