Skip to main content

Module untap

Module untap 

Source
Expand description

Untap — handles untap step logic.

Mirrors Java’s Untap.java. Handles “until next untap”, phasing, day/night transitions, and the actual untap of permanents.

Functions§

do_day_time
Handles day/night transitions at the beginning of untap. Mirrors Java’s Untap.doDayTime().
do_phasing
Performs the phasing step at the beginning of the untap step. Mirrors Java’s Untap.doPhasing().
do_untap
Performs the untap of permanents for the active player. Mirrors Java’s Untap.doUntap().
execute_at
Execute the untap step’s “at” actions. Mirrors Java’s Untap.executeAt() which calls super.executeAt(), then doPhasing(), doDayTime(), checkStaticAbilities(), and doUntap().