diff --git a/Unisystem-Buffy or Angel/Buffy_or_Angel.html b/Unisystem-Buffy or Angel/Buffy_or_Angel.html
index 3e3b6aaa5c..c5a0afb6cf 100644
--- a/Unisystem-Buffy or Angel/Buffy_or_Angel.html
+++ b/Unisystem-Buffy or Angel/Buffy_or_Angel.html
@@ -1201,162 +1201,177 @@
-
-
- Sword
-
-
+
+
+
-
-
- Bash
- Slash
+
+
+
+ Bash
+ Slash/Stab
+ Thru Heart
+ Vampire Heart
+ Decapitate
+
+
-
+
-
-
- Sword Decapitate
-
-
+
+
+
-
-
- Bash
- Decapitate
+
+
+
+ Bash
+ Slash/Stab
+ Thru Heart
+ Vampire Heart
+ Decapitate
+
-
+
-
-
- Baseball Bat
-
-
+
+
+
-
-
- Bash
+
+
+
+ Bash
+ Slash/Stab
+ Thru Heart
+ Vampire Heart
+ Decapitate
+
+
-
+
-
-
- Knife
-
-
+
+
+
-
-
- Bash
- Slash
+
+
+
+ Bash
+ Slash/Stab
+ Thru Heart
+ Vampire Heart
+ Decapitate
+
-
+
-
+
-
+
- Bash
- Slash/Stab
- Thru Heart
- Vampire Heart
- Decapitate
+ Bash
+ Slash/Stab
+ Thru Heart
+ Vampire Heart
+ Decapitate
+
+
-
+
-
+
- Bash
- Slash/Stab
- Thru Heart
- Vampire Heart
- Decapitate
-
+ Bash
+ Slash/Stab
+ Thru Heart
+ Vampire Heart
+ Decapitate
+
+
-
+
-
-
+
- Bash
- Slash/Stab
- Thru Heart
- Vampire Heart
- Decapitate
+ Bash
+ Slash/Stab
+ Thru Heart
+ Vampire Heart
+ Decapitate
+
+
+
-
+
-
+
- Bash
- Slash/Stab
- Excalibur
- Thru Heart
- Vampire Heart
- Decapitate
+ Bash
+ Slash/Stab
+ Thru Heart
+ Vampire Heart
+ Decapitate
+
+
+
+
- Medieval Ranged Weapons
-
+ Medieval Ranged Weapons
+
+
@@ -2177,4 +2192,22 @@ on("change:sheet_type1 sheet:opened", function() {
}
});
});
+[ 1, 2, 3, 4, 5, 6,7, 8] .forEach(i => {
+ on(`change:melee_weapon_damage_type-${i}`, ()=> {
+ getAttrs([`melee_weapon_damage_type-${i}`], v => {
+ const type = v[`melee_weapon_damage_type-${i}`];
+ const modifiers = {
+ bash: {attack: 0, damage: 1},
+ slash: {attack: 0, damage: 2},
+ heart: {attack: 3, damage: 4},
+ vampire: {attack: 3, damage: 5},
+ decapitate: {attack: 5, damage: 5}
+ };
+ const output = {};
+ output[`melee_weapon_attack_penalty-${i}`] = modifiers[type].attack;
+ output[`melee_weapon_damage_Multiplier-${i}`] = modifiers[type].damage;
+ setAttrs(output);
+ });
+ });
+});