@@ -2230,15 +2230,15 @@
@@ -3027,13 +3027,18 @@ var update_natural_healing = function() {
getAttrs(["constitution"], function(v) {
var conMod = parseInt(v.constitution);
var natHealing = 1;
-
- if(conMod == 4) {
- nathealing = 4;
+ if(conMod == 10) {
+ natHealing = 7;
+ }else if(conMod == 8) {
+ natHealing = 6;
+ } else if(conMod == 6) {
+ natHealing = 5;
+ } else if(conMod == 4) {
+ natHealing = 4;
} else if(conMod == 2) {
- nathealing = 3;
+ natHealing = 3;
} else if(conMod == 1) {
- nathealing = 2;
+ natHealing = 2;
} else if(conMod == -2 || conMod == -4) {
natHealing = 0.5;
}
@@ -3094,6 +3099,7 @@ on("change:dwarftrollculture", function(eventInfo) {
on("change:constitution", function(eventInfo) {
update_secondary_attributes_depending_on_race();
+ update_natural_healing();
});
on("change:dexterity", function(eventInfo) {