Skip to content

Card.ReverseInDeck ​

Signature ​

lua
Card.ReverseInDeck(Card c) -> void

Description ​

Marks c face-up while it is in the Deck. If c is the current top card of the Main Deck, the core also sends the top-of-Deck update to the client.

Parameters ​

  • c Card

Source ​

  • D:\Programs\GitHub\ygopro-core\libcard.cpp:3711

Used By ​

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

  • Detected in 3 indexed script(s).
  • Search this function in the Script Explorer with Card.ReverseInDeck.
CardIDScriptDetected Calls
Pharaoh's Treasure63571750Scripts/c63571750.lua1
Parasite Paracide27911549Scripts/c27911549.lua1
Grave Lure57270476Scripts/c57270476.lua1

Script Examples ​

Pharaoh's Treasure (63571750) ​

Source: Scripts/c63571750.lua

lua
	if not c:IsLocation(LOCATION_DECK) then return end
	Duel.ShuffleDeck(tp)
	c:ReverseInDeck()
	local e1=Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(63571750,0))

Parasite Paracide (27911549) ​

Source: Scripts/c27911549.lua

lua
	if not c:IsLocation(LOCATION_DECK) then return end
	Duel.ShuffleDeck(1-tp)
	c:ReverseInDeck()
	local e1=Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(27911549,1))

Grave Lure (57270476) ​

Source: Scripts/c57270476.lua

lua
		local tc=g:GetFirst()
		Duel.ShuffleDeck(1-tp)
		tc:ReverseInDeck()
		local e1=Effect.CreateEffect(e:GetHandler())
		e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)