Skip to content

Card.IsExtraDeckMonster ​

Signature ​

lua
Card.IsExtraDeckMonster(Card c) -> bool

Description ​

Checks whether c is a card kind treated by the core as an Extra Deck monster.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

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

Used By ​

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

  • Detected in 16 indexed script(s).
  • Search this function in the Script Explorer with Card.IsExtraDeckMonster.
CardIDScriptDetected Calls
GMX Associate Noma83528184Scripts/c83528184.lua1
Deep Sea Minstrel71978434Scripts/c71978434.lua1
Thunder Dragonduo55591586Scripts/c55591586.lua1
Thunder Dragon Thunderstormech12081875Scripts/c12081875.lua1
Majestic Star Dragon7841112Scripts/c7841112.lua1
Gold Pride - Nytro Blaster58884063Scripts/c58884063.lua1
Alsei, the Sylvan High Protector10406322Scripts/c10406322.lua1
Gold Pride - Star Leon22390469Scripts/c22390469.lua1
Majestic Red Dragon67030233Scripts/c67030233.lua1
Gold Pride - Eradicator45464587Scripts/c45464587.lua1
Lightray Diabolos30126992Scripts/c30126992.lua1
Red Dragon Ninja58165765Scripts/c58165765.lua1
Trickstar Bouquet99890852Scripts/c99890852.lua1
Sylvan Blessing91650245Scripts/c91650245.lua1
Abyss Warrior88409165Scripts/c88409165.lua1
Wattsychic Fighter81028112Scripts/c81028112.lua1

Script Examples ​

GMX Associate Noma (83528184) ​

Source: Scripts/c83528184.lua

lua
	if tg:GetCount()>0 then
		for tc in aux.Next(tg) do
			if tc:IsExtraDeckMonster()
				or Duel.SelectOption(tp,aux.Stringid(id,2),aux.Stringid(id,3))==0 then
				Duel.SendtoDeck(tc,nil,SEQ_DECKTOP,REASON_EFFECT)

Deep Sea Minstrel (71978434) ​

Source: Scripts/c71978434.lua

lua
	local tc=Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) then
		if tc:IsExtraDeckMonster()
			or Duel.SelectOption(tp,aux.Stringid(71978434,2),aux.Stringid(71978434,3))==0 then
			Duel.SendtoDeck(tc,nil,SEQ_DECKTOP,REASON_EFFECT)

Thunder Dragonduo (55591586) ​

Source: Scripts/c55591586.lua

lua
	local tc=Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) then
		if tc:IsExtraDeckMonster()
			or Duel.SelectOption(tp,aux.Stringid(55591586,4),aux.Stringid(55591586,5))==0 then
			Duel.SendtoDeck(tc,nil,SEQ_DECKTOP,REASON_EFFECT)