mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Will reimplement
This commit is contained in:
parent
84b28bd9c9
commit
b8fcd440c6
3 changed files with 29 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue