Author: zookeeper
Date: Mon Aug 18 21:40:07 2008
New Revision: 28732
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28732&view=rev
Log:
A couple of small fixes.
Modified:
trunk/data/campaigns/The_South_Guard/scenarios/05_Choice_In_The_Fog.cfg
Modified:
trunk/data/campaigns/The_South_Guard/scenarios/05_Choice_In_The_Fog.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/05_Choice_In_The_Fog.cfg?rev=28732&r1=28731&r2=28732&view=diff
==============================================================================
--- trunk/data/campaigns/The_South_Guard/scenarios/05_Choice_In_The_Fog.cfg
(original)
+++ trunk/data/campaigns/The_South_Guard/scenarios/05_Choice_In_The_Fog.cfg Mon
Aug 18 21:40:07 2008
@@ -284,10 +284,37 @@
id=Gruth
[/filter]
- [message]
- speaker=second_unit
- message= _ "The master of the undead is defeated!"
- [/message]
+ [if]
+ [have_unit]
+ x,y=$x2,$y2
+
+ [not]
+ id=Ethiliel
+ [/not]
+
+ [not]
+ id=Minister Hylas
+ [/not]
+
+ [not]
+ id=Deoran
+ [/not]
+ [/have_unit]
+
+ [then]
+ [message]
+ speaker=second_unit
+ message= _ "The master of the undead is defeated!"
+ [/message]
+ [/then]
+
+ [else]
+ [message]
+ speaker=Sir Gerrick
+ message= _ "The master of the undead is defeated!"
+ [/message]
+ [/else]
+ [/if]
[message]
speaker=Minister Hylas
@@ -445,7 +472,20 @@
append=yes
[/music]
- {MODIFY_UNIT side=2 side 1}
+ [store_villages]
+ owner_side=2
+
+ variable=side_2_villages
+ [/store_villages]
+
+ {FOREACH side_2_villages i}
+ [capture_village]
+ side=1
+ x,y=$side_2_villages[$i].x,$side_2_villages[$i].y
+ [/capture_village]
+ {NEXT i}
+
+ {CLEAR_VARIABLE side_2_villages}
[store_unit]
[filter]
@@ -474,20 +514,7 @@
{CLEAR_VARIABLE stored_Urza_Afalas}
- [store_villages]
- owner_side=2
-
- variable=side_2_villages
- [/store_villages]
-
- {FOREACH side_2_villages i}
- [capture_village]
- side=1
- x,y=$side_2_villages[$i].x,$side_2_villages[$i].y
- [/capture_village]
- {NEXT i}
-
- {CLEAR_VARIABLE side_2_villages}
+ {MODIFY_UNIT side=2 side 1}
[redraw]
side=1
@@ -600,11 +627,11 @@
[objectives]
side=1
[objective]
- description= _ "Find the source of the undead and
destroy it."
+ description= _ "Find the source of the undead and
destroy it"
condition=win
[/objective]
[objective]
- description= _ "Defeat the last of the bandit
leaders."
+ description= _ "Defeat Urza Afalas"
condition=win
[/objective]
[objective]
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits