FIX: raw attack
parent
57652479ee
commit
2574cc93f7
|
@ -164,7 +164,7 @@ export class OseActorSheet extends ActorSheet {
|
|||
let actorObject = this.actor;
|
||||
let element = event.currentTarget;
|
||||
let attack = element.parentElement.parentElement.dataset.attack;
|
||||
actorObject.rollAttack({ skipDialog: ev.ctrlKey }, { type: attack });
|
||||
actorObject.rollAttack({roll: {}}, { type: attack, skipDialog: ev.ctrlKey });
|
||||
});
|
||||
|
||||
html.find(".spells .item-reset").click((ev) => {
|
||||
|
|
|
@ -421,14 +421,12 @@ export class OseActor extends Actor {
|
|||
},
|
||||
};
|
||||
|
||||
let skip = options.event && options.event.ctrlKey;
|
||||
|
||||
// Roll and return
|
||||
return OseDice.Roll({
|
||||
event: options.event,
|
||||
parts: rollParts,
|
||||
data: rollData,
|
||||
skipDialog: skip,
|
||||
skipDialog: options.skipDialog,
|
||||
speaker: ChatMessage.getSpeaker({ actor: this }),
|
||||
flavor: label,
|
||||
title: label,
|
||||
|
|
Loading…
Reference in New Issue