mail[Wesnoth-commits] r28725 - /trunk/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg


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

Header


Content

Posted by lari . nieminen on August 18, 2008 - 20:45:
Author: zookeeper
Date: Mon Aug 18 20:27:53 2008
New Revision: 28725

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28725&view=rev
Log:
Made sure the wose stays put until bumped into.

Modified:
    
trunk/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg

Modified: 
trunk/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg?rev=28725&r1=28724&r2=28725&view=diff
==============================================================================
--- 
trunk/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg
 (original)
+++ 
trunk/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg
 Mon Aug 18 20:27:53 2008
@@ -239,7 +239,6 @@
             id=Dumdumbadoom
             name= _"Dumdumbadoom"
             ai_special=guardian
-            max_moves=1
 
             [status]
                 hidden=yes
@@ -562,6 +561,32 @@
     [/event]
 
     [event]
+        name=ai turn
+        first_time_only=no
+
+        [if]
+            [variable]
+                name=side_number
+                equals=5
+            [/variable]
+
+            [not]
+                [have_unit]
+                    id=Dumdumbadoom
+
+                    [filter_vision]
+                        vieving_side=1
+                    [/filter_vision]
+                [/have_unit]
+            [/not]
+
+            [then]
+                {MODIFY_UNIT id=Dumdumbadoom moves 0}
+            [/then]
+        [/if]
+    [/event]
+
+    [event]
         # Fun with the wose
         name=moveto
         [filter]




Related Messages


Powered by MHonArc, Updated Mon Aug 18 21:21:40 2008