forked from GitHub-Mirrors/foundry-sw5e
Removed unnecessary calculation
This commit is contained in:
parent
063d529f09
commit
cac466462b
1 changed files with 0 additions and 7 deletions
|
@ -431,13 +431,6 @@ export default class Actor5e extends Actor {
|
|||
const powers = ad.powers;
|
||||
const isNPC = actorData.type === 'npc';
|
||||
|
||||
// Powercasting DC
|
||||
// TODO: Consider an option for using the variant rule of all powers use the same value
|
||||
ad.attributes.powerForceLightDC = 8 + ad.abilities.wis.mod + ad.attributes.prof ?? 10;
|
||||
ad.attributes.powerForceDarkDC = 8 + ad.abilities.cha.mod + ad.attributes.prof ?? 10;
|
||||
ad.attributes.powerForceUnivDC = Math.max(ad.attributes.powerForceLightDC,ad.attributes.powerForceDarkDC) ?? 10
|
||||
ad.attributes.powerTechDC = 8 + ad.abilities.int.mod + ad.attributes.prof ?? 10;
|
||||
|
||||
// Translate the list of classes into force and tech power-casting progression
|
||||
const forceProgression = {
|
||||
classes: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue