Fix archetype failure msg

This commit is contained in:
hppeng 2022-07-08 21:25:45 -07:00
parent 0e96de76b3
commit 7b1693c7f5

View file

@ -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;
}
}