Skip to content

Duel.SkipPhase ​

Signature ​

lua
Duel.SkipPhase(int player, int phase, int reset_flag, int reset_count, [int value]) -> void

Description ​

Applies a temporary field effect that makes player skip phase. The phase must be one of PHASE_DRAW, PHASE_STANDBY, PHASE_MAIN1, PHASE_BATTLE, PHASE_MAIN2, or PHASE_END. reset_count values of 0 or less are treated as 1, and value is stored on the generated skip effect.

Parameters ​

  • player int
  • phase int
  • reset_flag int
  • reset_count int
  • value int optional - default: 0

Source ​

  • D:\Programs\GitHub\ygopro-core\libduel.cpp:4955

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 56 indexed script(s).
  • Search this function in the Script Explorer with Duel.SkipPhase.
CardIDScriptDetected Calls
Veda Kalarcanum40785230Scripts/c40785230.lua5
PSY-Framegear Beta2810642Scripts/c2810642.lua1
Doll House67331360Scripts/c67331360.lua1
Numeron Wall42352091Scripts/c42352091.lua1
Red Nova Dragon/Assault Mode82323997Scripts/c82323997.lua1
Melffy Footsteps25687946Scripts/c25687946.lua3
Cosmic Blazar Dragon21123811Scripts/c21123811.lua1
Sangen Kaiho25388971Scripts/c25388971.lua1
Champion's Pulse46001505Scripts/c46001505.lua1
Gatling Ogre88931417Scripts/c88931417.lua1
Sunvine Gardna28168762Scripts/c28168762.lua1
Nekroz of Valkyrus25857246Scripts/c25857246.lua1
Hidden Fangs of Revenge47128571Scripts/c47128571.lua3
Dinowrestler Martial Anga11755663Scripts/c11755663.lua1
Photon Timestop8653757Scripts/c8653757.lua5
Light Wing Shield83880087Scripts/c83880087.lua3
A.I.'s Show54374642Scripts/c54374642.lua1
Performapal Classikuriboh55554175Scripts/c55554175.lua1
Shinobird Salvation276357Scripts/c276357.lua1
Cyber Valley3657444Scripts/c3657444.lua1
Photon Jumper97639441Scripts/c97639441.lua1
Smoke Mosquito28427869Scripts/c28427869.lua1
Dragonox, the Empowered Warrior92870717Scripts/c92870717.lua1
Battle Break22047978Scripts/c22047978.lua1
...and 32 more

Script Examples ​

Veda Kalarcanum (40785230) ​

Source: Scripts/c40785230.lua

lua
function c40785230.etop(e,tp,eg,ep,ev,re,r,rp)
	local turnp=Duel.GetTurnPlayer()
	Duel.SkipPhase(turnp,PHASE_DRAW,RESET_PHASE+PHASE_END,1)
	Duel.SkipPhase(turnp,PHASE_STANDBY,RESET_PHASE+PHASE_END,1)
	Duel.SkipPhase(turnp,PHASE_MAIN1,RESET_PHASE+PHASE_END,1)

PSY-Framegear Beta (2810642) ​

Source: Scripts/c2810642.lua

lua
	if dc:IsRelateToEffect(e) and Duel.Destroy(dc,REASON_EFFECT)~=0 then
		Duel.BreakEffect()
		Duel.SkipPhase(1-tp,PHASE_BATTLE,RESET_PHASE+PHASE_BATTLE_STEP,1)
	end
end

Doll House (67331360) ​

Source: Scripts/c67331360.lua

lua
		if tc and not tc:IsImmuneToEffect(e) and Duel.Overlay(tc,g1)~=0 then
			Duel.BreakEffect()
			Duel.SkipPhase(1-tp,PHASE_BATTLE,RESET_PHASE+PHASE_BATTLE_STEP,1)
		end
	end