Made units with the healthy trait...

...take a quarter less damage from poison instead of half.
This commit is contained in:
Gunter Labes 2008-09-16 12:24:28 +00:00
parent 1fd1305c95
commit 77e647420a
3 changed files with 8 additions and 2 deletions

View file

@ -3,6 +3,10 @@ Version 1.5.4+svn:
* 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

View file

@ -5,6 +5,8 @@ changelog: http://svn.gna.org/viewcvs/*checkout*/wesnoth/trunk/changelog
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 @@ Version 1.5.4:
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)

View file

@ -1768,7 +1768,7 @@ void calculate_healing(game_display& disp, const gamemap& map,
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;
}
}
}