sneak
8e2915f60d
Convert doZap to a per-wand handler table (refactor step 7)
...
The do_zap switch becomes gameData.zapHandlers, indexed by WandKind;
the shared monster-ray preamble is zapRayMonster/zapVictim, teleport
away/to and the three bolt wands share handlers, and a false return
aborts the zap without spending a charge (drain life on a too-weak
hero, as in C). Effect order and RNG call sequence unchanged.
2026-07-07 02:48:01 +02:00
..
2026-07-07 02:31:38 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:34:32 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 00:03:45 +02:00
2026-07-07 02:29:06 +02:00
2026-07-07 02:10:58 +02:00
2026-07-07 00:03:45 +02:00
2026-07-07 02:29:06 +02:00
2026-07-07 02:33:15 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:10:58 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:29:06 +02:00
2026-07-07 00:03:45 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:10:58 +02:00
2026-07-07 02:10:58 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:29:06 +02:00
2026-07-07 02:44:33 +02:00
2026-07-07 02:31:38 +02:00
2026-07-07 02:31:38 +02:00
2026-07-07 00:03:45 +02:00
2026-07-07 00:03:45 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 00:03:45 +02:00
2026-07-07 00:03:45 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:10:58 +02:00
2026-07-07 00:03:45 +02:00
2026-07-07 02:46:09 +02:00
2026-07-07 02:48:01 +02:00
2026-07-07 02:10:58 +02:00
2026-07-07 02:48:01 +02:00
2026-07-07 00:03:45 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:10:58 +02:00
2026-07-07 02:42:18 +02:00
2026-07-07 02:31:38 +02:00