Skip to content
netprogs edited this page Jun 28, 2012 · 1 revision
{
  // WEAPONS
  // This defines the bonuses/losses any character can gain from using specific weapons.
  "weapons": [
    {
      // DO NOT REMOVE THIS ENTRY. You can alter if however as desired.
      // Unarmed is used when what the player is holding does not match any weapon found in this list 
      // (holding a hoe for example)

      // This is the ID that must be used when assigning weapons to classes or races.
      "id": "unarmed",

      // We give this an ID of 0 so we know its not "real"
      "blockId": 0,

      // again, the name displayed on screen
      "displayName": "Unarmed",

      // The dice roll to use when this weapon is being used.
      // All modifier values here are used as the base. Class, racial and level modifiers are then added to it.
      "combatModifier": {
        "attack": 0.0,
        "damage": 0.0,
        "health": 0.0,
        "defense": 0.0,
        "initiative": 0.0,
        "diceRoll": "d4"
      }
    },
    {
      "id": "diamondSword",
      "blockId": 276,
      "displayName": "Diamond Sword",
      "combatModifier": {
        "attack": 5.0,
        "damage": 10.0,
        "health": 0.0,
        "defense": 0.0,
        "initiative": 0.0,
        "diceRoll": "d10"
      }
    },
    {
      "id": "woodenSword",
      "blockId": 268,
      "displayName": "Wooden Sword",
      "combatModifier": {
        "attack": 1.0,
        "damage": 2.0,
        "health": 0.0,
        "defense": 0.0,
        "initiative": 0.0,
        "diceRoll": "d8"
      }
    },
    {
      "id": "diamondAxe",
      "blockId": 279,
      "displayName": "Diamond Axe",
      "combatModifier": {
        "attack": 1.0,
        "damage": 2.0,
        "health": 0.0,
        "defense": 0.0,
        "initiative": 0.0,
        "diceRoll": "d10"
      }
    }
  ]
}

Clone this wiki locally