Card.IsAbleToChangeControler
Signature
lua
Card.IsAbleToChangeControler(Card c) -> boolDescription
Checks only whether c is free of EFFECT_CANNOT_CHANGE_CONTROL.
Parameters
cCard
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.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| D/D/D/D Super-Dimensional Sovereign Emperor Zero Paradox | 97417863 | Scripts/c97417863.lua | 3 |
| Radiant Typhoon Varuroon, the Marine Eidolon | 39341885 | Scripts/c39341885.lua | 2 |
| Relinquished Fusion | 78063197 | Scripts/c78063197.lua | 1 |
| Meklord Astro Mekanikle | 63468625 | Scripts/c63468625.lua | 1 |
| Zoroa, the Magistus Verethragna | 37260677 | Scripts/c37260677.lua | 1 |
| Yummy★Redemption | 65853758 | Scripts/c65853758.lua | 2 |
| Cyberdark End Dragon | 37542782 | Scripts/c37542782.lua | 1 |
| Millennium-Eyes Restrict | 41578483 | Scripts/c41578483.lua | 1 |
| Snake-Eyes Vengeance Dragon | 79415624 | Scripts/c79415624.lua | 1 |
| Immortal Phoenix Gearfried | 22091647 | Scripts/c22091647.lua | 1 |
| Allure Queen LV5 | 23756165 | Scripts/c23756165.lua | 1 |
| Meklord Emperor Granel | 4545683 | Scripts/c4545683.lua | 1 |
| Courageous Crimson Chevalier Bradamante | 91479482 | Scripts/c91479482.lua | 1 |
| Meklord Emperor Skiel | 31930787 | Scripts/c31930787.lua | 1 |
| Nightmare-Eyes Restrict | 30138615 | Scripts/c30138615.lua | 1 |
| Underground Arachnid | 63465535 | Scripts/c63465535.lua | 1 |
| Majestic Absorption | 63144961 | Scripts/c63144961.lua | 1 |
| Snake-Eyes Doomed Dragon | 58071334 | Scripts/c58071334.lua | 1 |
| Meklord Emperor Wisel | 68140974 | Scripts/c68140974.lua | 1 |
| Draco Awakening | 66092596 | Scripts/c66092596.lua | 1 |
| Sky Striker Ace - Azalea Temperance | 56741506 | Scripts/c56741506.lua | 1 |
| Mikanko Spiritwalk | 53174748 | Scripts/c53174748.lua | 1 |
| Allure Queen LV3 | 87257460 | Scripts/c87257460.lua | 1 |
| Vylon Disigma | 39987164 | Scripts/c39987164.lua | 1 |
| ...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())
endRelinquished 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)