Fix Fast Metabolism trait
This commit is contained in:
parent
81210f46af
commit
f5d3cfb5e3
|
@ -265,12 +265,12 @@ int traitGetStatModifier(int stat)
|
||||||
break;
|
break;
|
||||||
case STAT_RADIATION_RESISTANCE:
|
case STAT_RADIATION_RESISTANCE:
|
||||||
if (traitIsSelected(TRAIT_FAST_METABOLISM)) {
|
if (traitIsSelected(TRAIT_FAST_METABOLISM)) {
|
||||||
modifier -= -critterGetBaseStat(gDude, STAT_RADIATION_RESISTANCE);
|
modifier -= critterGetBaseStat(gDude, STAT_RADIATION_RESISTANCE);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case STAT_POISON_RESISTANCE:
|
case STAT_POISON_RESISTANCE:
|
||||||
if (traitIsSelected(TRAIT_FAST_METABOLISM)) {
|
if (traitIsSelected(TRAIT_FAST_METABOLISM)) {
|
||||||
modifier -= -critterGetBaseStat(gDude, STAT_POISON_RESISTANCE);
|
modifier -= critterGetBaseStat(gDude, STAT_POISON_RESISTANCE);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue