Skip to content

Commit

Permalink
Merge pull request #612 from Muttley/develop
Browse files Browse the repository at this point in the history
Release 1.6.2
  • Loading branch information
Muttley authored Dec 1, 2023
2 parents 5e4bea1 + 4261011 commit c8f1105
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v1.6.2

### Bugfixes
* [#610] Thief backstab option now shows on the dialog box when using ranged weapons.

## v1.6.1

### Bugfixes
Expand Down
4 changes: 2 additions & 2 deletions system/src/documents/ActorSD.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,8 @@ export default class ActorSD extends Actor {
//
await this.getExtraDamageDiceForWeapon(item, data);

data.canBackstab = await this.canBackstab();

if (item.system.type === "melee") {
if (await item.isFinesseWeapon()) {
data.abilityBonus = Math.max(
Expand All @@ -1000,8 +1002,6 @@ export default class ActorSD extends Actor {
data.talentBonus = bonuses.meleeAttackBonus;
data.meleeDamageBonus = bonuses.meleeDamageBonus * damageMultiplier;
data.damageParts.push("@meleeDamageBonus");

data.canBackstab = await this.canBackstab();
}
else {
data.abilityBonus = this.abilityModifier("dex");
Expand Down
2 changes: 1 addition & 1 deletion system/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "shadowdark",
"title": "Shadowdark RPG",
"desciption": "A system for playing the Shadowdark RPG from Arcane Library",
"version": "1.6.1",
"version": "1.6.2",
"compatibility": {
"minimum": "11",
"verified": "11"
Expand Down

0 comments on commit c8f1105

Please sign in to comment.