Skip to content

RushDuel.EnableFakeLegend ​

Alias: RD.EnableFakeLegend. Requires the matching Rush Duel Lua bootstrap.

Signature ​

lua
RushDuel.EnableFakeLegend(any card, any location) -> any

Description ​

Rush Duel helper declared in RDLegend.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.

Upstream source comment ​

text
当作传说卡 (赝品)

Parameters ​

  • card any: Type and behavior are not yet reviewed; see the source.
  • location any: Type and behavior are not yet reviewed; see the source.

Returns ​

  • any: Return contract has not been reviewed; inspect the source below.

Source ​

Rush/Utilities/RDLegend.lua:63

lua
function RushDuel.EnableFakeLegend(card, location)
    local e1 = Effect.CreateEffect(card)
    e1:SetType(EFFECT_TYPE_SINGLE)
    e1:SetCode(EFFECT_LEGEND_CARD)
    e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_SET_AVAILABLE + EFFECT_FLAG_SINGLE_RANGE)
    e1:SetRange(location)
    e1:SetValue(0)
    card:RegisterEffect(e1, true)
    return e1
end

Used By ​

Generated from the local Rush/Scripts/ folder and rush_cards.cdb.

  • Detected in 15 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.EnableFakeLegend.
CardIDScriptDetected Calls
Fate of the World120271054Rush/Scripts/c120271054.lua1
Grand Legendary Priest120271043Rush/Scripts/c120271043.lua1
Reminiscence of the Epic Tale120272054Rush/Scripts/c120272054.lua1
Grand Legendar Saber Spirit120293067Rush/Scripts/c120293067.lua1
Legendary Lineage Saber120285049Rush/Scripts/c120285049.lua1
Grand Legendary Party120309060Rush/Scripts/c120309060.lua1
Grand Legendary Saber120271041Rush/Scripts/c120271041.lua1
Grand Legendary Magician120271042Rush/Scripts/c120271042.lua1
Legendary Priest120271044Rush/Scripts/c120271044.lua1
Legendary Party120309061Rush/Scripts/c120309061.lua1
Legendary Necromancer120293066Rush/Scripts/c120293066.lua1
Ancient Final Battle120271050Rush/Scripts/c120271050.lua1
Legend Possessed120293068Rush/Scripts/c120293068.lua1
Legendary Lineage Magician120293065Rush/Scripts/c120293065.lua1
Legendary Advent120285059Rush/Scripts/c120285059.lua1

Script Examples ​

Fate of the World (120271054) ​

Source: Rush/Scripts/c120271054.lua

lua
function cm.initial_effect(c)
	--Fake Legend
	RD.EnableFakeLegend(c,LOCATION_HAND+LOCATION_GRAVE)
	--Activate
	local e1=Effect.CreateEffect(c)

Grand Legendary Priest (120271043) ​

Source: Rush/Scripts/c120271043.lua

lua
	RD.AddCodeList(c,list)
	--Fake Legend
	RD.EnableFakeLegend(c,LOCATION_HAND+LOCATION_GRAVE)
	--Destroy
	local e1=Effect.CreateEffect(c)

Reminiscence of the Epic Tale (120272054) ​

Source: Rush/Scripts/c120272054.lua

lua
function cm.initial_effect(c)
	--Fake Legend
	RD.EnableFakeLegend(c,LOCATION_HAND+LOCATION_GRAVE)
	--Activate
	local e1=Effect.CreateEffect(c)