I'd like to see an if(toxpwr) here, so you don't need to call adjustToxLoss pointlessly.