ANL: also protect Guardians from losing defense by luring out

This commit is contained in:
Severin Glöckner 2019-06-17 19:49:33 +02:00
parent 0ca9dc540f
commit b943ecb178

View file

@ -547,7 +547,7 @@
[/event]
# Make AI units destroy players buildings
# (AI leaders are excluded to not lower their defense)
# (AI leaders and Level 2 guardians are excluded to not lower their defense)
# Villages
[event]
@ -559,6 +559,9 @@
[filter_location]
terrain=Gg^Vh
[/filter_location]
[not]
status=guardian
[/not]
[/filter]
{MODIFY_TERRAIN "Rd" $x1 $y1}
{PLACE_IMAGE "scenery/village-human-burned2.png" $x1 $y1 }
@ -594,6 +597,9 @@
[filter_location]
terrain=Gg^Ve,Gg^Vea,Ch,Ce,Cv,Chr,Chw,Chs,Ke,Kv,Kh,Khr
[/filter_location]
[not]
status=guardian
[/not]
[/filter]
{MODIFY_TERRAIN "Rd" $x1 $y1}
{PLACE_IMAGE "scenery/rubble.png" $x1 $y1}
@ -615,6 +621,9 @@
[filter_location]
terrain=Hh^Vhh
[/filter_location]
[not]
status=guardian
[/not]
[/filter]
{MODIFY_TERRAIN "Hh" $x1 $y1}
[sound]
@ -635,6 +644,9 @@
[filter_location]
terrain=Mm^Vhh
[/filter_location]
[not]
status=guardian
[/not]
[/filter]
{MODIFY_TERRAIN "Mm" $x1 $y1}
[sound]