Action system improvements
- Actions/spells now display their summary, not their description - All save branches and attack branches run when there are no targets - Improved action logging - Index branch lets you customise a choice of children to run
This commit is contained in:
@@ -18,6 +18,8 @@ let BranchSchema = createPropertySchema({
|
||||
'eachTarget',
|
||||
// Pick one child at random
|
||||
'random',
|
||||
// Pick one child based on a given index
|
||||
'index',
|
||||
// if it has option children, asks to select one
|
||||
// Otherwise presents its own text with yes/no
|
||||
//'choice',
|
||||
|
||||
@@ -41,6 +41,11 @@ let RollSchema = createPropertySchema({
|
||||
parseLevel: 'compile',
|
||||
optional: true,
|
||||
},
|
||||
// Prevent the roll from showing up in the log
|
||||
silent: {
|
||||
type: Boolean,
|
||||
optional: true,
|
||||
},
|
||||
});
|
||||
|
||||
let ComputedOnlyRollSchema = createPropertySchema({
|
||||
|
||||
Reference in New Issue
Block a user