Duel.ChainAttack
Signature
lua
Duel.ChainAttack([Card c]) -> voidDescription
Marks the current attacker so it can make another attack, optionally against card c. The binding only sets chain-attack state. It returns no Lua value and does nothing if there is no current attacker or the attacker is not affected by the resolving effect.
Parameters
cCardoptional
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4961
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 60 indexed script(s).
- Search this function in the Script Explorer with
Duel.ChainAttack.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Converging Wishes | 20007374 | Scripts/c20007374.lua | 1 |
| All-Eyes Phantom Dragon | 70335319 | Scripts/c70335319.lua | 1 |
| Favorite Hero | 11881272 | Scripts/c11881272.lua | 1 |
| Altergeist Memorygant | 23790299 | Scripts/c23790299.lua | 1 |
| Dinomist Rex | 63251695 | Scripts/c63251695.lua | 1 |
| Infernoid Attondel | 88301393 | Scripts/c88301393.lua | 1 |
| D - Burst | 47471667 | Scripts/c47471667.lua | 1 |
| Super Strident Blaze | 81193865 | Scripts/c81193865.lua | 1 |
| Toy Parade | 92607427 | Scripts/c92607427.lua | 1 |
| Number C5: Chaos Chimera Dragon | 69757518 | Scripts/c69757518.lua | 1 |
| Survival of the Fittest | 58272005 | Scripts/c58272005.lua | 1 |
| Black Luster Soldier - Envoy of the Beginning | 72989439 | Scripts/c72989439.lua | 1 |
| Starry Night, Starry Dragon | 90835938 | Scripts/c90835938.lua | 1 |
| Cyber Angel Izana | 91668401 | Scripts/c91668401.lua | 1 |
| Nitro Warrior | 18013090 | Scripts/c18013090.lua | 1 |
| Armored Xyz | 73046708 | Scripts/c73046708.lua | 1 |
| Beginning Knight | 6628343 | Scripts/c6628343.lua | 1 |
| Metaphys Tyrant Dragon | 18743376 | Scripts/c18743376.lua | 1 |
| DMZ Dragon | 98371278 | Scripts/c98371278.lua | 1 |
| Dragocytos Corrupted Nethersoul Dragon | 21435914 | Scripts/c21435914.lua | 1 |
| Superheavy Samurai General Coral | 78274190 | Scripts/c78274190.lua | 1 |
| Dimension Mirage | 80560728 | Scripts/c80560728.lua | 1 |
| DZW - Chimera Clad | 6330307 | Scripts/c6330307.lua | 1 |
| Endless Bond | 35989913 | Scripts/c35989913.lua | 1 |
| ...and 36 more |
Script Examples
Converging Wishes (20007374)
Source: Scripts/c20007374.lua
lua
local ec=c:GetEquipTarget()
if not ec:IsRelateToBattle() then return end
Duel.ChainAttack()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)All-Eyes Phantom Dragon (70335319)
Source: Scripts/c70335319.lua
lua
end
function c70335319.atop(e,tp,eg,ep,ev,re,r,rp)
Duel.ChainAttack()
end
function c70335319.hspfilter(c)Favorite Hero (11881272)
Source: Scripts/c11881272.lua
lua
end
function c11881272.chaop(e,tp,eg,ep,ev,re,r,rp)
Duel.ChainAttack()
end