In an elder abuse action, a defendant can recover costs, including expert witness fees, if the plaintiff fails to recover in excess of an offer that the defendant made under Code of Civil Procedure section 998, even though a prevailing defendant could not recover attorneys' fees under the elder-abuse statutes.