Skip to content

Commit

Permalink
[BUGFIX] Allow enemies to use recoveries
Browse files Browse the repository at this point in the history
  • Loading branch information
scottTomaszewski committed Sep 27, 2024
1 parent 65c6bc5 commit d8239f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.1.2

- [BUGFIX] Allow enemies to use recoveries

## 1.1.1

- [BUGFIX] Corrects bugs allowing for non-integer stamina
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "draw-steel-elements",
"name": "Draw Steel Elements",
"version": "1.1.1",
"version": "1.1.2",
"minAppVersion": "0.15.0",
"description": "Components to support the Draw Steel TTRPG by MCDM.",
"author": "Scott Tomaszewski (Xentis)",
Expand Down
5 changes: 0 additions & 5 deletions src/utils/StaminaEditModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,6 @@ export class StaminaEditModal extends Modal {
}
});

// For creatures, hide the recovery button (assuming only heroes can spend recovery)
if (!this.isHero(this.character)) {
recoveryButton.style.display = 'none';
}

// Bottom: Action Button and Reset Button
const actionButtonContainer = contentEl.createEl('div', { cls: 'action-button-container' });

Expand Down

0 comments on commit d8239f0

Please sign in to comment.