mail[Wesnoth-commits] r20558 - /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg


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

Header


Content

Posted by ravanrooke on September 18, 2007 - 20:13:
Author: rhuvaen
Date: Tue Sep 18 20:12:39 2007
New Revision: 20558

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20558&view=rev
Log:
Fixed bug with killed ghosts not being reset at dawn and mobilize all ogres 
on first attack.

Modified:
    trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg

Modified: 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg?rev=20558&r1=20557&r2=20558&view=diff
==============================================================================
--- trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg 
(original)
+++ trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg 
Tue Sep 18 20:12:39 2007
@@ -125,7 +125,7 @@
 
             [target]
                 side=1
-                value=16
+                value=40
             [/target]
 
             [target]
@@ -691,6 +691,17 @@
         {VARIABLE ogre_thirst 0}
 #endif
         {SETUP_ENEMY_THIRST 3 $ogre_thirst}
+        
+        [event]
+          name=attack
+          [filter]
+            role="Hunting Ogre"
+          [/filter]
+          [filter_second]
+            side=1
+          [/filter_second]
+          {MOBILIZE_SIDE 3}
+        [/event]
         
         [event]
             name=die
@@ -2216,8 +2227,9 @@
               [/variable]
           [/or]
           [then]
-             # reset the ghosts spawned counter
+             # reset the ghosts' counters
              {VARIABLE ghosts_already_spawned 0}
+             {VARIABLE ghosts_killed 0}
               [kill]
                   role=LostSoul
                   animate=no
@@ -2448,6 +2460,7 @@
 
                 # don't respawn ghosts this night
                 {VARIABLE ghosts_already_spawned $max_ghosts}
+                {VARIABLE ghosts_killed 0}
 
                 [if]
                     [variable]




Related Messages


Powered by MHonArc, Updated Tue Sep 18 21:00:41 2007