void organ_donor::apply(patient & user) { user.modify_ment_health(ORGAN_MENT_CHANGE); user.modify_weight(-ORGAN_WEIGHT);//adds parameter to weight user.modify_phys_health(-rand_num(0,20)); if(rand_chance(ORGAN_CHANCE))//odds are ORGAN_CHACE/100 user.modify_phys_health(-PAT_MAX_HEALTH);//sets phys health to 0 m_num_uses+=1; }