Remove unneeded diceChoice function now that DiceField is a class I can use
This commit is contained in:
parent
851992161f
commit
d92d6b9d3c
1 changed files with 0 additions and 11 deletions
|
|
@ -1,17 +1,6 @@
|
||||||
import DOTDUNGEON from "../../config.mjs";
|
import DOTDUNGEON from "../../config.mjs";
|
||||||
import { DiceField } from "../fields/DiceField.mjs";
|
import { DiceField } from "../fields/DiceField.mjs";
|
||||||
|
|
||||||
function diceChoiceField() {
|
|
||||||
return new foundry.data.fields.StringField({
|
|
||||||
initial: ``,
|
|
||||||
blank: true,
|
|
||||||
trim: true,
|
|
||||||
options() {
|
|
||||||
return DOTDUNGEON.statDice;
|
|
||||||
},
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
function trainingLevelField() {
|
function trainingLevelField() {
|
||||||
return new foundry.data.fields.NumberField({
|
return new foundry.data.fields.NumberField({
|
||||||
initial: 0,
|
initial: 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue