Duel.ChangeChainOperation
Signature
lua
Duel.ChangeChainOperation(int chainc, function f) -> voidDescription
Replaces the operation function of Chain Link chainc with f.
Parameters
chaincintffunction
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4928
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 22 indexed script(s).
- Search this function in the Script Explorer with
Duel.ChangeChainOperation.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Chaos Magical Hats | 2372506 | Scripts/c2372506.lua | 1 |
| Nerva the Power Patron of Creation | 53589300 | Scripts/c53589300.lua | 1 |
| Artifact Durendal | 69840739 | Scripts/c69840739.lua | 1 |
| Samsara D Lotus | 62318994 | Scripts/c62318994.lua | 1 |
| Grapha, Dragon Overlord of Dark World | 39552584 | Scripts/c39552584.lua | 1 |
| Exosister Karmael | 77675029 | Scripts/c77675029.lua | 1 |
| Prototype Sky Striker Ace - Amatsu | 25072579 | Scripts/c25072579.lua | 1 |
| Centur-Ion Chimerea | 81696879 | Scripts/c81696879.lua | 1 |
| World Legacy's Mind Meld | 27705190 | Scripts/c27705190.lua | 1 |
| Abyss Playhouse - Fantastic Theater | 77297908 | Scripts/c77297908.lua | 1 |
| Phantom of Yubel | 80453041 | Scripts/c80453041.lua | 1 |
| Number 75: Bamboozling Gossip Shadow | 71166481 | Scripts/c71166481.lua | 1 |
| Cielo, the Night Sky of Raise Moon - No More Bets! | 73090586 | Scripts/c73090586.lua | 1 |
| Fairy Tail - Sleeper | 42921475 | Scripts/c42921475.lua | 1 |
| Shipping Error | 58761791 | Scripts/c58761791.lua | 1 |
| Dark World Brainwashing | 10131855 | Scripts/c10131855.lua | 1 |
| Graydle Combat | 84442536 | Scripts/c84442536.lua | 1 |
| Vortex of Time | 42138622 | Scripts/c42138622.lua | 2 |
| Fabled Dianaira | 53199020 | Scripts/c53199020.lua | 1 |
| Generaider Boss Room | 64325438 | Scripts/c64325438.lua | 1 |
| Dark Deal | 65824822 | Scripts/c65824822.lua | 1 |
| Muko | 80863132 | Scripts/c80863132.lua | 1 |
Script Examples
Chaos Magical Hats (2372506)
Source: Scripts/c2372506.lua
lua
local tg=Group.CreateGroup()
Duel.ChangeTargetCard(ev,tg)
Duel.ChangeChainOperation(ev,s.repop)
end
function s.repop(e,tp,eg,ep,ev,re,r,rp)Nerva the Power Patron of Creation (53589300)
Source: Scripts/c53589300.lua
lua
local g=Group.CreateGroup()
Duel.ChangeTargetCard(ev,g)
Duel.ChangeChainOperation(ev,s.repop)
end
function s.repop(e,tp,eg,ep,ev,re,r,rp)Artifact Durendal (69840739)
Source: Scripts/c69840739.lua
lua
local g=Group.CreateGroup()
Duel.ChangeTargetCard(ev,g)
Duel.ChangeChainOperation(ev,c69840739.repop)
end
function c69840739.filter(c)