From 1be5e907c291634a16a2a74ad290e4ccc811ea11 Mon Sep 17 00:00:00 2001 From: supervj <64861570+supervj@users.noreply.github.com> Date: Tue, 15 Sep 2020 00:23:50 -0400 Subject: [PATCH] Weapon & Armor Properties Update This was now baked into the system so I had to remove our custom code and tweak it for armor. --- templates/items/equipment.html | 31 +++++++------------------------ templates/items/weapon.html | 29 ----------------------------- 2 files changed, 7 insertions(+), 53 deletions(-) diff --git a/templates/items/equipment.html b/templates/items/equipment.html index 9a9740f4..42415b85 100644 --- a/templates/items/equipment.html +++ b/templates/items/equipment.html @@ -76,32 +76,15 @@ {{/unless}} - {{#unless isWeapon }} - {{!-- ArmorProperties Formula --}} -
-

- {{#unless isWeapon }}{{ localize "SW5E.ArmorProperties" }}{{ else }}{{ localize "SW5E.ItemWeaponProperties" }}{{/unless}} - -

-
    - {{#each data.armorproperties.parts as |part i| }} -
  1. - - - - -
  2. + {{!-- Armor Properties --}} +
    + + {{#each config.armorPropertiesTypes as |name prop|}} + {{/each}} -
- {{/unless}} {{!-- Armor Class --}}
diff --git a/templates/items/weapon.html b/templates/items/weapon.html index 34d7376f..060e0979 100644 --- a/templates/items/weapon.html +++ b/templates/items/weapon.html @@ -77,7 +77,6 @@
{{/unless}} - {{#if sss}} {{!-- Weapon Properties --}}
@@ -87,34 +86,6 @@ {{/each}}
- {{/if}} - - {{#if isWeapon }} -
- {{!-- weaponproperties Formula --}} -

- {{#unless isWeapon }}{{ localize "SW5E.ArmorProperties" }}{{ else }}{{ localize "SW5E.ItemWeaponProperties" }}{{/unless}} - -

-
    - {{#each data.weaponproperties.parts as |part i| }} -
  1. - - - - -
  2. - {{/each}} -
-
- {{/if}} {{#if isMountable}}