Skip to content
netprogs edited this page Jun 28, 2012 · 1 revision
{
  // ABILITIES
  // This is where we define how an ability affects the combat modifiers.
  // These modifiers are multiplied against the actual value 
  // given to races, classes and levels to produce their "effective" value.
  "abilities": [
    {
      // The id is used as the value in the abilityModifiers above for races, classes and levels and MUST match.
      "id": "strength",

      // This is the display name when being shown on screen.
      "displayName": "STR",

      // The description is used on the screen for display.
      "description": "This is a description",

      // This defines the combat modifiers that this ability will affect.
      // The values here are multiplied by the characters current total ability value.
      //
      // For example, if the character has a total of 20 str, then they would be given:
      // 10 str * 0.5 ability attack = +5 attack
      // 10 str * 0.5 ability damage = +5 damage
      //
      // There is no way to increase this multiplier except here.
      // Classes, Races and levels however allow you to give additional values to the total ability.
      //
      // For example:
      // You can give an Archer class 10 additional str at base and an additional 1 str at any given level.
      "combatModifier": {
        "attack": 0.5,
        "damage": 0.5,
        "health": 0.0,
        "defense": 0.0,
        "initiative": 0.0,
        "diceRoll": ""
      }
    },
    {
      "id": "constitution",
      "displayName": "CON",
      "description": "This is a description",
      "combatModifier": {
        "attack": 0.0,
        "damage": 0.0,
        "health": 0.5,
        "defense": 0.0,
        "initiative": 0.0,
        "diceRoll": ""
      }
    },
    {
      "id": "dexterity",
      "displayName": "DEX",
      "description": "This is a description",
      "combatModifier": {
        "attack": 0.0,
        "damage": 0.0,
        "health": 0.0,
        "defense": 0.5,
        "initiative": 0.0,
        "diceRoll": ""
      }
    },
    {
      "id": "intelligence",
      "displayName": "INT",
      "description": "Intelligence",
      "combatModifier": null
    },
    {
      "id": "wisdom",
      "displayName": "WIS",
      "description": "Wisdom",
      "combatModifier": null
    }
  ]
}