forked from GitHub-Mirrors/foundry-sw5e
Fully split force and tech powers into their own sheets
This commit is contained in:
parent
70d399e8f6
commit
1ce2e92ccd
18 changed files with 285 additions and 318 deletions
|
@ -64,26 +64,6 @@ export default class Item5e extends Item {
|
|||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/**
|
||||
* Is the Item a force power
|
||||
* @type {boolean}
|
||||
*/
|
||||
get isForcePower() {
|
||||
return ["lgt", "drk", "uni"].includes(this.data.data.school);
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/**
|
||||
* Is the Item a tech power
|
||||
* @type {boolean}
|
||||
*/
|
||||
get isTechPower() {
|
||||
return ["tec"].includes(this.data.data.school);
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/**
|
||||
* Does the Item implement an attack roll as part of its usage
|
||||
* @type {boolean}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue