mail[Wesnoth-commits] r24454 - in /trunk/data/campaigns/The_South_Guard/scenarios: 06a_Tidings_Good_And_Ill.cfg 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 March 09, 2008 - 21:08:
Author: zookeeper
Date: Sun Mar  9 21:08:50 2008
New Revision: 24454

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24454&view=rev
Log:
Fixed recalling not working in Tidings Good and Ill.

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

Modified: 
trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg?rev=24454&r1=24453&r2=24454&view=diff
==============================================================================
--- 
trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg 
(original)
+++ 
trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg 
Sun Mar  9 21:08:50 2008
@@ -132,26 +132,11 @@
         [store_unit]
             [filter]
                 side=1
-
-                [not]
-                    description=Sir Gerrick
-                [/not]
-
-                [not]
-                    race=elf
-
-                    [not]
-                        description=Ethiliel
-                    [/not]
-
-                    [not]
-                        description=Elvish Bodyguard
-                    [/not]
-                [/not]
+                description=Elvish Bodyguard
             [/filter]
 
             kill=yes
-            variable=stored_Deoran_army
+            variable=stored_elvish_bodyguards
         [/store_unit]
 
         # Store Deoran's gold so it can be restored in Into the Depths and 
set
@@ -190,6 +175,7 @@
             side=1
             [modifications]
                 {TRAIT_LOYAL}
+                {TRAIT_DEXTROUS}
             [/modifications]
         [/unit]
     [/event]
@@ -496,11 +482,16 @@
                     variable=stored_Hylas
                 [/unstore_unit]
 
-                {FOREACH stored_Deoran_army i}
+                {FOREACH stored_elvish_bodyguards i}
                 [unstore_unit]
-                    variable=stored_Deoran_army[$i]
+                    variable=stored_elvish_bodyguards[$i]
                 [/unstore_unit]
                 {NEXT i}
+                
+                {CLEAR_VARIABLE stored_Deoran}
+                {CLEAR_VARIABLE stored_Ethiliel}
+                {CLEAR_VARIABLE stored_Hylas}
+                {CLEAR_VARIABLE stored_elvish_bodyguards}
 
                 [endlevel]
                     bonus=no

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=24454&r1=24453&r2=24454&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 
Sun Mar  9 21:08:50 2008
@@ -204,11 +204,8 @@
             side=1
             gold=$stored_Deoran_side.gold
         [/modify_side]
-
+        
         {CLEAR_VARIABLE stored_Deoran_side}
-        {CLEAR_VARIABLE stored_Deoran_army}
-        {CLEAR_VARIABLE stored_Ethiliel}
-        {CLEAR_VARIABLE stored_Hylas}
 
         [unit]
             side=2




Related Messages


Powered by MHonArc, Updated Sun Mar 09 21:41:18 2008