Changes to the way Owaec gets his hero icon overlay...

...so that it doesn't cover it's leader icon.

Made the surviving Owaec's units recallable in the next scenarios

Added recruitment patterns to AI controlled sides
This commit is contained in:
Dimitar Ilccov 2007-08-21 00:01:41 +00:00
parent ad0c669dee
commit 09a944a9f5

View File

@ -34,7 +34,6 @@
type=Mounted Fighter
description=Owaec
user_description= _ "Owaec"
{IS_HERO}
side=2
canrecruit=1
recruit=Cavalryman,Mage,Heavy Infantryman
@ -43,6 +42,7 @@
{GOLD 90 70 50}
[ai]
passive_leader=yes
recruitment_pattern=mixed fighter,fighter,scout,mixed fighter,fighter
{NO_SCOUTS}
[avoid]
x=1-32
@ -64,6 +64,7 @@
{GOLD 30 40 50}
[ai]
aggression=-0.1
recruitment_pattern=archer,fighter
[/ai]
[/side]
@ -321,7 +322,21 @@
[/message]
{MODIFY_UNIT description=Owaec canrecruit 0}
{MODIFY_UNIT description=Owaec side 1}
{MODIFY_UNIT side=2 side 1}
[store_unit]
[filter]
description=Owaec
[/filter]
variable=Owaec_store
kill=no
[/store_unit]
[unit_overlay]
x=$Owaec_store.x
y=$Owaec_store.y
image=misc/hero-icon.png
[/unit_overlay]
{CLEAR_VARIABLE Owaec_store}
[endlevel]
bonus=yes
@ -366,7 +381,21 @@
[/message]
{MODIFY_UNIT description=Owaec canrecruit 0}
{MODIFY_UNIT description=Owaec side 1}
{MODIFY_UNIT side=2 side 1}
[store_unit]
[filter]
description=Owaec
[/filter]
variable=Owaec_store
kill=no
[/store_unit]
[unit_overlay]
x=$Owaec_store.x
y=$Owaec_store.y
image=misc/hero-icon.png
[/unit_overlay]
{CLEAR_VARIABLE Owaec_store}
[endlevel]
bonus=yes