Skip to content

Card.IsAbleToChangeControler ​

Signature ​

lua
Card.IsAbleToChangeControler(Card c) -> bool

Description ​

Checks only whether c is free of EFFECT_CANNOT_CHANGE_CONTROL.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 88 indexed script(s).
  • Search this function in the Script Explorer with Card.IsAbleToChangeControler.
CardIDScriptDetected Calls
D/D/D/D Super-Dimensional Sovereign Emperor Zero Paradox97417863Scripts/c97417863.lua3
Radiant Typhoon Varuroon, the Marine Eidolon39341885Scripts/c39341885.lua2
Relinquished Fusion78063197Scripts/c78063197.lua1
Meklord Astro Mekanikle63468625Scripts/c63468625.lua1
Zoroa, the Magistus Verethragna37260677Scripts/c37260677.lua1
Yummy★Redemption65853758Scripts/c65853758.lua2
Cyberdark End Dragon37542782Scripts/c37542782.lua1
Millennium-Eyes Restrict41578483Scripts/c41578483.lua1
Snake-Eyes Vengeance Dragon79415624Scripts/c79415624.lua1
Immortal Phoenix Gearfried22091647Scripts/c22091647.lua1
Allure Queen LV523756165Scripts/c23756165.lua1
Meklord Emperor Granel4545683Scripts/c4545683.lua1
Courageous Crimson Chevalier Bradamante91479482Scripts/c91479482.lua1
Meklord Emperor Skiel31930787Scripts/c31930787.lua1
Nightmare-Eyes Restrict30138615Scripts/c30138615.lua1
Underground Arachnid63465535Scripts/c63465535.lua1
Majestic Absorption63144961Scripts/c63144961.lua1
Snake-Eyes Doomed Dragon58071334Scripts/c58071334.lua1
Meklord Emperor Wisel68140974Scripts/c68140974.lua1
Draco Awakening66092596Scripts/c66092596.lua1
Sky Striker Ace - Azalea Temperance56741506Scripts/c56741506.lua1
Mikanko Spiritwalk53174748Scripts/c53174748.lua1
Allure Queen LV387257460Scripts/c87257460.lua1
Vylon Disigma39987164Scripts/c39987164.lua1
...and 64 more

Script Examples ​

D/D/D/D Super-Dimensional Sovereign Emperor Zero Paradox (97417863) ​

Source: Scripts/c97417863.lua

lua
end
function c97417863.pltg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
	if chkc then return chkc:IsLocation(LOCATION_PZONE) and chkc:IsControler(1-tp) and chkc:IsAbleToChangeControler() end
	local c=e:GetHandler()
	if chk==0 then return Duel.IsExistingTarget(Card.IsAbleToChangeControler,tp,0,LOCATION_PZONE,1,nil)

Radiant Typhoon Varuroon, the Marine Eidolon (39341885) ​

Source: Scripts/c39341885.lua

lua
end
function s.mvfilter(c)
	return c:IsFaceup() and (c:IsControler(c:GetOwner()) or c:IsAbleToChangeControler())
		and not c:IsForbidden() and c:CheckUniqueOnField(c:GetOwner())
end

Relinquished Fusion (78063197) ​

Source: Scripts/c78063197.lua

lua
end
function c78063197.filter(c)
	return c:IsFaceup() and c:IsType(TYPE_EFFECT) and c:IsAbleToChangeControler()
end
function c78063197.eqfilter(c)