46474849505152535455565758
} private double consumesUnitSupply() { if(getConsumes() != null){ Unit consumes = (Unit) getConsumes(); if(consumes == ZergUnitLibrary.Zergling){ return 0.5; } return consumes.getSupply(); } return 0; }