The quaff switch becomes gameData.quaffHandlers, a method-expression table indexed by PotionKind; each case body moved verbatim into a quaff* method. Effect order and RNG call sequence unchanged.
7.5 KiB
7.5 KiB