Skip to content

Card.IsEffectProperty ​

Signature ​

lua
Card.IsEffectProperty(Card c, function filter) -> bool

Description ​

Checks whether c has an effect matching filter.

Parameters ​

  • c Card
  • filter function - filter(Effect)

Returns ​

  • bool

Source ​

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

Used By ​

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

  • Detected in 12 indexed script(s).
  • Search this function in the Script Explorer with Card.IsEffectProperty.
CardIDScriptDetected Calls
Argostars - Giantslaying30964246Scripts/c30964246.lua1
Arcana Force EX - The Chaos Ruler12686296Scripts/c12686296.lua1
Desperado Barrel Dragon76728962Scripts/c76728962.lua1
Armor Wizard Pazoo56779694Scripts/c56779694.lua1
Heosvarog the Mechanical Dawn8963089Scripts/c8963089.lua1
Goddess of the Two Sides50915474Scripts/c50915474.lua1
Candelato, the Beast of Light8315896Scripts/c8315896.lua1
Arcana Force XIX - The Sun39761418Scripts/c39761418.lua2
Arcana Spread76302448Scripts/c76302448.lua2
Arcana Reading11819473Scripts/c11819473.lua1
Dimension Dice47292920Scripts/c47292920.lua2
Diced Dice93078761Scripts/c93078761.lua1

Script Examples ​

Argostars - Giantslaying (30964246) ​

Source: Scripts/c30964246.lua

lua
	return c:IsAllTypes(TYPE_CONTINUOUS|TYPE_TRAP) and c:IsFaceup() and
		(c:IsLocation(LOCATION_MZONE) or
			c:IsEffectProperty(aux.EffectCategoryFilter(CATEGORY_SPECIAL_SUMMON)) and
			(c:GetOriginalLevel()>0
			or bit.band(c:GetOriginalRace(),0x3fffffff)~=0

Arcana Force EX - The Chaos Ruler (12686296) ​

Source: Scripts/c12686296.lua

lua
end
function s.thfilter(c)
	return c:IsEffectProperty(aux.EffectPropertyFilter(EFFECT_FLAG_COIN)) and c:IsAbleToHand()
end
function s.coinop(e,tp,eg,ep,ev,re,r,rp)

Desperado Barrel Dragon (76728962) ​

Source: Scripts/c76728962.lua

lua
end
function c76728962.thfilter(c)
	return c:IsEffectProperty(aux.EffectPropertyFilter(EFFECT_FLAG_COIN)) and c:IsType(TYPE_MONSTER) and c:IsLevelBelow(7) and c:IsAbleToHand()
end
function c76728962.thtg(e,tp,eg,ep,ev,re,r,rp,chk)