Skip to content

Duel.ShuffleDeck ​

Signature ​

lua
Duel.ShuffleDeck(int player) -> void

Description ​

Shuffles player's Deck and resets shuffle-check state.

Parameters ​

  • player int

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 246 indexed script(s).
  • Search this function in the Script Explorer with Duel.ShuffleDeck.
CardIDScriptDetected Calls
Deftero Enneacraft - "alazoneIA"92171126Scripts/c92171126.lua1
GMX 55th Experiment Report38984832Scripts/c38984832.lua1
Ojamassimilation2390019Scripts/c2390019.lua1
Triamid Pulse96100333Scripts/c96100333.lua1
GMX - VELOX82706696Scripts/c82706696.lua1
Magellanica, the Deep Sea City26534688Scripts/c26534688.lua1
Ojamatch38395123Scripts/c38395123.lua1
Inzektor Picofalena97273514Scripts/c97273514.lua1
Gunkan Sushipyard Seaside Supper Spot62200831Scripts/c62200831.lua1
Indiora Doom Volt the Cubic Emperor3775068Scripts/c3775068.lua1
Rank-Up-Magic Zexal Force36224040Scripts/c36224040.lua1
Shuffle Reborn14816688Scripts/c14816688.lua1
Ekto Enneacraft - "tromarIA"29570824Scripts/c29570824.lua1
Enato Enneacraft - "oknirIA"55965529Scripts/c55965529.lua1
Enneacraft Reverth80015408Scripts/c80015408.lua2
Melffy Staring Contest76981308Scripts/c76981308.lua1
Shinobaroness Peacock25415052Scripts/c25415052.lua2
Triangle O11489642Scripts/c11489642.lua1
Zoodiac Combo73881652Scripts/c73881652.lua1
Trito Enneacraft - "exapatisIA"44716748Scripts/c44716748.lua1
Proto Enneacraft - "orgIA"56187077Scripts/c56187077.lua1
Knightmare Unicorn38342335Scripts/c38342335.lua1
Duality39973386Scripts/c39973386.lua1
Galaxy Cleric28770951Scripts/c28770951.lua1
...and 222 more

Script Examples ​

Deftero Enneacraft - "alazoneIA" (92171126) ​

Source: Scripts/c92171126.lua

lua
		Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_ATOHAND)
		local tg=sg:RandomSelect(1-tp,1)
		Duel.ShuffleDeck(tp)
		tg:GetFirst():SetStatus(STATUS_TO_HAND_WITHOUT_CONFIRM,true)
		Duel.SendtoHand(tg,nil,REASON_EFFECT)

GMX 55th Experiment Report (38984832) ​

Source: Scripts/c38984832.lua

lua
		Duel.SendtoGrave(qc,REASON_RULE)
	end
	Duel.ShuffleDeck(tp)
end

Ojamassimilation (2390019) ​

Source: Scripts/c2390019.lua

lua
	Duel.SendtoDeck(tg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
	local g=Duel.GetOperatedGroup()
	if g:IsExists(Card.IsLocation,1,nil,LOCATION_DECK) then Duel.ShuffleDeck(tp) end
	local ct=g:FilterCount(Card.IsLocation,nil,LOCATION_DECK+LOCATION_EXTRA)
	if ct>0 then