Skip to content

Duel.SendtoExtraP ​

Signature ​

lua
Duel.SendtoExtraP(Card|Group targets, int player, int reason) -> int

Description ​

Sends cards to player-side Extra Deck face-up for reason and returns the number of cards moved.

Parameters ​

  • targets Card|Group
  • player int
  • reason int

Returns ​

  • int

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 25 indexed script(s).
  • Search this function in the Script Explorer with Duel.SendtoExtraP.
CardIDScriptDetected Calls
Kewl Tune Crackle39576656Scripts/c39576656.lua1
Dreaming Nemleria70155677Scripts/c70155677.lua1
Performage Ball Balancer92530005Scripts/c92530005.lua1
Pendulum Witch43502497Scripts/c43502497.lua1
Shade the Obscure77157846Scripts/c77157846.lua1
Antihuman Intelligence ME-PSY-YA58844135Scripts/c58844135.lua1
Sweet Dreams, Nemleria44843954Scripts/c44843954.lua1
Zefraath29432356Scripts/c29432356.lua1
Performapal Odd-Eyes Butler56677752Scripts/c56677752.lua1
GranSolfachord Musecia37972500Scripts/c37972500.lua1
Dreaming Reality of Nemleria, Realized16893370Scripts/c16893370.lua1
GranSolfachord Coolia84521924Scripts/c84521924.lua1
Heavymetalfoes Electrumite24094258Scripts/c24094258.lua1
Performapal Odd-Eyes Seer4836680Scripts/c4836680.lua1
Majespecter Orthrus - Nue66384688Scripts/c66384688.lua1
Daidaratant the Ooze Giant39943352Scripts/c39943352.lua1
Pendulumucho18210764Scripts/c18210764.lua1
Vaalmonica Invitare38491852Scripts/c38491852.lua1
Ryu-Ge Rising29882827Scripts/c29882827.lua1
Solfachord Elegance27870337Scripts/c27870337.lua2
FaSolfachord Fancia54100561Scripts/c54100561.lua1
Draco Face-Off14733538Scripts/c14733538.lua1
Archfiend Strategy90764871Scripts/c90764871.lua1
Abyss Actors Back Stage59057953Scripts/c59057953.lua1
...and 1 more

Script Examples ​

Kewl Tune Crackle (39576656) ​

Source: Scripts/c39576656.lua

lua
	local dg=g:Filter(aux.NOT(s.retexfilter),nil)
	if #pg>0 then
		Duel.SendtoExtraP(pg,nil,REASON_EFFECT)
	end
	if #dg>0 then

Dreaming Nemleria (70155677) ​

Source: Scripts/c70155677.lua

lua
	local tc=g:Select(tp,1,1,nil):GetFirst()
	if Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) and c:IsRelateToEffect(e) then
		Duel.SendtoExtraP(c,nil,REASON_EFFECT)
	end
end

Performage Ball Balancer (92530005) ​

Source: Scripts/c92530005.lua

lua
		local g=Duel.SelectMatchingCard(tp,s.schfilter,tp,LOCATION_DECK,0,1,1,nil)
		if g:GetCount()>0 then
			Duel.SendtoExtraP(g,nil,REASON_EFFECT)
		end
	elseif sel==2 then