Skip to content

RushDuel.AttachCannotToHandEffect ​

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

Signature ​

lua
RushDuel.AttachCannotToHandEffect(any e, any card, any value, any desc, any reset, any forced) -> any

Description ​

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

Upstream source comment ​

text
赋予: 不会因效果回到手卡

Parameters ​

  • e any: Type and behavior are not yet reviewed; see the source.
  • card any: Type and behavior are not yet reviewed; see the source.
  • value any: Type and behavior are not yet reviewed; see the source.
  • desc any: Type and behavior are not yet reviewed; see the source.
  • reset any: Type and behavior are not yet reviewed; see the source.
  • forced 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/RDAttach.lua:91

lua
function RushDuel.AttachCannotToHandEffect(e, card, value, desc, reset, forced)
    return RushDuel.CreateSingleEffect(e, desc, card, EFFECT_CANNOT_TO_HAND_EFFECT, value, reset, forced)
end

Used By ​

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

  • Detected in 1 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.AttachCannotToHandEffect.
CardIDScriptDetected Calls
Lufer the Symbol of the Devils120309059Rush/Scripts/c120309059.lua1

Script Examples ​

Lufer the Symbol of the Devils (120309059) ​

Source: Rush/Scripts/c120309059.lua

lua
		g:ForEach(function(tc)
			RD.AttachEffectIndes(e,tc,cm.indval,aux.Stringid(m,2),reset)
			RD.AttachCannotToHandEffect(e,tc,1,aux.Stringid(m,3),reset)
			RD.AttachCannotToDeckEffect(e,tc,1,aux.Stringid(m,4),reset)
		end)