Skip to content

Card.IsSSetable ​

Signature ​

lua
Card.IsSSetable(Card c, [bool ignore_field]) -> bool

Description ​

Checks whether c can be Set in a Spell & Trap Zone. If ignore_field is true, available zone checks are ignored.

Parameters ​

  • c Card
  • ignore_field bool optional - default: false

Returns ​

  • bool

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 314 indexed script(s).
  • Search this function in the Script Explorer with Card.IsSSetable.
CardIDScriptDetected Calls
Artmage Non-Finito74631897Scripts/c74631897.lua1
Ashtraja Susanoo17020474Scripts/c17020474.lua1
Albion the Branded Dragon87746184Scripts/c87746184.lua2
Stars Align Above the Shrine15306543Scripts/c15306543.lua1
K9-EW Special Release Experiment26585784Scripts/c26585784.lua1
Dracotail Mululu7375867Scripts/c7375867.lua1
Divine Serpent Apophis97800311Scripts/c97800311.lua1
Toadally Awesome90809975Scripts/c90809975.lua1
Sinful Spoils of the White Forest3496543Scripts/c3496543.lua1
Dracotail Faimena1498449Scripts/c1498449.lua1
R.B. Shepherd's Crook80071619Scripts/c80071619.lua1
Fabled Realm's Revival57775790Scripts/c57775790.lua1
Sudden Thunder Swamp23611122Scripts/c23611122.lua1
Azamina Determination42201897Scripts/c42201897.lua1
Zenet Revelator Nefertari84512726Scripts/c84512726.lua1
Amaze Attraction Thrill Train36591747Scripts/c36591747.lua1
Mementomictlan43338320Scripts/c43338320.lua1
Abyss Actor - Superstar25629622Scripts/c25629622.lua1
Dark Spell Regeneration12930501Scripts/c12930501.lua1
Loris, Lady of Lament50699850Scripts/c50699850.lua1
D/D/D Duo-Dawn King Kali Yuga15939229Scripts/c15939229.lua1
Scourge of the White Forest93723936Scripts/c93723936.lua1
Hrimnir the Divine Follower49904658Scripts/c49904658.lua1
Sloppy Stasher Squirrel42081767Scripts/c42081767.lua1
...and 290 more

Script Examples ​

Artmage Non-Finito (74631897) ​

Source: Scripts/c74631897.lua

lua
end
function s.setfilter(c)
	return c:IsSetCard(0x1cd) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable()
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)

Ashtraja Susanoo (17020474) ​

Source: Scripts/c17020474.lua

lua
function s.setfilter(c,e,tp)
	return c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEDOWN) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
		or c:IsType(TYPE_TRAP) and c:IsSSetable()
end
function s.cspfilter(c)

Albion the Branded Dragon (87746184) ​

Source: Scripts/c87746184.lua

lua
function c87746184.thfilter(c)
	if not (c:IsSetCard(0x15d) and c:IsType(TYPE_SPELL+TYPE_TRAP)) then return false end
	return c:IsAbleToHand() or c:IsSSetable()
end
function c87746184.thtg(e,tp,eg,ep,ev,re,r,rp,chk)