User:Immortius

From Guild Wars 2 Wiki
Jump to navigationJump to search

Supplemental data describing the weapon types in Guild Wars 2, for use with the APIs.

Attributes[edit]

  • id – The id of the weapon type. This corresponds to the details/type attribute for weapons in API:2/items and details/type attribute for weapons in API:2/skins.
  • name - The displayable name of the weapon type. This is split further split by language code.
  • use - Whether this weapon is used OneHanded, TwoHanded, OffHand, Aquatic, Bundle or Toy.

Data[edit]

 {
   "weapon_types": [
     {
       "id": "Sword",
       "name": {
         "en": "Sword"
       },
       "use" : "OneHanded"
     },
     {
       "id": "Hammer",
       "name": {
         "en": "Hammer"
       },
       "use" : "TwoHanded"
     },
     {
       "id": "LongBow",
       "name": {
         "en": "Longbow"
       },
       "use" : "TwoHanded"
     },
     {
       "id": "ShortBow",
       "name": {
         "en": "Short Bow"
       },
       "use" : "TwoHanded"
     },
     { 
       "id": "Axe",
       "name": {
         "en": "Axe"
       },
       "use" : "OneHanded"
     },
     {
       "id": "Dagger",
       "name": {
         "en": "Dagger"
       },
       "use" : "OneHanded"
     },
     { 
       "id": "Greatsword",
       "name": {
         "en": "Greatsword"
       },
       "use" : "TwoHanded"
     },
     {
       "id": "Mace",
       "name": {
         "en": "Mace"
       },
       "use" : "OneHanded"
     },
     {
       "id": "Pistol",
       "name": {
         "en": "Pistol"
       },
       "use" : "OneHanded"
     },
     {
       "id": "Rifle",
       "name": {
         "en": "Rifle"
       },
       "use" : "TwoHanded"
     },
     {
       "id": "Scepter",
       "name": {
         "en": "Scepter"
       },
       "use" : "OneHanded"
     },
     {
       "id": "Staff",
       "name": {
         "en": "Staff"
       },
       "use" : "TwoHanded"
     },
     {
       "id": "Focus",
       "name": {
         "en": "Focus"
       },
       "use" : "OffHand"
     },
     {
       "id": "Torch",
       "name": {
         "en": "Torch"
       },
       "use" : "OffHand"
     },
     {
       "id": "Warhorn",
       "name": {
         "en": "Warhorn"
       },
       "use" : "OffHand"
     },
     {
       "id": "Shield",
       "name": {
         "en": "Shield"
       },
       "use" : "OffHand"
     },
     {
       "id": "Harpoon",
       "name": {
         "en": "Spear"
       },
       "use" : "Aquatic",
       "aquatic": true
     },
     {
       "id": "Speargun",
       "name": {
         "en": "Harpoon Gun"
       },
       "use" : "Aquatic"
     },
     {
       "id": "Trident",
       "name": {
         "en": "Trident"
       },
       "use" : "Aquatic"
     },
     {
       "id": "LargeBundle",
       "name": {
         "en": "Large Bundle"
       },
       "use" : "Bundle"
     },
     {
       "id": "SmallBundle",
       "name": {
         "en": "Small Bundle"
       },
       "use" : "Bundle"
     },
     {
       "id": "Toy",
       "name": {
         "en": "Toy"
       },
       "use" : "Toy"
     },
     {
       "id": "TwoHandedToy",
       "name": {
         "en": "Two-handed Toy"
       },
       "use" : "Toy"
     }
   ]  
 }