mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Remove test code
This commit is contained in:
parent
4480d5dabd
commit
f33336723f
1 changed files with 1 additions and 2 deletions
|
|
@ -75,8 +75,7 @@ export default class DHAttackAction extends DHDamageAction {
|
||||||
game.dice3d.showForRoll(roll, game.user, true);
|
game.dice3d.showForRoll(roll, game.user, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
const needsToReload = true;
|
const needsToReload = roll.total === 1;
|
||||||
// const needsToReload = roll.total === 1;
|
|
||||||
if (needsToReload) {
|
if (needsToReload) {
|
||||||
this.item.update({ 'system.resource.value': 0 });
|
this.item.update({ 'system.resource.value': 0 });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue