Yes and No. A presiding judge can only apply contributory negligence to your personal injury lawsuit if the defendant's defense can prove your actions contributed to the injuries you sustained. Such actions would typically involve direct or indirect provocation of the defendant, e.g., verbal insults, racial slurs, loud yelling, bumping into the defendant, etc.
Since such acts of contributory negligence may or may not be due to cannabis-induced intoxication, the fact that you had marijuana is not pivotal to the application of this tort in your personal injury case.