Skip to content

RushDuel.AttachPierce ​

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

Signature ​

lua
RushDuel.AttachPierce(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:22

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

Used By ​

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

  • Detected in 67 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.AttachPierce.
CardIDScriptDetected Calls
Dark Matter Transcend Dragon120272044Rush/Scripts/c120272044.lua1
Transam Scride120109036Rush/Scripts/c120109036.lua1
Super Princess of the Flock - Max Mutton [L]120293007Rush/Scripts/c120293007.lua1
Sevens Road Charmy Witch120260062Rush/Scripts/c120260062.lua1
Steel Mech Lord Mirror Innovator120155015Rush/Scripts/c120155015.lua1
Steel Mech Lord Mirror Innovator120239059Rush/Scripts/c120239059.lua1
Abyssal Sea Dragon Abyss Kraken [R]120239018Rush/Scripts/c120239018.lua1
Divinebreath the Orchestral Music Fiend120247018Rush/Scripts/c120247018.lua1
Roaring Firestorm Volcalize Phoenix120249016Rush/Scripts/c120249016.lua1
Prey Archfiend120304034Rush/Scripts/c120304034.lua1
Mega Jointech Fortrex [L]120249003Rush/Scripts/c120249003.lua1
Transam Lika120109024Rush/Scripts/c120109024.lua1
Dark Matter Freya120261027Rush/Scripts/c120261027.lua1
Dark Matter Requiem120264039Rush/Scripts/c120264039.lua1
Dimension Riletta120309024Rush/Scripts/c120309024.lua1
Einvy the Irreverent120285031Rush/Scripts/c120285031.lua1
Star Replete of the Star Sanctuary120305015Rush/Scripts/c120305015.lua1
Transam Assault Linac120272035Rush/Scripts/c120272035.lua1
Dual Space Yggdrago120260008Rush/Scripts/c120260008.lua1
Hungry Special Coupon120300055Rush/Scripts/c120300055.lua1
Roadstar Gladimagia120272042Rush/Scripts/c120272042.lua1
Alchemicalize Orb120272037Rush/Scripts/c120272037.lua1
Elemental HERO Plasma Vice120300066Rush/Scripts/c120300066.lua1
Soen the Molten Martial Machine120304036Rush/Scripts/c120304036.lua1
...and 43 more

Script Examples ​

Dark Matter Transcend Dragon (120272044) ​

Source: Rush/Scripts/c120272044.lua

lua
	if c:IsFaceup() and c:IsRelateToEffect(e) then
		RD.AttachExtraAttackMonster(e,c,2,aux.Stringid(m,2),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
		RD.AttachPierce(e,c,aux.Stringid(m,3),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
		RD.CanSelectAndSpecialSummon(aux.Stringid(m,4),aux.NecroValleyFilter(cm.spfilter),tp,0,LOCATION_GRAVE,1,3,nil,e,POS_FACEDOWN_DEFENSE,false,1-tp)
	end

Transam Scride (120109036) ​

Source: Rush/Scripts/c120109036.lua

lua
		RD.CanSelectAndDoAction(aux.Stringid(m,1),aux.Stringid(m,2),cm.filter,tp,LOCATION_MZONE,0,1,3,nil,function(g)
			g:ForEach(function(tc)
				RD.AttachPierce(e,tc,aux.Stringid(m,3),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
			end)
			local filter=RD.Filter(cm.posfilter,e,tp)

Super Princess of the Flock - Max Mutton [L] (120293007) ​

Source: Rush/Scripts/c120293007.lua

lua
	if c:IsFaceup() and c:IsRelateToEffect(e) then
		local reset=RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END
		RD.AttachPierce(e,c,aux.Stringid(m,1),reset)
		if RD.IsMaximumMode(c) then
			RD.AttachAtkDef(e,c,1000,0,reset)