Skip to content

Duel.RDComplete ​

Signature ​

lua
Duel.RDComplete() -> void

Description ​

Completes reserved step damage/recover processing after Duel.Damage or Duel.Recover is called with is_step=true. Call this once after all stepped LP changes in the batch have been queued.

How To Use It ​

Use this after one or more stepped Duel.Damage or Duel.Recover calls.

lua
Duel.Damage(tp,500,REASON_EFFECT,true)
Duel.Damage(1-tp,500,REASON_EFFECT,true)
Duel.RDComplete()

Without this call, the reserved damage/recovery batch is not completed. Use ordinary sequential calls, often separated by Duel.BreakEffect(), when the card text wants one action and then another.

Source ​

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

Guided Examples ​

Learn how to use this function in context:

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.RDComplete.
CardIDScriptDetected Calls
Crimson Nova the Dark Cubic Lord30270176Scripts/c30270176.lua1
Aiza the Dragoness of Deranged Devotion63378869Scripts/c63378869.lua1
Superheavy Samurai Soulbang Cannon3064425Scripts/c3064425.lua1
Meklord Astro Dragon Asterisk38522377Scripts/c38522377.lua1
Earthbound Resonance95207988Scripts/c95207988.lua1
Neos Wiseman5126490Scripts/c5126490.lua1
Yubel - The Loving Defender Forever47172959Scripts/c47172959.lua1
Pyrorex the Elemental Lord35842855Scripts/c35842855.lua1
TA.I. Strike86449372Scripts/c86449372.lua1
Exploderokket Dragon31353051Scripts/c31353051.lua1
Seventh Barian's39513225Scripts/c39513225.lua1
Hyper Psychic Blaster/Assault Mode37169670Scripts/c37169670.lua1
Fusion Fright Waltz34449261Scripts/c34449261.lua1
Pair Bear Scare!!21501961Scripts/c21501961.lua1
Destiny HERO - Dynatag37780349Scripts/c37780349.lua1
Performage Flame Eater4807253Scripts/c4807253.lua1
Capacitor Stalker29716911Scripts/c29716911.lua1
The Big Saturn34004470Scripts/c34004470.lua1
Sorcerer of Sebek39767432Scripts/c39767432.lua1
Saber Reflection35037880Scripts/c35037880.lua1
Red-Eyes Burn71782404Scripts/c71782404.lua1
Chthonian Blast18271561Scripts/c18271561.lua1
Photon Alexandra Queen75797046Scripts/c75797046.lua1
Koa'ki Ring46089249Scripts/c46089249.lua1
...and 19 more

Script Examples ​

Crimson Nova the Dark Cubic Lord (30270176) ​

Source: Scripts/c30270176.lua

lua
	Duel.Damage(tp,3000,REASON_EFFECT,true)
	Duel.Damage(1-tp,3000,REASON_EFFECT,true)
	Duel.RDComplete()
end

Aiza the Dragoness of Deranged Devotion (63378869) ​

Source: Scripts/c63378869.lua

lua
		Duel.Damage(1-tp,bc:GetTextAttack(),REASON_EFFECT,true)
		Duel.Damage(tp,bc:GetTextAttack(),REASON_EFFECT,true)
		Duel.RDComplete()
	end
	local fid=e:GetHandler():GetFieldID()

Superheavy Samurai Soulbang Cannon (3064425) ​

Source: Scripts/c3064425.lua

lua
		Duel.Damage(tp,1000,REASON_EFFECT,true)
		Duel.Damage(1-tp,1000,REASON_EFFECT,true)
		Duel.RDComplete()
	end
end