Skip to content

Card.CancelCardTarget ​

Signature ​

lua
Card.CancelCardTarget(Card c, Card target) -> void

Description ​

Removes target from c's persistent card-target relation list.

Parameters ​

  • c Card
  • target Card

Source ​

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

Used By ​

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

  • Detected in 3 indexed script(s).
  • Search this function in the Script Explorer with Card.CancelCardTarget.
CardIDScriptDetected Calls
Trickstar Light Stage35371948Scripts/c35371948.lua1
Trickstar Light Arena63492244Scripts/c63492244.lua1
Goblin Freefall Squad85123771Scripts/c85123771.lua1

Script Examples ​

Trickstar Light Stage (35371948) ​

Source: Scripts/c35371948.lua

lua
	local c=e:GetHandler()
	local tc=eg:GetFirst()
	c:CancelCardTarget(tc)
	tc:ResetFlagEffect(35371948)
	local te=e:GetLabelObject()

Trickstar Light Arena (63492244) ​

Source: Scripts/c63492244.lua

lua
	local c=e:GetHandler()
	local tc=eg:GetFirst()
	c:CancelCardTarget(tc)
	tc:ResetFlagEffect(63492244)
	local te=e:GetLabelObject()

Goblin Freefall Squad (85123771) ​

Source: Scripts/c85123771.lua

lua
	local c=e:GetHandler()
	local tc=c:GetFirstCardTarget()
	Card.CancelCardTarget(c,tc)
end
	--to hand