Simplify filters with multiple ids is UtBS:3

This commit is contained in:
Alarantalara 2013-11-09 10:13:01 -05:00
parent 32e3b82327
commit 63ec880f08

View file

@ -747,10 +747,7 @@
description= _ "Whether used offensively or defensively, this attack presses the engagement until one of the combatants is slain, or 30 rounds of attacks have occurred."
value=30
[filter_opponent]
id=Zur
[or]
id=Grak
[/or]
id=Grak,Zur
[/filter_opponent]
[/berserk]
#ifndef HARD
@ -762,10 +759,7 @@
value=70
cumulative=no
[filter_opponent]
id=Zur
[or]
id=Grak
[/or]
id=Grak,Zur
[/filter_opponent]
[/chance_to_hit]
[firststrike]
@ -774,10 +768,7 @@
name_inactive=""
description= _ "This unit always strikes first with this attack, even if they are defending."
[filter_opponent]
id=Zur
[or]
id=Grak
[/or]
id=Grak,Zur
[/filter_opponent]
[/firststrike]
#endif
@ -800,22 +791,10 @@
name=attack
first_time_only=no
[filter]
id=Garak
[or]
id=Grak
[/or]
[or]
id=Zur
[/or]
id=Garak,Grak,Zur
[/filter]
[filter_second]
id=Garak
[or]
id=Grak
[/or]
[or]
id=Zur
[/or]
id=Garak,Grak,Zur
[/filter_second]
# Identify who was challenged
@ -945,10 +924,7 @@
id=Garak
[/filter]
[filter_second]
id=Zur
[or]
id=Grak
[/or]
id=Grak,Zur
[/filter_second]
[message]
speaker=$second_unit.id
@ -963,10 +939,7 @@
[/filter]
[filter_second]
[not]
id=Grak
[/not]
[not]
id=Zur
id=Grak,Zur
[/not]
[/filter_second]
[message]
@ -1962,10 +1935,7 @@
name=last breath
first_time_only=no
[filter]
id=Azkotep
[or]
id=Ystara
[/or]
id=Azkotep,Ystara
[/filter]
[if]
[variable]