Initiative from PHASE OK
This commit is contained in:
@ -64,8 +64,10 @@ import { SoSDialogCombatActions } from "./sos-dialog-combat-actions.js";
|
||||
static async openDeclareActions( event) {
|
||||
event.preventDefault();
|
||||
let round = event.currentTarget.attributes['data-round'].value;
|
||||
let combatantId = event.currentTarget.attributes['data-combatant-id'].value;
|
||||
let combatId = event.currentTarget.attributes['data-combat-id'].value;
|
||||
let d = await SoSDialogCombatActions.create( combatId, round );
|
||||
let uniqId = event.currentTarget.attributes['data-uniq-id'].value;
|
||||
let d = await SoSDialogCombatActions.create( combatId, combatantId, round, uniqId );
|
||||
d.render(true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user