Author: zookeeper
Date: Thu Apr 30 15:01:59 2009
New Revision: 35346

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35346&view=rev
Log:
Ported r35345 to 1.6.

Modified:
    
branches/1.6/data/campaigns/Eastern_Invasion/scenarios/18b.Weldyn_Besieged.cfg

Modified: 
branches/1.6/data/campaigns/Eastern_Invasion/scenarios/18b.Weldyn_Besieged.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/data/campaigns/Eastern_Invasion/scenarios/18b.Weldyn_Besieged.cfg?rev=35346&r1=35345&r2=35346&view=diff
==============================================================================
--- 
branches/1.6/data/campaigns/Eastern_Invasion/scenarios/18b.Weldyn_Besieged.cfg 
(original)
+++ 
branches/1.6/data/campaigns/Eastern_Invasion/scenarios/18b.Weldyn_Besieged.cfg 
Thu Apr 30 15:01:59 2009
@@ -50,6 +50,9 @@
         name= _ "?"
         side=3
         canrecruit=yes
+        [variables]
+            random_lich=yes
+        [/variables]
         controller=ai
         recruit=Bone Shooter,Revenant,Wraith,Shadow
         {GOLD 150 200 250}
@@ -64,6 +67,9 @@
         name= _ "?"
         side=4
         canrecruit=yes
+        [variables]
+            random_lich=yes
+        [/variables]
         controller=ai
         recruit=Bone Shooter,Revenant,Wraith,Shadow
         {GOLD 150 200 250}
@@ -78,6 +84,9 @@
         name= _ "?"
         side=5
         canrecruit=yes
+        [variables]
+            random_lich=yes
+        [/variables]
         controller=ai
         recruit=Bone Shooter,Revenant,Wraith,Shadow
         {GOLD 150 200 250}
@@ -92,6 +101,9 @@
         name= _ "?"
         side=6
         canrecruit=yes
+        [variables]
+            random_lich=yes
+        [/variables]
         controller=ai
         recruit=Bone Shooter,Revenant,Wraith,Shadow
         {GOLD 150 200 250}
@@ -106,6 +118,9 @@
         name= _ "?"
         side=7
         canrecruit=yes
+        [variables]
+            random_lich=yes
+        [/variables]
         controller=ai
         recruit=Bone Shooter,Revenant,Wraith,Shadow
         {GOLD 150 200 250}
@@ -120,6 +135,9 @@
         name= _ "?"
         side=8
         canrecruit=yes
+        [variables]
+            random_lich=yes
+        [/variables]
         controller=ai
         recruit=Bone Shooter,Revenant,Wraith,Shadow
         {GOLD 150 200 250}
@@ -196,13 +214,11 @@
         [/filter]
 
         [filter_second]
-            type=Lich
-            canrecruit=yes
-            name= _ "?"
-
-            [not]
-                side=2
-            [/not]
+            [filter_wml]
+                [variables]
+                    random_lich=yes
+                [/variables]
+            [/filter_wml]
         [/filter_second]
 
         {RANDOM 0..4}
@@ -225,6 +241,7 @@
         # to put in some sort of fallback check here...
 
         {VARIABLE second_unit.name $lich_name_$random||}
+        {VARIABLE second_unit.variables.random_lich no}
 
         [if]
             [variable]


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to