Skip to content

Auxiliary.PlaceCardsOnDeckBottom ​

Signature ​

lua
Auxiliary.PlaceCardsOnDeckBottom(int p, Group g, [int reason]) -> int

Description ​

Sends g to the top of the Deck by reason, lets p order cards that reached either Deck, moves them to the bottom, and returns the number of operated cards.

Parameters ​

  • p int
  • g Group
  • reason int optional - Defaults to REASON_EFFECT.

Returns ​

  • int - The number of operated cards.

Source ​

  • Utilities/utility.lua:1620

Used By ​

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

  • Detected in 30 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.PlaceCardsOnDeckBottom.
CardIDScriptDetected Calls
A Bao A Qu, the Lightless Shadow4731783Scripts/c4731783.lua1
Tearlaments Scheiren572850Scripts/c572850.lua1
Tearlaments Havnis37961969Scripts/c37961969.lua1
Anubis the Last Judge60411677Scripts/c60411677.lua1
Psychic Arsenal16238373Scripts/c16238373.lua1
R.B. Shepherd's Crook80071619Scripts/c80071619.lua2
Tearlaments Merrli74078255Scripts/c74078255.lua1
Squeeze, the Full Moon of Raise Moon - JACKPOT!9484285Scripts/c9484285.lua1
Possessed Destiny - Wynn60516416Scripts/c60516416.lua1
Rahamu, Envoy of the Sacred Tome53904087Scripts/c53904087.lua1
Yummyusment★Acroquey93360904Scripts/c93360904.lua1
Saryuja Skull Dread74997493Scripts/c74997493.lua1
Skull Archfiend of Chaos24088928Scripts/c24088928.lua1
Volcanic Inferno84138874Scripts/c84138874.lua1
Yummyusment☆Mignon66975205Scripts/c66975205.lua1
The Chaos Creator90488465Scripts/c90488465.lua1
Ryzeal Cross6798031Scripts/c6798031.lua1
Dark Spirit's Mastery14386013Scripts/c14386013.lua1
Favorite Contact75047173Scripts/c75047173.lua1
Nouvelles Restaurant "At Table"15388353Scripts/c15388353.lua1
Floowandereeze and the Unexplored Winds55521751Scripts/c55521751.lua1
Raidraptor - Roost64049553Scripts/c64049553.lua1
Flowerdino10851853Scripts/c10851853.lua1
Link Bound51335426Scripts/c51335426.lua1
...and 6 more

Script Examples ​

A Bao A Qu, the Lightless Shadow (4731783) ​

Source: Scripts/c4731783.lua

lua
		local rg=Duel.GetFieldGroup(p,LOCATION_HAND,0):Select(p,dc,dc,nil)
		Duel.ShuffleHand(p)
		aux.PlaceCardsOnDeckBottom(p,rg)
	end
end

Tearlaments Scheiren (572850) ​

Source: Scripts/c572850.lua

lua
				Duel.HintSelection(cg)
			end
			aux.PlaceCardsOnDeckBottom(tp,mat1,REASON_EFFECT+REASON_MATERIAL+REASON_FUSION)
			Duel.BreakEffect()
			Duel.SpecialSummon(tc,SUMMON_TYPE_FUSION,tp,tp,false,false,POS_FACEUP)

Tearlaments Havnis (37961969) ​

Source: Scripts/c37961969.lua

lua
				Duel.HintSelection(cg)
			end
			aux.PlaceCardsOnDeckBottom(tp,mat1,REASON_EFFECT+REASON_MATERIAL+REASON_FUSION)
			Duel.BreakEffect()
			Duel.SpecialSummon(tc,SUMMON_TYPE_FUSION,tp,tp,false,false,POS_FACEUP)