mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 23:16:38 +00:00
Schema: attempt to fix specials used as abilities
This commit is contained in:
parent
3beefca899
commit
fdf98757e3
@ -5,6 +5,8 @@
|
||||
max=infinite
|
||||
super="units/unit_type/abilities/~generic~,units/unit_type/attack/specials/" + {NAME}
|
||||
{FILTER_TAG "filter_student" unit ()}
|
||||
{FILTER_TAG "filter_weapon" weapon ()}
|
||||
{FILTER_TAG "filter_second_weapon" weapon ()}
|
||||
[/tag]
|
||||
#enddef
|
||||
|
||||
@ -120,23 +122,15 @@
|
||||
{DEFAULT_KEY pass_allied_units bool yes}
|
||||
[/tag]
|
||||
[/tag]
|
||||
[tag]
|
||||
name="chance_to_hit"
|
||||
max=infinite
|
||||
super="units/unit_type/abilities/~value~"
|
||||
{FILTER_TAG "filter_opponent" unit ()}
|
||||
[/tag]
|
||||
[tag]
|
||||
name="firststrike"
|
||||
max=infinite
|
||||
super="units/unit_type/abilities/~generic~"
|
||||
{FILTER_TAG "filter_second_weapon" weapon ()}
|
||||
[/tag]
|
||||
{BASED_ON_SPECIAL "attacks"}
|
||||
{BASED_ON_SPECIAL "chance_to_hit"}
|
||||
{BASED_ON_SPECIAL "damage"}
|
||||
{BASED_ON_SPECIAL "drains"}
|
||||
{BASED_ON_SPECIAL "berserk"}
|
||||
{BASED_ON_SPECIAL "firststrike"}
|
||||
{BASED_ON_SPECIAL "poison"}
|
||||
{BASED_ON_SPECIAL "slow"}
|
||||
{BASED_ON_SPECIAL "petrifies"}
|
||||
[tag]
|
||||
name="*"
|
||||
max=infinite
|
||||
|
Loading…
x
Reference in New Issue
Block a user