Skip to content

Duel.Readjust ​

Signature ​

lua
Duel.Readjust() -> void

Description ​

Requests a field readjust for the current reason effect's handler. If the same handler requests readjustment more than three times in the current tracking map, the core sends it to the Graveyard by rule instead.

Source ​

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

Used By ​

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

  • Detected in 10 indexed script(s).
  • Search this function in the Script Explorer with Duel.Readjust.
CardIDScriptDetected Calls
Ocean Dragon Lord - Kairyu-Shin23931679Scripts/c23931679.lua1
Double Fusion10218411Scripts/c10218411.lua1
There Can Be Only One24207889Scripts/c24207889.lua1
Pole Position73578229Scripts/c73578229.lua1
Kotodama19406822Scripts/c19406822.lua1
Gozen Match53334471Scripts/c53334471.lua1
Rivalry of Warlords90846359Scripts/c90846359.lua1
Spatial Collapse20644748Scripts/c20644748.lua1
True Exodia37984331Scripts/c37984331.lua1
Call of Darkness78637313Scripts/c78637313.lua1

Script Examples ​

Ocean Dragon Lord - Kairyu-Shin (23931679) ​

Source: Scripts/c23931679.lua

lua
	if g1:GetCount()>0 then
		Duel.SendtoGrave(g1,REASON_RULE)
		Duel.Readjust()
	end
end

Double Fusion (10218411) ​

Source: Scripts/c10218411.lua

lua
function s.activate(e,tp,eg,ep,ev,re,r,rp)
	if s.fop(e,tp,eg,ep,ev,re,r,rp)>0 then
		Duel.Readjust()
		if s.fcon(e,tp) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
			Duel.BreakEffect()

There Can Be Only One (24207889) ​

Source: Scripts/c24207889.lua

lua
	if sg:GetCount()>0 then
		Duel.SendtoGrave(sg,REASON_RULE)
		Duel.Readjust()
	end
	for p=0,1 do