direct damage

This commit is contained in:
Dapoolp 2025-08-12 15:44:04 +02:00
parent 6e747e67ee
commit 981eb66017
9 changed files with 37 additions and 14 deletions

View file

@ -138,7 +138,7 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
this.consumeOnSuccess();
if (this.system.hasHealing) target.actor.takeHealing(damages);
else target.actor.takeDamage(damages);
else target.actor.takeDamage(damages, this.system.isDirect);
}
}