Skip to content

Auxiliary.EffectPropertyFilter ​

Signature ​

lua
Auxiliary.EffectPropertyFilter(int flag) -> function

Description ​

Returns a predicate that checks whether an Effect has property flag.

Parameters ​

  • flag int

Returns ​

  • function

Source ​

  • Utilities/utility.lua:2032

Used By ​

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

  • Detected in 11 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.EffectPropertyFilter.
CardIDScriptDetected Calls
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.lua1
Diced Dice93078761Scripts/c93078761.lua1

Script Examples ​

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)

Armor Wizard Pazoo (56779694) ​

Source: Scripts/c56779694.lua

lua
end
function s.disfilter(c)
	return c:IsFaceup() and c:IsEffectProperty(aux.EffectPropertyFilter(EFFECT_FLAG_DICE))
end
function s.discon(e,tp,eg,ep,ev,re,r,rp)