Ad placeholder

Template:Action page/doc: Difference between revisions

Jump to navigation Jump to search
expanding to include the modernized damage parameters in template data
(expanding to include the modernized damage parameters in template data)
Line 10: Line 10:
| concentration =
| concentration =
| damage =
| damage =
| damage2 =
| damage type =
| damage modifier =
| extra damge =
| extra damage type =
| extra damage modifier =  
| recharge =
| recharge =
| duration =
| duration =
Line 139: Line 143:
},
},
         "on miss": {
         "on miss": {
"description": "Used in conjunction with 'attack roll' describes what happens if the spell misses its attack roll.",
"description": "Used in conjunction with 'attack roll' describes what happens if the action misses its attack roll.",
"example": "Targets still take half damage.",
"example": "Targets still take half damage.",
"type": "string",
"type": "string",
Line 147: Line 151:
},
},
"damage": {
"damage": {
"description": "The damage of the action. \n* amount: amount in number or die like 1d8 \n* amounttext: if your amount is text instead of a number or die you need to do this instead \n* type: damage type, i.e. Healing",
"description": "The damage of the action, expressed as a number, damage dice, or in text",
"example": "amount:3d6, type:Acid",
"example": "3d6",
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"amounttext:Weapon, type:Physical"
"1d4",
                "20",
                "Weapon Damage"
]
]
},
},
"damage2": {
"damage type": {
"description": "The secondary damage of the action. Will be output as damage + damage2. Same params as damage.",
"description": "The type of damage being dealt",
"example": "amount:6d20, type:Radiant",
"example": "Acid",
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"amounttext:Weapon, type:Physical"
"Slashing",
                "Piercing",
                "Bludgeoning",
                "Acid",
                "Fire",
                "Cold",
                "Lightning",
                "Thunder",
                "Necrotic",
                "Poison",
                "Healing"
]
},
        "damage modifier": {
"description": "Any modifiers to the damage, found after the plus sign in the damage tooltip. Often a flexible value that scales with the source's ability scores.",
"example": "STR",
"type": "string",
"suggestedvalues": [
"STR",
                "DEX",
                "Spellcasting"
]
},
        "extra damage": {
"description": "The secondary damage of the action, if applicable. Will be output as damage + damage2. Same parameters as damage. Extra damage can be added up to six times by adding and incrementing the parameters each additional time, i.e. extra damage 2, extra damage type 2 etc.",
"example": "3d6",
"type": "string",
"suggestedvalues": [
"1d4",
                "20",
                "Weapon Damage"
]
},
"extra damage type": {
"description": "The type of damage being dealt",
"example": "Acid",
"type": "string",
"suggestedvalues": [
"Slashing",
                "Piercing",
                "Bludgeoning",
                "Acid",
                "Fire",
                "Cold",
                "Lightning",
                "Thunder",
                "Necrotic",
                "Poison",
                "Healing"
]
},
        "extra damage modifier": {
"description": "Any modifiers to the damage, found after the plus sign in the damage tooltip. Often a flexible value that scales with the source's ability scores.",
"example": "STR",
"type": "string",
"suggestedvalues": [
"STR",
                "DEX",
                "Spellcasting"
]
]
},
},
Line 693: Line 757:
         "hit cost",
         "hit cost",
"damage",
"damage",
"damage2",
"damage type",
        "damage modifier",
        "extra damage",
        "extra damage type",
        "extra damage modifier",
"recharge",
"recharge",
"duration",
"duration",

Navigation menu