Sly 1:Damage

Zap is the term for damage dealt to the player. It typically refers to environmental damage like fire and electricity.

Sly 1
In, damage is dealt on contact with zap volumes. Zap volumes are placed around level hazards and spawned in by guard attacks. The damage type for a zap volume can be one of several values as dictated by the ZAPK enum.

When Sly touches a zap volume,  is called with a pointer to the   and   structs. This function updates JT’s state and calls  to check if the damage is the damage is fatal.

In the May 2002 Demo build there is a debug flag that makes zap volumes visible.

Sly 2 and Sly 3
In and, zap volumes are placed around level hazards and spawned for both guard and player attacks. Like Sly 1, each zap volume has an assigned damage type.