Offence requiring a particular intent or knowledge committed by one who is intoxicated is defined under section 86 of ipc. Provisions under IPC section 86 explained here:
What is Section 86 IPC:
In cases where an act done is not an offence unless done with a particular knowledge or intent, a person who does the act in a state of intoxication shall be liable to be dealt with as if he had the same knowledge as he would have had if he had not been intoxicated, unless the thing which intoxicated him was administered to him without his knowledge or against his will.
Section 86 IPC Explanation:
This section means if an act committed by a person under the influeance intoxication when he’s having an intent to that act he shall be held liable under this section, it would be presumed that the act he had done while being intoxicated he would also have done without being intoxicated, unless the thing which intoxicated him was given to him without his knowledge or will.