mail[Wesnoth-commits] r28693 - /trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by esr on August 18, 2008 - 04:09:
Author: esr
Date: Mon Aug 18 04:09:32 2008
New Revision: 28693

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28693&view=rev
Log:
Address bug #11972: Vengeance: Scenario suddenly won if Ethiliel moves
to Great Tree.

Modified:
    trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg

Modified: trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg?rev=28693&r1=28692&r2=28693&view=diff
==============================================================================
--- trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg 
(original)
+++ trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg Mon Aug 
18 04:09:32 2008
@@ -238,6 +238,10 @@
                 condition=lose
             [/objective]
         [/objectives]
+        [set_variable]
+            name=second_stage
+            value=false
+        [/set_variable]
     [/event]
 
     [event]
@@ -343,6 +347,10 @@
                         condition=lose
                     [/objective]
                 [/objectives]
+                [set_variable]
+                    name=second_stage
+                    value=true
+                [/set_variable]
             [/else]
         [/if]
     [/event]
@@ -355,8 +363,22 @@
             y=15
         [/filter]
 
-        [endlevel]
-            result=victory
-        [/endlevel]
+        [if]
+            [variable]
+                name=second_stage
+                equals=true
+            [/variable]
+            [then]
+                [endlevel]
+                    result=victory
+                [/endlevel]
+            [/then]
+            [else]
+                [message]
+                    speaker=Ethiliel
+                    message= _ "I feel like I belong on this spot."
+                [/message]
+            [/else]
+        [/if]
     [/event]
 [/scenario]




Related Messages


Powered by MHonArc, Updated Mon Aug 18 08:00:53 2008