mail[Wesnoth-commits] r20555 - in /trunk/data/campaigns/Under_the_Burning_Suns/scenarios: 01_Morning_After.cfg 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 - 19:46:
Author: rhuvaen
Date: Tue Sep 18 19:45:40 2007
New Revision: 20555

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20555&view=rev
Log:
Difficulty balancing changes:
The Morning After: Xanthos appears earlier at higher difficulty
Across the Harsh Sands: 1st Ogre encounter varies in thirst level

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

Modified: 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/01_Morning_After.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/01_Morning_After.cfg?rev=20555&r1=20554&r2=20555&view=diff
==============================================================================
--- 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/01_Morning_After.cfg 
(original)
+++ 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/01_Morning_After.cfg 
Tue Sep 18 19:45:40 2007
@@ -1026,7 +1026,15 @@
 #enddef
 
     [event]
+#ifdef EASY
         name=turn 11
+#endif
+#ifdef NORMAL
+        name=turn 10
+#endif
+#ifdef HARD
+        name=turn 9
+#endif
         # If Xanthos does not exist and undead gold is unmodified it means 
he never showed up
         [store_side]
             side=3

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=20555&r1=20554&r2=20555&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 19:45:40 2007
@@ -323,7 +323,7 @@
 
 # This sets up some unit variables for sides that
 # will suffer thirst
-#define SETUP_ENEMY_THIRST SIDE
+#define SETUP_ENEMY_THIRST SIDE THIRST
     [store_unit]
       variable=enemy
       kill=no
@@ -332,7 +332,7 @@
       [/filter]
     [/store_unit]
     {FOREACH enemy i}
-      {VARIABLE enemy[$i].variables.dehydration 0}
+      {VARIABLE enemy[$i].variables.dehydration {THIRST}}
       {VARIABLE enemy[$i].variables.full_hitpoints $enemy[$i].hitpoints}
       {VARIABLE enemy[$i].variables.max_hitpoints $enemy[$i].max_hitpoints}
       [unstore_unit]
@@ -606,31 +606,10 @@
       role="Hunting Ogre"
       random_traits="no"
       ai_special="guardian")})}
-
-#ifdef EASY
-
-    {RANDOM_PLACEMENT 17 49 2 ({CREATE_UNIT 3 "Young Ogre" 1 1 "Hunting 
Ogre" (user_description=_"Hunting Ogre"
-      role="Hunting Ogre"
-      random_traits="no"
-      ai_special="guardian")})}
-
-#endif
-#ifdef NORMAL
-
     {RANDOM_PLACEMENT 17 49 2 ({CREATE_UNIT 3 "Ogre" 1 1 "Hunting Ogre" 
(user_description=_"Hunting Ogre"
       role="Hunting Ogre"
       random_traits="no"
       ai_special="guardian")})}
-
-#endif
-#ifdef HARD
-
-    {RANDOM_PLACEMENT 17 49 2 ({CREATE_UNIT 3 "Ogre" 1 1 "Hunting Ogre" 
(user_description=_"Hunting Ogre"
-      role="Hunting Ogre"
-      random_traits="no"
-      ai_special="guardian")})}
-
-#endif
 
 #enddef
 
@@ -702,8 +681,17 @@
             [/else]
         [/if]
 
-        {SETUP_ENEMY_THIRST 3}
-
+#ifdef EASY
+        {VARIABLE ogre_thirst 4}
+#endif
+#ifdef NORMAL
+        {VARIABLE ogre_thirst 2}
+#endif
+#ifdef HARD
+        {VARIABLE ogre_thirst 0}
+#endif
+        {SETUP_ENEMY_THIRST 3 $ogre_thirst}
+        
         [event]
             name=die
             first_time_only=no
@@ -894,7 +882,7 @@
           ai_special="guardian")})}
 
 #endif
-        {SETUP_ENEMY_THIRST 2}
+        {SETUP_ENEMY_THIRST 2 0}
         {VARIABLE ogres_killed 0}
         [if]
             [have_unit]
@@ -1409,7 +1397,7 @@
                     message= _ "Elves! Kill them all!"
                 [/message]
 
-                {SETUP_ENEMY_THIRST 3}
+                {SETUP_ENEMY_THIRST 3 0}
 
                 [message]
                     description=Garak
@@ -1542,7 +1530,7 @@
 #endif
         [/unit]
 
-        {SETUP_ENEMY_THIRST 2}
+        {SETUP_ENEMY_THIRST 2 0}
 
         [modify_side]
             side=2




Related Messages


Powered by MHonArc, Updated Tue Sep 18 20:00:39 2007