Workaround for bug #9240:

Giving the player control of DV's troops until the mage lord has been
killed + making the DV actually try to escape with the book if he has
got it.
This commit is contained in:
Thomas Baumhauer 2007-05-31 19:02:25 +00:00
parent e645d62ed2
commit 16196d0be1
2 changed files with 32 additions and 21 deletions

View File

@ -95,7 +95,7 @@ victory_when_enemies_defeated=no
[/objective]
[objective]
condition=lose
description= _ "Kill any Hal'al guardsman"
description= _ "Kill any people from Hal'al but Drogan"
[/objective]
[objective]
condition=lose

View File

@ -55,21 +55,21 @@ victory_when_enemies_defeated=no
team_name=intruders
no_leader=yes
gold=0
[ai]
aggression=0.5
caution=0.1
[protect_unit]
description=Malin Keshar
radius=6
value=20
[/protect_unit]
[target]
side=2
value=1
[/target]
protect_leader=5
village_value=0
[/ai]
# [ai]
# aggression=0.5
# caution=0.1
# [protect_unit]
# description=Malin Keshar
# radius=6
# value=20
# [/protect_unit]
# [target]
# side=2
# value=1
# [/target]
# protect_leader=5
# village_value=0
# [/ai]
shroud=yes
fog=no
share_maps=yes
@ -107,10 +107,10 @@ victory_when_enemies_defeated=no
[ai]
village_value=0
aggression=0.9
[leader_goal]
x=30
y=2
[/leader_goal]
# [leader_goal]
# x=30
# y=2
# [/leader_goal]
protect_leader=5
[/ai]
shroud=yes
@ -304,6 +304,8 @@ victory_when_enemies_defeated=no
{GEN_UNIT (Ghast) 5 30 26}
{GEN_UNIT (Soul Shooter) 5 30 26}
{GEN_UNIT (Nightgaunt) 5 30 26}
{MODIFY_UNIT (side=5) dvtroops yes}
{MODIFY_UNIT (side=5) side 1}
[/event]
# In-scenario Events
@ -334,7 +336,12 @@ victory_when_enemies_defeated=no
{DIALOGUE_ASF2_TOBOOK}
# DV has a new ai
{MODIFY_UNIT (description=Darken Volk) canrecruit 1}
{MODIFY_UNIT (side=5) side 4}
{MODIFY_UNIT (
[wml_filter]
dvtroops=yes
[/wml_filter]
) side 4}
[event]
# Malin gets the book
name=moveto
@ -356,6 +363,8 @@ victory_when_enemies_defeated=no
# new AI for DV
{MODIFY_UNIT (side=4) side 3}
{MODIFY_UNIT (description=Darken Volk) canrecruit 1}
{MODIFY_UNIT (description=Darken Volk) goto_x 30}
{MODIFY_UNIT (description=Darken Volk) goto_y 2}
[objectives]
side=1
[objective]
@ -412,6 +421,8 @@ victory_when_enemies_defeated=no
# new AI for DV
{MODIFY_UNIT (side=4) side 3}
{MODIFY_UNIT (description=Darken Volk) canrecruit 1}
{MODIFY_UNIT (description=Darken Volk) goto_x 30}
{MODIFY_UNIT (description=Darken Volk) goto_y 2}
[objectives]
side=1
[objective]