Skip to content

Duel.MajesticCopy ​

Signature ​

lua
Duel.MajesticCopy(Card c1, Card c2) -> void

Description ​

Copies monster initial effects from copy_target onto c until the End Phase. It copies chain-link monster effects, skips Xyz Material effects, converts mandatory trigger/quick effects to optional versions, and does not copy Spell/Trap effects.

Parameters ​

  • c1 Card
  • c2 Card

Source ​

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

Used By ​

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

  • Detected in 1 indexed script(s).
  • Search this function in the Script Explorer with Duel.MajesticCopy.
CardIDScriptDetected Calls
Majestic Star Dragon7841112Scripts/c7841112.lua1

Script Examples ​

Majestic Star Dragon (7841112) ​

Source: Scripts/c7841112.lua

lua
		e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
		tc:RegisterEffect(e2)
		Duel.MajesticCopy(c,tc)
	end
end