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) -> anyDescription
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
cardany: Type and behavior are not yet reviewed; see the source.descany: Type and behavior are not yet reviewed; see the source.conditionany: Type and behavior are not yet reviewed; see the source.targetany: Type and behavior are not yet reviewed; see the source.operationany: Type and behavior are not yet reviewed; see the source.valueany: Type and behavior are not yet reviewed; see the source.positionany: 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
endUsed 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.
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)