Manage weapons
This commit is contained in:
parent
8f9ecff285
commit
9362d3d6bc
@ -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)
|
||||
|
@ -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"
|
||||
}
|
@ -259,6 +259,12 @@
|
||||
"crits": 0,
|
||||
"brutals": 0
|
||||
},
|
||||
"crush": {
|
||||
"attack": 0,
|
||||
"damage": 0,
|
||||
"crits": 0,
|
||||
"brutals": 0
|
||||
},
|
||||
"slash": {
|
||||
"attack": 0,
|
||||
"damage": 0,
|
||||
|
Reference in New Issue
Block a user