diff --git a/data/core/units/dwarves/Berserker.cfg b/data/core/units/dwarves/Berserker.cfg index 2e92086d325..72dabd7f1ac 100644 --- a/data/core/units/dwarves/Berserker.cfg +++ b/data/core/units/dwarves/Berserker.cfg @@ -147,7 +147,7 @@ [if] [filter_second_attack] [/filter_second_attack] - swing=1 + second_value=1 ### all units with any melee attack (because the dwarf's attack is melee) will pass the above filter, and execute this block instead of the following block start_time=-240 @@ -159,7 +159,7 @@ start_time=-3640 offset=0.0~0.0:3400,0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30 - swing=1 + second_value=1 [frame] duration=200 image="units/dwarves/berserker.png" diff --git a/data/core/units/dwarves/Ulfserker.cfg b/data/core/units/dwarves/Ulfserker.cfg index 010bedfbda9..baaf70f3429 100644 --- a/data/core/units/dwarves/Ulfserker.cfg +++ b/data/core/units/dwarves/Ulfserker.cfg @@ -112,7 +112,7 @@ [if] [filter_second_attack] [/filter_second_attack] - swing=1 + second_value=1 ### all units with any melee attack (because the dwarf's attack is melee) will pass the above filter, and execute this block instead of the following block start_time=-240 @@ -124,7 +124,7 @@ start_time=-3640 offset=0.0~0.0:3400,0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30 - swing=1 + second_value=1 [frame] duration=200 image="units/dwarves/ulfserker.png" diff --git a/data/tools/wmllint b/data/tools/wmllint index e2efafe9ba7..c49e39b477b 100755 --- a/data/tools/wmllint +++ b/data/tools/wmllint @@ -456,7 +456,8 @@ linechanges = ( ("WEAPON_SPECIAL_STONE", "WEAPON_SPECIAL_PETRIFY"), ("SPECIAL_NOTE_STONE", "SPECIAL_NOTE_PETRIFY"), (".stoned", ".petrified"), - # Changed just before 1.7.3 + # Changed at rev 37390 + ("swing=", "second_value="), ) def validate_stack(stack, filename, lineno):