Gestion des significatives

This commit is contained in:
2025-10-21 01:37:54 +02:00
parent 7f4f942d50
commit 147e49f2cb
8 changed files with 26 additions and 15 deletions

View File

@@ -5,6 +5,7 @@ import { PART_CARAC } from "./roll-part-carac.mjs"
import { PART_COMP } from "./roll-part-comp.mjs"
import { PART_DIFF } from "./roll-part-diff.mjs"
import { RollPartSelect } from "./roll-part-select.mjs"
import { PART_SIGN } from "./roll-part-sign.mjs"
import { ROLLDIALOG_SECTION } from "./roll-part.mjs"
export const PART_ATTAQUE = 'attaque'
@@ -111,7 +112,9 @@ export class RollPartAttaque extends RollPartSelect {
part.setDiff(rollData, { type: DIFF.ATTAQUE, value: current.initialDiff })
current.initialDiff = undefined
}
break
}
case PART_SIGN: return part.setArme(rollData, false, current.forceRequise)
}
}
return undefined