From 7b1693c7f52e00f82708b0484a55cd32632bfddd Mon Sep 17 00:00:00 2001 From: hppeng Date: Fri, 8 Jul 2022 21:25:45 -0700 Subject: [PATCH] Fix archetype failure msg --- js/atree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/atree.js b/js/atree.js index 6796b77..c7dba02 100644 --- a/js/atree.js +++ b/js/atree.js @@ -371,7 +371,7 @@ const atree_validate = new (class extends ComputeNode { if ('archetype_req' in ability && ability.archetype_req !== 0) { const others = archetype_count.get(ability.archetype); if (others < ability.archetype_req) { - _add.push([node, abil.archetype+': '+others+' < '+abil.archetype_req, false]) + _add.push([node, ability.archetype+': '+others+' < '+ability.archetype_req, false]) continue; } }