Skip to content

RushDuel.AttachCannotTrigger ​

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

Signature ​

lua
RushDuel.AttachCannotTrigger(any e, any card, 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.
  • 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:194

lua
function RushDuel.AttachCannotTrigger(e, card, desc, reset, forced)
    return RushDuel.CreateSingleEffect(e, desc, card, EFFECT_CANNOT_TRIGGER, nil, reset, forced)
end

Used By ​

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

  • Detected in 15 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.AttachCannotTrigger.
CardIDScriptDetected Calls
Invitation to a Delirious Dream120261066Rush/Scripts/c120261066.lua1
Reshef the Dark Being120306069Rush/Scripts/c120306069.lua1
Healthie Tigasati120306042Rush/Scripts/c120306042.lua1
Lovely Sanctuary120260052Rush/Scripts/c120260052.lua1
King's Authority120254088Rush/Scripts/c120254088.lua1
Raging Rock120246072Rush/Scripts/c120246072.lua1
Spirit of Isyria120300061Rush/Scripts/c120300061.lua1
Yabume the Frost-Purifying Purebreed120298045Rush/Scripts/c120298045.lua1
Magma Dragon120109064Rush/Scripts/c120109064.lua1
Metarion Medustar120271018Rush/Scripts/c120271018.lua1
Brain Control120307003Rush/Scripts/c120307003.lua1
Thunderbeetle Crash120306007Rush/Scripts/c120306007.lua1
The Chop120294061Rush/Scripts/c120294061.lua1
Criatura Brazo120291005Rush/Scripts/c120291005.lua1
Ultimate Flag Beast Boltricorn120246013Rush/Scripts/c120246013.lua1

Script Examples ​

Invitation to a Delirious Dream (120261066) ​

Source: Rush/Scripts/c120261066.lua

lua
		if Duel.GetControl(tc,tp)~=0 then
			RD.AttachCannotAttack(e,tc,aux.Stringid(m,1),RESET_EVENT+RESETS_STANDARD)
			RD.AttachCannotTrigger(e,tc,aux.Stringid(m,2),RESET_EVENT+RESETS_STANDARD)
		end
	end)

Reshef the Dark Being (120306069) ​

Source: Rush/Scripts/c120306069.lua

lua
		local tc=g:GetFirst()
		if Duel.GetControl(tc,tp,PHASE_END,1)~=0 then
			RD.AttachCannotTrigger(e,tc,aux.Stringid(m,1),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
		end
	end)

Healthie Tigasati (120306042) ​

Source: Rush/Scripts/c120306042.lua

lua
				g:ForEach(function(tc)
					RD.AttachAtkDef(e,tc,400,0,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
					RD.AttachCannotTrigger(e,tc,aux.Stringid(m,1),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
				end)
			end