Skip to content

RushDuel.IsCanAttachPierce ​

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

Signature ​

lua
RushDuel.IsCanAttachPierce(any card) -> any

Description ​

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

Upstream source comment ​

text
条件: 可否赋予效果 - 贯通

Parameters ​

  • card 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/RDCondition.lua:243

lua
function RushDuel.IsCanAttachPierce(card)
    return RushDuel.IsCanAttack(card) and not RushDuel.IsHasAttachEffect(card, EFFECT_PIERCE)
end

Used By ​

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

  • Detected in 22 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.IsCanAttachPierce.
CardIDScriptDetected Calls
Transam Scride120109036Rush/Scripts/c120109036.lua1
Super Princess of the Flock - Max Mutton [L]120293007Rush/Scripts/c120293007.lua1
Divinebreath the Orchestral Music Fiend120247018Rush/Scripts/c120247018.lua1
Transam Lika120109024Rush/Scripts/c120109024.lua1
Dark Matter Freya120261027Rush/Scripts/c120261027.lua1
Roadstar Gladimagia120272042Rush/Scripts/c120272042.lua1
Alchemicalize Orb120272037Rush/Scripts/c120272037.lua1
Ultimate Flag Beast Cannon Rhino120109008Rush/Scripts/c120109008.lua1
Tribemirror Dragon120261051Rush/Scripts/c120261051.lua1
Swift Gaia the Dragon Champion120257047Rush/Scripts/c120257047.lua1
Clawmeleon120205018Rush/Scripts/c120205018.lua1
Kheiron the Star Knight120170038Rush/Scripts/c120170038.lua1
Meteor Charge120208043Rush/Scripts/c120208043.lua1
Powerful Pierce!!120140012Rush/Scripts/c120140012.lua1
Art Angel Diamond Needle120228013Rush/Scripts/c120228013.lua1
Dark-Eyes Breakstar Cat120235017Rush/Scripts/c120235017.lua1
Prime Tractiger120257005Rush/Scripts/c120257005.lua1
Piercing Samurai120199016Rush/Scripts/c120199016.lua1
Thunder Gazelle120222040Rush/Scripts/c120222040.lua1
Vietor the Prevailing Wind120183036Rush/Scripts/c120183036.lua1
Innocent Lancer120130035Rush/Scripts/c120130035.lua1
Pierce!120120037Rush/Scripts/c120120037.lua1

Script Examples ​

Transam Scride (120109036) ​

Source: Rush/Scripts/c120109036.lua

lua
end
function cm.filter(c)
	return c:IsFaceup() and RD.IsCanAttachPierce(c)
end
function cm.posfilter(c,e,tp)

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

Source: Rush/Scripts/c120293007.lua

lua
cm.indval=RD.ValueEffectIndesType(TYPE_MONSTER+TYPE_SPELL+TYPE_TRAP,TYPE_MONSTER+TYPE_SPELL+TYPE_TRAP)
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
	return Duel.IsAbleToEnterBP() and RD.IsCanAttachPierce(e:GetHandler())
end
cm.cost=RD.CostSendHandToGrave(Card.IsAbleToGraveAsCost,2,2)

Divinebreath the Orchestral Music Fiend (120247018) ​

Source: Rush/Scripts/c120247018.lua

lua
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
	local c=e:GetHandler()
	return RD.IsCanAttachEffectIndes(c,tp,cm.indval) or RD.IsCanAttachPierce(c)
end
cm.cost=RD.CostSendHandToGrave(Card.IsAbleToGraveAsCost,1,3,function(g)