Implement d6 wild dice/fumble skills and die-state rolls

This commit is contained in:
2026-02-26 08:26:12 +01:00
parent 0f44cc466b
commit 11ab7c959b
22 changed files with 560 additions and 50 deletions

View File

@@ -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"
]
},