Cobras are an enemy in Spelunky 2.
They spawn naturally in Temple of Anubis and the Duat, but can also appear from the inside of Pots or spawned by Tiamat.
Behavior[]
Cobras behave identically to normal Snakes, although every three seconds, Cobras stop and spit a glob of green venom forwards. Cobras will also immediately spit before turning around upon meeting a ledge.
Cobra spit inflicts poison on any entity it hits, but otherwise deals no damage. Spit also instantly kills entities that start with 1 HP, such as Spiders or Cat Mummies, with the exception of other Cobras or Snakes.