diff --git a/lang/en.json b/lang/en.json index 4b786683..a000beca 100755 --- a/lang/en.json +++ b/lang/en.json @@ -121,6 +121,11 @@ }, "cost": { "stepTooltip": "+{step} per step" + }, + "summon":{ + "addSummonEntry": "Add Summon Entry", + "actorUUID": "Actor to Summon", + "count": "Count" } } }, diff --git a/module/data/action/summonAction.mjs b/module/data/action/summonAction.mjs index 7f272c69..246b043d 100644 --- a/module/data/action/summonAction.mjs +++ b/module/data/action/summonAction.mjs @@ -23,4 +23,14 @@ export default class DHSummonAction extends DHBaseAction { get canSummon() { return game.user.can('TOKEN_CREATE'); } + + //Accessor for summon manager for performing the summon action + get summonManager() { + return game.dh.summon; //incomplete implementation + } + + //Logic to perform the summon action - incomplete implementation + async _performAction(event, ...args) { + return this.summonManager.summonTokens(this.tokenArray); + } } diff --git a/templates/actionTypes/summon.hbs b/templates/actionTypes/summon.hbs new file mode 100644 index 00000000..3a079db5 --- /dev/null +++ b/templates/actionTypes/summon.hbs @@ -0,0 +1,14 @@ +
\ No newline at end of file