Author: soliton
Date: Tue Sep 16 14:24:28 2008
New Revision: 29475

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29475&view=rev
Log:
* Made units with the healthy trait take a quarter less damage from poison
  instead of half.

Modified:
    trunk/changelog
    trunk/players_changelog
    trunk/src/actions.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=29475&r1=29474&r2=29475&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Tue Sep 16 14:24:28 2008
@@ -3,6 +3,10 @@
    * Made it possible to translate ability names according to the
      unit/unit_type's gender (feature #11982).
    * updated translations: Finnish, Slovak
+ * Units:
+   * Balancing changes:
+     * Made units with the healthy trait take a quarter less damage from
+       poison instead of half.
  * User interface:
    * Various minor cleanups and refactoring of the new widgets.
    * Fixed a problem under Window where the locales detection didn't work

Modified: trunk/players_changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/players_changelog?rev=29475&r1=29474&r2=29475&view=diff
==============================================================================
--- trunk/players_changelog (original)
+++ trunk/players_changelog Tue Sep 16 14:24:28 2008
@@ -5,6 +5,8 @@
 Version 1.5.4+svn:
   * Language and translations
     * updated translations: Finnish, Slovak.
+  * Unit changes and balancing
+    * Made units with the healthy trait take a quarter less damage from poison.
 
 Version 1.5.4:
   * Editor2
@@ -15,7 +17,7 @@
       Use the new "partial undo" feature (default hotkey ctrl+z, cmd+z 
       on Mac) to get the old behaviour, when you want to only undo a part 
       of a paint-drag or select-drag. After the actions are split this way
-         they are never combined again.
+      they are never combined again.
     * More visible selection.
     * Different map generators can be used in map -> generate map (FR #3950)
 

Modified: trunk/src/actions.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/actions.cpp?rev=29475&r1=29474&r2=29475&view=diff
==============================================================================
--- trunk/src/actions.cpp (original)
+++ trunk/src/actions.cpp Tue Sep 16 14:24:28 2008
@@ -1768,7 +1768,7 @@
                                healers.clear();
                                healing = rest_healing;
                                if(i->second.side() == side) {
-                                       healing -= i->second.is_healthy() ? 
game_config::poison_amount / 2 : game_config::poison_amount;
+                                       healing -= i->second.is_healthy() ? 
game_config::poison_amount * 3/4 : game_config::poison_amount;
                                }
                        }
                }


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

Reply via email to