window.improveCondition=functionimproveCondition(slave,condition){// All things improving a slave's condition go through this to update condition and slave health
constH=slave.health;
H.condition+=Math.max(Math.trunc(condition),0);
H.health=H.condition-H.longDamage-H.shortDamage;
/**
* All things improving a slave's condition go through this to update condition and slave health.
// A function for setting valid health values for new slaves, comes with a set of defaults. Not meant for use with existing slaves (consider healthDamage() and improveCondition() first), but sometimes useful still