Skip to content

Duel.IsChainSolving ​

Signature ​

lua
Duel.IsChainSolving() -> bool

Description ​

Checks whether the game is currently resolving a Chain or resolving an effect that does not start a Chain.

Returns ​

  • bool

Source ​

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

Used By ​

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

  • Detected in 15 indexed script(s).
  • Search this function in the Script Explorer with Duel.IsChainSolving.
CardIDScriptDetected Calls
Enneacraft - Archa.TAIL81237046Scripts/c81237046.lua2
Enneacraft - Aiza.LEON82359538Scripts/c82359538.lua2
Awakening of the Sacred Beasts53701259Scripts/c53701259.lua2
Squeeze, the Full Moon of Raise Moon - JACKPOT!9484285Scripts/c9484285.lua2
Odd-Eyes Pendulumgraph Dragon66425726Scripts/c66425726.lua2
Raise Moon Starter Squeeze47605577Scripts/c47605577.lua3
Guilt-Gripping Morganite61822419Scripts/c61822419.lua1
Crystal Tree47408488Scripts/c47408488.lua2
Ghost Sister & Spooky Dogwood60643553Scripts/c60643553.lua2
Trickstar Lycoris35199656Scripts/c35199656.lua2
Mulcharmy Purulia84192580Scripts/c84192580.lua2
Mulcharmy Fuwalos42141493Scripts/c42141493.lua2
Mulcharmy Meowls87126721Scripts/c87126721.lua2
Maxx "C"23434538Scripts/c23434538.lua2
Shared Ride1372887Scripts/c1372887.lua2

Script Examples ​

Enneacraft - Archa.TAIL (81237046) ​

Source: Scripts/c81237046.lua

lua
function s.damcon1(e,tp,eg,ep,ev,re,r,rp)
	return e:GetHandler():GetFlagEffect(id)>0
		and eg:IsExists(s.damfilter,1,nil,1-tp) and not Duel.IsChainSolving()
end
function s.damop1(e,tp,eg,ep,ev,re,r,rp)

Enneacraft - Aiza.LEON (82359538) ​

Source: Scripts/c82359538.lua

lua
function s.damcon1(e,tp,eg,ep,ev,re,r,rp)
	return e:GetHandler():GetFlagEffect(id)>0
		and eg:IsExists(Card.IsControler,1,nil,1-tp) and not Duel.IsChainSolving()
		and re and re:GetOwnerPlayer()==1-tp
end

Awakening of the Sacred Beasts (53701259) ​

Source: Scripts/c53701259.lua

lua
function c53701259.lpcon1(e,tp,eg,ep,ev,re,r,rp)
	return c53701259.lpcon(e,tp,eg,ep,ev,re,r,rp)
		and not Duel.IsChainSolving()
end
function c53701259.lpop1(e,tp,eg,ep,ev,re,r,rp)