Skip to content

Duel.SetChainLimitTillChainEnd ​

Signature ​

lua
Duel.SetChainLimitTillChainEnd(function f) -> void

Description ​

Registers a chain-limit callback that persists until the current chain ends.

Parameters ​

  • f function - callback: f(e, chain_player, activating_player)

Source ​

  • D:\Programs\GitHub\ygopro-core\libduel.cpp:4888

Used By ​

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

  • Detected in 43 indexed script(s).
  • Search this function in the Script Explorer with Duel.SetChainLimitTillChainEnd.
CardIDScriptDetected Calls
Eternal Favorite87532344Scripts/c87532344.lua2
Spellbook of the Grand Circle11911336Scripts/c11911336.lua2
DoSolfachord Coolia80776622Scripts/c80776622.lua2
Artmage Pact -Awakening-23599634Scripts/c23599634.lua2
Magikey Dragon - Andrabime71159974Scripts/c71159974.lua2
Echelon of the Fire Kings38798785Scripts/c38798785.lua2
Flame Swordsrealm73714736Scripts/c73714736.lua2
Link into the VRAINS!28827503Scripts/c28827503.lua1
Fabled Realm's Revival57775790Scripts/c57775790.lua2
Abyss Actor - Superstar25629622Scripts/c25629622.lua2
Clown Crew Meteor93172951Scripts/c93172951.lua2
LaSolfachord Angelia27993919Scripts/c27993919.lua2
TiSolfachord Beautia54387923Scripts/c54387923.lua2
Sweet Dreams, Nemleria44843954Scripts/c44843954.lua2
Dragonroid9069157Scripts/c9069157.lua2
Arcana Force V - The Hierophant3376703Scripts/c3376703.lua2
Chaos End Ruler - Ruler of the Beginning and the End41424250Scripts/c41424250.lua1
SolSolfachord Gracia91598270Scripts/c91598270.lua2
Slifer the Sky Dragon10000020Scripts/c10000020.lua1
GMX Lab #574378580Scripts/c74378580.lua2
Stellarknight Delteros56638325Scripts/c56638325.lua2
Theorealize Past Lull36709484Scripts/c36709484.lua1
Tri-Brigade Arms Bucephalus II10019086Scripts/c10019086.lua2
The Winged Dragon of Ra10000010Scripts/c10000010.lua1
...and 19 more

Script Examples ​

Eternal Favorite (87532344) ​

Source: Scripts/c87532344.lua

lua
	e:SetLabel(1)
	if Duel.GetCurrentChain()==0 then
		Duel.SetChainLimitTillChainEnd(aux.FALSE)
	elseif Duel.GetCurrentChain()==1 then
		e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1)

Spellbook of the Grand Circle (11911336) ​

Source: Scripts/c11911336.lua

lua
	e:SetLabel(1)
	if Duel.GetCurrentChain()==0 then
		Duel.SetChainLimitTillChainEnd(s.chainlm)
	elseif Duel.GetCurrentChain()==1 then
		e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1)

DoSolfachord Coolia (80776622) ​

Source: Scripts/c80776622.lua

lua
function c80776622.limop(e,tp,eg,ep,ev,re,r,rp)
	if Duel.GetCurrentChain()==0 then
		Duel.SetChainLimitTillChainEnd(c80776622.chainlm)
	elseif Duel.GetCurrentChain()==1 then
		e:GetHandler():RegisterFlagEffect(80776622,RESET_EVENT+RESETS_STANDARD,0,1)