mail[Wesnoth-commits] r20381 - /trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg


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

Header


Content

Posted by lari . nieminen on September 15, 2007 - 00:34:
Author: zookeeper
Date: Sat Sep 15 00:34:07 2007
New Revision: 20381

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20381&view=rev
Log:
Fixed the trolls losing control of their villages when allying with Deoran.

Modified:
    trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg

Modified: 
trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg?rev=20381&r1=20380&r2=20381&view=diff
==============================================================================
--- trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg 
(original)
+++ trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg 
Sat Sep 15 00:34:07 2007
@@ -345,7 +345,6 @@
         [/message]
     [/event]
 
-
     [event]
         name=sighted
         [filter]
@@ -398,10 +397,17 @@
                         gold=$stored_side_3.gold
                     [/modify_side]
 
+
+                    # Note: the order of storing the villages, flipping the
+                    # units and recapturing the villages is important, 
because a
+                    # side with no leader cannot own villages.
+
                     [store_villages]
-                        side=3
+                        owner_side=3
                         variable=side_3_villages
                     [/store_villages]
+
+                    {MODIFY_UNIT side=3 side 4}
 
                     {FOREACH side_3_villages i}
                         [capture_village]
@@ -409,8 +415,6 @@
                             side=4
                         [/capture_village]
                     {NEXT i}
-
-                    {MODIFY_UNIT side=3 side 4}
 
                     {CLEAR_VARIABLE stored_side_3}
                     {CLEAR_VARIABLE side_3_villages}




Related Messages


Powered by MHonArc, Updated Sat Sep 15 11:00:31 2007