partial summon power update

This commit is contained in:
2025-06-03 21:18:59 -05:00
parent f396636713
commit 0560cc5778
8 changed files with 21 additions and 30 deletions
-4
View File
@@ -35,10 +35,6 @@ export class BalefulPolymorphEffect extends ActorFolderEffect {
return false;
}
get actorFolderBase() {
return 'Morphables';
}
actorValue(actor) {
const size = actor.system.stats.size;
const targetSize = this.targets[0].actor.system.stats.size;
-4
View File
@@ -35,10 +35,6 @@ export class ShapeChangeEffect extends ActorFolderEffect {
return false;
}
get actorFolderBase() {
return 'Morphables';
}
actorValue(actor) {
const size = actor.system.stats.size;
let value = 3;
+5 -5
View File
@@ -3,7 +3,7 @@ import { BaseSummonEffect } from './summonSupport.js';
class BaseAllyEffect extends BaseSummonEffect {
get actorFolder() {
return `${this.actorFolderBase}/Creatures`;
return 'Creatures';
}
get basePowerPoints() {
@@ -244,14 +244,14 @@ export class SummonAllyEffect extends BaseAllyEffect {
return 'Summon Ally';
}
get actorFolder() {
return `${this.actorFolderBase}/${this.name}`;
}
get commonActorPool() {
return false;
}
get actorFolder() {
return this.name;
}
get icon() {
return 'icons/magic/control/silhouette-hold-beam-blue.webp';
}
+5 -5
View File
@@ -1,15 +1,15 @@
/* globals Sequencer */
import { log, moduleHelpers, moduleName } from '../globals.js';
import { log, moduleHelpers, moduleName, settingKeys } from '../globals.js';
import { templates } from '../preloadTemplates.js';
import { ActorFolderEffect } from './basePowers.js';
export class BaseSummonEffect extends ActorFolderEffect {
get name() {
return 'Base Summon';
get actorFolderPackId() {
return moduleHelpers.getSetting(settingKeys.summonablesCompendium);
}
get actorFolderBase() {
return 'Summonables';
get name() {
return 'Base Summon';
}
get summonCount() {