Allow any key in dummy ability tags

super="units/unit_type/abilities/~generic~" isn't quite accurate since there are a lot of keys/tags in there that may not mean anything for dummy abilities. Probably doesn't hurt to expect they work like in mainline though.
This commit is contained in:
Gunter Labes 2023-11-05 17:37:46 +01:00
parent a8dc847d35
commit 60f58c9694
No known key found for this signature in database
GPG key ID: C0C7B971CC910216

View file

@ -129,12 +129,6 @@
{DEFAULT_KEY pass_allied_units bool yes}
[/tag]
[/tag]
[tag]
name="tailwind"
max=infinite
super="units/unit_type/abilities/~generic~"
{SIMPLE_KEY value f_int}
[/tag]
{BASED_ON_SPECIAL "attacks"}
{BASED_ON_SPECIAL "swarm"}
{BASED_ON_SPECIAL "chance_to_hit"}
@ -151,6 +145,7 @@
name="*"
max=infinite
super="units/unit_type/abilities/~generic~"
{ANY_KEY any}
[/tag]
#undef BASED_ON_SPECIAL