diff --git a/D6pp_Wild_West/d6ppww.html b/D6pp_Wild_West/d6ppww.html
index 52d7e9cd57..f2c895846b 100644
--- a/D6pp_Wild_West/d6ppww.html
+++ b/D6pp_Wild_West/d6ppww.html
@@ -186,7 +186,6 @@
-
@@ -2261,8 +2260,8 @@
-
+
@@ -2436,7 +2434,7 @@
-
+
@@ -4444,14 +4442,13 @@
@@ -4472,7 +4469,7 @@
-
+
@@ -4603,7 +4600,7 @@
-
+
@@ -7140,6 +7137,7 @@
"status",
"condition_knockout",
"initiative_rollcode",
+ "times_attacked"
];
getAttrs(attrs, values => {
@@ -7155,6 +7153,11 @@
return;
}
+ if (displayName === "Dodge") {
+ const current = parseInt(values.times_attacked, 10) || 0;
+ setAttrs({ times_attacked: current + 1 });
+ }
+
const name = values.character_name || "Character";
const whisper = values.whisper_toggle || "";
const rollcode = getRollcode(skill, values);