Skip to content

RushDuel.AddHandSpecialSummonProcedure ​

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

Signature ​

lua
RushDuel.AddHandSpecialSummonProcedure(any card, any desc, any condition, any target, any operation, any value, any position) -> any

Description ​

Rush Duel helper declared in RDSummon.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.
  • desc any: Type and behavior are not yet reviewed; see the source.
  • condition any: Type and behavior are not yet reviewed; see the source.
  • target any: Type and behavior are not yet reviewed; see the source.
  • operation any: Type and behavior are not yet reviewed; see the source.
  • value any: Type and behavior are not yet reviewed; see the source.
  • position 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/RDSummon.lua:382

lua
function RushDuel.AddHandSpecialSummonProcedure(card, desc, condition, target, operation, value, position)
    local e1 = Effect.CreateEffect(card)
    e1:SetDescription(desc)
    e1:SetType(EFFECT_TYPE_FIELD)
    e1:SetCode(EFFECT_SPSUMMON_PROC)
    if position == nil then
        e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE)
    else
        e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_SPSUM_PARAM)
        e1:SetTargetRange(position, 0)
    end
    e1:SetRange(LOCATION_HAND)
    if condition ~= nil then
        e1:SetCondition(condition)
    end
    if target ~= nil then
        e1:SetTarget(target)
    end
    if operation ~= nil then
        e1:SetOperation(operation)
    end
    if value ~= nil then
        e1:SetValue(value)
    end
    card:RegisterEffect(e1)
    return e1
end

Used By ​

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

  • Detected in 38 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.AddHandSpecialSummonProcedure.
CardIDScriptDetected Calls
Chaos Emperor Dragon - Envoy of the End120305001Rush/Scripts/c120305001.lua1
Brassdes of the Wicked Wheels120304033Rush/Scripts/c120304033.lua1
Player #C39: Home Run Smasher V120305028Rush/Scripts/c120305028.lua1
The Black Witch Facing the Temple120309048Rush/Scripts/c120309048.lua1
Jinzo the Machine Menace120257028Rush/Scripts/c120257028.lua1
Qadi of the Monumenthes120300009Rush/Scripts/c120300009.lua1
Sparkhearts Anesh120298022Rush/Scripts/c120298022.lua1
The Flame Dragon Haunting the Temple120309047Rush/Scripts/c120309047.lua1
Excutie Lumière120231031Rush/Scripts/c120231031.lua1
Guardian Eatos120290065Rush/Scripts/c120290065.lua1
Battletested Curse of Dragon120249031Rush/Scripts/c120249031.lua1
Red-Eyes Darkness Metal Dragon120294000Rush/Scripts/c120294000.lua1
Blue-Eyes Vision Dragon120252004Rush/Scripts/c120252004.lua1
Launcher Catapult Turtle120249030Rush/Scripts/c120249030.lua1
Cyber Processor120244021Rush/Scripts/c120244021.lua1
Coredrasil the Spirit Tree Bunrei120306018Rush/Scripts/c120306018.lua1
Wroughtwyvern120263011Rush/Scripts/c120263011.lua1
Pitch-Dark Eradicator Sorcerer120309008Rush/Scripts/c120309008.lua1
Lightning Volteagle120246001Rush/Scripts/c120246001.lua1
Lightning Voltkite120246003Rush/Scripts/c120246003.lua1
Cross Lostream Melutine120309036Rush/Scripts/c120309036.lua1
Executie Flame120235019Rush/Scripts/c120235019.lua1
Deity of Seven Treasures - Beidai120261042Rush/Scripts/c120261042.lua1
Deity of Seven Treasures - Bika120283037Rush/Scripts/c120283037.lua1
...and 14 more

Script Examples ​

Chaos Emperor Dragon - Envoy of the End (120305001) ​

Source: Rush/Scripts/c120305001.lua

lua
function cm.initial_effect(c)
	--Special Summon Procedure
	RD.AddHandSpecialSummonProcedure(c,aux.Stringid(m,0),cm.spcon,cm.sptg,cm.spop,SUMMON_VALUE_SELF)
	--Counter
	Duel.AddCustomActivityCounter(m,ACTIVITY_CHAIN,aux.FALSE)

Brassdes of the Wicked Wheels (120304033) ​

Source: Rush/Scripts/c120304033.lua

lua
	RD.AddCodeList(c,list)
	--Special Summon Procedure
	RD.AddHandSpecialSummonProcedure(c,aux.Stringid(m,0),cm.spcon,cm.sptg,cm.spop)
	--Atk Up
	local e1=Effect.CreateEffect(c)

Player #C39: Home Run Smasher V (120305028) ​

Source: Rush/Scripts/c120305028.lua

lua
function cm.initial_effect(c)
	--Special Summon Procedure
	RD.AddHandSpecialSummonProcedure(c,aux.Stringid(m,0),cm.spcon,cm.sptg,cm.spop)
	--Destroy
	local e1=Effect.CreateEffect(c)