Skip to content

Duel.ChainAttack ​

Signature ​

lua
Duel.ChainAttack([Card c]) -> void

Description ​

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 ​

  • c Card optional

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.
CardIDScriptDetected Calls
Converging Wishes20007374Scripts/c20007374.lua1
All-Eyes Phantom Dragon70335319Scripts/c70335319.lua1
Favorite Hero11881272Scripts/c11881272.lua1
Altergeist Memorygant23790299Scripts/c23790299.lua1
Dinomist Rex63251695Scripts/c63251695.lua1
Infernoid Attondel88301393Scripts/c88301393.lua1
D - Burst47471667Scripts/c47471667.lua1
Super Strident Blaze81193865Scripts/c81193865.lua1
Toy Parade92607427Scripts/c92607427.lua1
Number C5: Chaos Chimera Dragon69757518Scripts/c69757518.lua1
Survival of the Fittest58272005Scripts/c58272005.lua1
Black Luster Soldier - Envoy of the Beginning72989439Scripts/c72989439.lua1
Starry Night, Starry Dragon90835938Scripts/c90835938.lua1
Cyber Angel Izana91668401Scripts/c91668401.lua1
Nitro Warrior18013090Scripts/c18013090.lua1
Armored Xyz73046708Scripts/c73046708.lua1
Beginning Knight6628343Scripts/c6628343.lua1
Metaphys Tyrant Dragon18743376Scripts/c18743376.lua1
DMZ Dragon98371278Scripts/c98371278.lua1
Dragocytos Corrupted Nethersoul Dragon21435914Scripts/c21435914.lua1
Superheavy Samurai General Coral78274190Scripts/c78274190.lua1
Dimension Mirage80560728Scripts/c80560728.lua1
DZW - Chimera Clad6330307Scripts/c6330307.lua1
Endless Bond35989913Scripts/c35989913.lua1
...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