diff --git a/modules/avd12-actor.js b/modules/avd12-actor.js index 1b898b3..3a20925 100644 --- a/modules/avd12-actor.js +++ b/modules/avd12-actor.js @@ -242,6 +242,7 @@ export class Avd12Actor extends Actor { } /* -------------------------------------------- */ prepareWeapon(weapon) { + console.log(weapon) weapon.attackBonus = this.system.bonus.weapon.attack + this.system.bonus[weapon.system.weapontype].attack let bonusDamage = this.system.bonus.weapon.damage + this.system.bonus[weapon.system.weapontype].damage this.addDamages(weapon.system.damages.primary, bonusDamage) diff --git a/system.json b/system.json index 14b3dbb..810cb7b 100644 --- a/system.json +++ b/system.json @@ -64,7 +64,7 @@ ], "title": "AnyVenture D12 RPG", "url": "https://www.uberwald.me/gitea/public/fvtt-avd12", - "version": "10.0.18", - "download": "https://www.uberwald.me/gitea/public/fvtt-avd12/archive/fvtt-avd12-v10.0.18.zip", + "version": "10.0.20", + "download": "https://www.uberwald.me/gitea/public/fvtt-avd12/archive/fvtt-avd12-v10.0.20.zip", "background": "systems/fvtt-avd12/images/ui/avd12_welcome_page.webp" } \ No newline at end of file diff --git a/template.json b/template.json index 5b64475..001ede3 100644 --- a/template.json +++ b/template.json @@ -259,6 +259,12 @@ "crits": 0, "brutals": 0 }, + "crush": { + "attack": 0, + "damage": 0, + "crits": 0, + "brutals": 0 + }, "slash": { "attack": 0, "damage": 0,