Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wmllint: uses race attribute from sub-tag as own race #4105

Open
sevu opened this issue Jun 6, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@sevu
Copy link
Member

commented Jun 6, 2019

wmllint falsely takes the race attribute in the sub-tag as well into account:

[unit_type]
    id=AE_arc_menagerie_Blue_Engineer
    name= _ "Blue Engineer"
    race=human
    ...
    [abilities]
        [heals]
            name=_"mech repairs"
            value=10
            [affect_adjacent]
                adjacent=n,ne,se,s,sw,nw
                [filter]
                    race=AE_arc_tri_mech,mechanical,AE_agl_steelhive
                [/filter]
            [/affect_adjacent]
        [/heals]
    [/abilities]
[/unit_type]

"units/archaic_units/menagerie/Blue_Engineer.cfg", line 40: AE_arc_menagerie_Blue_Engineer has unknown race

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.