RushDuel.CreateFieldGlobalEffect
Alias: RD.CreateFieldGlobalEffect. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.CreateFieldGlobalEffect(any is_continuous, any code, any operation, any limit) -> anyDescription
Rush Duel helper declared in RDBase.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.
Upstream source comment
text
创建效果: 影响全场的全局效果Parameters
is_continuousany: Type and behavior are not yet reviewed; see the source.codeany: Type and behavior are not yet reviewed; see the source.operationany: Type and behavior are not yet reviewed; see the source.limitany: 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/RDBase.lua:136
lua
function RushDuel.CreateFieldGlobalEffect(is_continuous, code, operation, limit)
local e1 = Effect.GlobalEffect()
if is_continuous then
e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
else
e1:SetType(EFFECT_TYPE_FIELD)
end
if limit then
e1:SetCountLimit(limit)
end
e1:SetCode(code)
e1:SetOperation(operation)
Duel.RegisterEffect(e1, 0)
return e1
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
No indexed local card script currently calls this function.
This can mean the function is unused in the current script set, is only called through an alias, or is available for future/manual scripts.