Preliminary cleanup in the class sheet

This commit is contained in:
WBHarry 2025-06-08 01:57:06 +02:00
parent bf1492b195
commit 1f50e9533a
6 changed files with 47 additions and 254 deletions

View file

@ -395,11 +395,6 @@ export default class DhpActor extends Actor {
}
}
async emulateItemDrop(data) {
const event = new DragEvent('drop', { altKey: game.keyboard.isModifierActive('Alt') });
return this.sheet._onDropItem(event, { data: data });
}
//Move to action-scope?
async useAction(action) {
const userTargets = Array.from(game.user.targets);