Merge pull request #96 from hppeng-wynn/atree-abil-hotfix

Atree abil hotfix
This commit is contained in:
hppeng-wynn 2022-07-08 21:41:17 -07:00 committed by GitHub
commit 8cf46eb230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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