wmllint: handle SPECIAL_NOTES_DEFENSE_CAP

Also silenced a wmllint warning that this commit throws on the Chocobone unit.
This commit is contained in:
Elvish_Hunter 2016-09-14 21:35:41 +02:00
parent 0efdd721e2
commit 59d815dcf1
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@
hills=60
mountains=50
fungus=60
# wmllint: match forest=-70 with {SPECIAL_NOTES_DEFENSE_CAP}
forest=-70
village=60
[/defense]

View file

@ -938,6 +938,7 @@ def standard_unit_filter():
# Associations for the ability sanity checks.
notepairs = [
("movement_type=mounted", "{SPECIAL_NOTES_DEFENSE_CAP}"),
("movement_type=undeadspirit", "{SPECIAL_NOTES_SPIRIT}"),
("type=arcane", "{SPECIAL_NOTES_ARCANE}"),
("{ABILITY_HEALS}", "{SPECIAL_NOTES_HEALS}"),