Implement d6 wild dice/fumble skills and die-state rolls
This commit is contained in:
@@ -893,11 +893,20 @@
|
||||
},
|
||||
"diceRollDefinition": {
|
||||
"type": "string"
|
||||
},
|
||||
"wildDice": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"allowFumble": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"diceRollDefinition"
|
||||
"diceRollDefinition",
|
||||
"wildDice",
|
||||
"allowFumble"
|
||||
]
|
||||
},
|
||||
"UpdateSkillRequest": {
|
||||
@@ -908,11 +917,20 @@
|
||||
},
|
||||
"diceRollDefinition": {
|
||||
"type": "string"
|
||||
},
|
||||
"wildDice": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"allowFumble": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"diceRollDefinition"
|
||||
"diceRollDefinition",
|
||||
"wildDice",
|
||||
"allowFumble"
|
||||
]
|
||||
},
|
||||
"SkillSummary": {
|
||||
@@ -931,13 +949,22 @@
|
||||
},
|
||||
"diceRollDefinition": {
|
||||
"type": "string"
|
||||
},
|
||||
"wildDice": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"allowFumble": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"characterId",
|
||||
"name",
|
||||
"diceRollDefinition"
|
||||
"diceRollDefinition",
|
||||
"wildDice",
|
||||
"allowFumble"
|
||||
]
|
||||
},
|
||||
"RollSkillRequest": {
|
||||
@@ -951,6 +978,38 @@
|
||||
"visibility"
|
||||
]
|
||||
},
|
||||
"RollDieResult": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"roll": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"crit": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"fumble": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"wild": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"removed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"added": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"roll",
|
||||
"crit",
|
||||
"fumble",
|
||||
"wild",
|
||||
"removed",
|
||||
"added"
|
||||
]
|
||||
},
|
||||
"RollResult": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -984,6 +1043,12 @@
|
||||
"breakdown": {
|
||||
"type": "string"
|
||||
},
|
||||
"dice": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/RollDieResult"
|
||||
}
|
||||
},
|
||||
"timestampUtc": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -998,6 +1063,7 @@
|
||||
"visibility",
|
||||
"result",
|
||||
"breakdown",
|
||||
"dice",
|
||||
"timestampUtc"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user