Skip to content

Commit

Permalink
Merge pull request #4476 from newfrenchy83/newfrenchy83_replace_depre…
Browse files Browse the repository at this point in the history
…cated_special

Upgrade special=* uses in master
  • Loading branch information
nemaara committed Oct 19, 2019
2 parents 0e85ea8 + 409b536 commit 5800acd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions data/campaigns/Dead_Water/units/Brawler.cfg
Expand Up @@ -76,7 +76,7 @@
first_time_only=no

[filter_attack]
special=tail_stun
special_id=tail_stun
[/filter_attack]

[filter_second]
Expand Down Expand Up @@ -123,7 +123,7 @@
first_time_only=no

[filter_second_attack]
special=tail_stun
special_id=tail_stun
[/filter_second_attack]

[filter]
Expand Down
38 changes: 19 additions & 19 deletions data/campaigns/Under_the_Burning_Suns/utils/abilities.cfg
Expand Up @@ -250,7 +250,7 @@ Marksman attacks are only affected if the chance to hit is greater than 60%."
[filter]
[not]
[has_attack]
special=enemy_dazed
special_id=enemy_dazed
[/has_attack]
[/not]
[/filter]
Expand All @@ -265,13 +265,13 @@ Marksman attacks are only affected if the chance to hit is greater than 60%."
[effect]
apply_to=attack
[not]
special=magical
special_id=magical
[/not]
[not]
special=marksman
special_id=marksman
[/not]
[not]
special=enemy_dazed
special_id=enemy_dazed
[/not]

[set_specials]
Expand All @@ -294,12 +294,12 @@ Marksman attacks are only affected if the chance to hit is greater than 60%."
[/effect]
[effect]
apply_to=attack
special=marksman
special_id=marksman
[and]
special=poison
special_type=poison
[/and]
[not]
special=enemy_dazed
special_id=enemy_dazed
[/not]

# Note: instead of simply appending, we have to use replace and
Expand Down Expand Up @@ -346,12 +346,12 @@ Marksman attacks are only affected if the chance to hit is greater than 60%."
[/effect]
[effect]
apply_to=attack
special=marksman
special_id=marksman
[not]
special=poison
special_type=poison
[/not]
[not]
special=enemy_dazed
special_id=enemy_dazed
[/not]

# Note: instead of simply appending, we have to use replace and
Expand Down Expand Up @@ -437,13 +437,13 @@ Marksman attacks are only affected if the chance to hit is greater than 60%."
[effect]
apply_to=attack
[not]
special=magical
special_id=magical
[/not]
[not]
special=marksman
special_id=marksman
[/not]
[not]
special=self_dazed
special_id=self_dazed
[/not]

[set_specials]
Expand All @@ -466,12 +466,12 @@ Marksman attacks are only affected if the chance to hit is greater than 60%."
[/effect]
[effect]
apply_to=attack
special=marksman
special_id=marksman
[and]
special=poison
special_type=poison
[/and]
[not]
special=self_dazed
special_id=self_dazed
[/not]

[set_specials]
Expand Down Expand Up @@ -514,12 +514,12 @@ Marksman attacks are only affected if the chance to hit is greater than 60%."
[/effect]
[effect]
apply_to=attack
special=marksman
special_id=marksman
[not]
special=poison
special_type=poison
[/not]
[not]
special=self_dazed
special_id=self_dazed
[/not]

[set_specials]
Expand Down

0 comments on commit 5800acd

Please sign in to comment.