RushDuel.CreateCannotActivateEffect
Alias: RD.CreateCannotActivateEffect. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.CreateCannotActivateEffect(any e, any desc, any value, any player, any s_range, any o_range, any reset) -> anyDescription
Rush Duel helper declared in RDLimit.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.
Upstream source comment
text
创建限制: 不能把效果发动Parameters
eany: Type and behavior are not yet reviewed; see the source.descany: Type and behavior are not yet reviewed; see the source.valueany: Type and behavior are not yet reviewed; see the source.playerany: Type and behavior are not yet reviewed; see the source.s_rangeany: Type and behavior are not yet reviewed; see the source.o_rangeany: Type and behavior are not yet reviewed; see the source.resetany: 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/RDLimit.lua:310
lua
function RushDuel.CreateCannotActivateEffect(e, desc, value, player, s_range, o_range, reset)
return RushDuel.CreateCannotActivateMix(e, desc, player, s_range, o_range, reset, value)
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
- Detected in 25 indexed script(s).
- Search this function in the Script Explorer with
RushDuel.CreateCannotActivateEffect.
Script Examples
Elemental Circulation (120263030)
Source: Rush/Scripts/c120263030.lua
lua
end
if Duel.GetFlagEffect(tp,m)~=0 then return end
RD.CreateCannotActivateEffect(e,aux.Stringid(m,2),cm.aclimit,tp,1,0,RESET_PHASE+PHASE_END)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
endPot of Duality (120271002)
Source: Rush/Scripts/c120271002.lua
lua
if Duel.GetFlagEffect(tp,m)~=0 then return end
RD.CreateCannotSpecialSummonEffect(e,aux.Stringid(m,1),nil,tp,1,0,RESET_PHASE+PHASE_END)
RD.CreateCannotActivateEffect(e,aux.Stringid(m,2),cm.aclimit,tp,1,0,RESET_PHASE+PHASE_END)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
endEmber the Ultra Assistant (120283035)
Source: Rush/Scripts/c120283035.lua
lua
end
if Duel.GetFlagEffect(tp,m)~=0 then return end
RD.CreateCannotActivateEffect(e,aux.Stringid(m,2),cm.aclimit,tp,1,0,RESET_PHASE+PHASE_END)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
end