Skip to content

Card.IsAttackPos ​

Signature ​

lua
Card.IsAttackPos(Card c) -> bool

Description ​

Checks whether c's current position contains POS_ATTACK.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

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

Used By ​

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

  • Detected in 154 indexed script(s).
  • Search this function in the Script Explorer with Card.IsAttackPos.
CardIDScriptDetected Calls
Hushed Psychic Cleric25343017Scripts/c25343017.lua2
Buerillabaisse de Nouvelles26223582Scripts/c26223582.lua1
Floowandereeze & Empen80611581Scripts/c80611581.lua1
Angry Burger28306253Scripts/c28306253.lua1
Goblin Freefall Squad85123771Scripts/c85123771.lua2
Lancea, Ancestral Dragon of the Ice Mountain96402918Scripts/c96402918.lua1
Baelgrill de Nouvelles88890658Scripts/c88890658.lua1
Vylon Disigma39987164Scripts/c39987164.lua2
Dinowrestler King T Wrextle77967790Scripts/c77967790.lua3
Dillingerous Dragon23732205Scripts/c23732205.lua1
The Phantom Knights of Umbrage Veil85257384Scripts/c85257384.lua1
Shell Knight10163855Scripts/c10163855.lua1
Balameuniere de Nouvelles52495649Scripts/c52495649.lua1
Metamorphortress43959432Scripts/c43959432.lua1
Crossroad Sonic Chick80054655Scripts/c80054655.lua1
Protecting Spirit Loagaeth84339249Scripts/c84339249.lua1
Foie Glasya de Nouvelles15001940Scripts/c15001940.lua1
Ace★Spades Speculation10796448Scripts/c10796448.lua2
Confiras de Nouvelles53618197Scripts/c53618197.lua1
Morphtronic Converter90659259Scripts/c90659259.lua3
Phantasm Spiral Crash48308134Scripts/c48308134.lua1
Layer 19 "Sudden Incursion! Super Quantum Black!!"98349765Scripts/c98349765.lua2
Puppet Rook77590412Scripts/c77590412.lua2
Dual Avatar Fists - Armored Ah-Gyo60237530Scripts/c60237530.lua3
...and 130 more

Script Examples ​

Hushed Psychic Cleric (25343017) ​

Source: Scripts/c25343017.lua

lua
end
function c25343017.potg(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return e:GetHandler():IsAttackPos() end
	Duel.SetOperationInfo(0,CATEGORY_POSITION,e:GetHandler(),1,0,0)
end

Buerillabaisse de Nouvelles (26223582) ​

Source: Scripts/c26223582.lua

lua
end
function s.relfilter(c,tp,ec)
	return c:IsReleasableByEffect() and c:IsAttackPos()
		and Duel.GetMZoneCount(tp,Group.FromCards(c,ec))>0
end

Floowandereeze & Empen (80611581) ​

Source: Scripts/c80611581.lua

lua
	local rc=re:GetHandler()
	return rc:IsLocation(LOCATION_MZONE) and re:IsActiveType(TYPE_MONSTER)
		and rc:IsAttackPos() and rc:IsSummonType(SUMMON_TYPE_SPECIAL)
end
function c80611581.atkcon(e,tp,eg,ep,ev,re,r,rp)