Skip to content

RushDuel.IsCanAttachEffectIndes ​

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

Signature ​

lua
RushDuel.IsCanAttachEffectIndes(any card, any player, any value) -> 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.
  • player any: Type and behavior are not yet reviewed; see the source.
  • value 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:316

lua
function RushDuel.IsCanAttachEffectIndes(card, player, value)
    local effects = RushDuel.GetAttachEffects(card, EFFECT_INDESTRUCTABLE_EFFECT)
    return RushDuel.CheckValueEffectIndesType(player, effects, value)
end

Used By ​

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

  • Detected in 30 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.IsCanAttachEffectIndes.
CardIDScriptDetected Calls
Lufer the Symbol of the Devils120309059Rush/Scripts/c120309059.lua1
Rising Protect120304055Rush/Scripts/c120304055.lua1
Sunset Rebirth120257066Rush/Scripts/c120257066.lua1
Fusionic Defense120257064Rush/Scripts/c120257064.lua1
Sevens Road Protection120217021Rush/Scripts/c120217021.lua1
Voidvelg Kyrie120244006Rush/Scripts/c120244006.lua1
Divinebreath the Orchestral Music Fiend120247018Rush/Scripts/c120247018.lua1
Ultra Evolution Miracle120274051Rush/Scripts/c120274051.lua1
Wish of OuTerverSe the World-Shattering Emperor [L]120293058Rush/Scripts/c120293058.lua1
Dice Key Retra120272008Rush/Scripts/c120272008.lua1
Destined Doom of the Defiant Souls120298016Rush/Scripts/c120298016.lua1
Straynge Magician120109032Rush/Scripts/c120109032.lua1
Ever-Grace Princess Mai120287014Rush/Scripts/c120287014.lua1
Destroyer of Dragon Sorcerers120231049Rush/Scripts/c120231049.lua1
Cyber Gryphon120231025Rush/Scripts/c120231025.lua1
Dynamail Dino Dynamix [R]120274033Rush/Scripts/c120274033.lua1
Meteor Black Drake120253047Rush/Scripts/c120253047.lua1
Tribemirror Dragon120261051Rush/Scripts/c120261051.lua1
Valkyrion the Magna Wings120260024Rush/Scripts/c120260024.lua1
Galactica Oblivion Ark120277008Rush/Scripts/c120277008.lua1
Jinzo - Amplified120257029Rush/Scripts/c120257029.lua1
Ancient Barrier120155040Rush/Scripts/c120155040.lua1
Sevens Chariot120244043Rush/Scripts/c120244043.lua1
Neo Plandish120228035Rush/Scripts/c120228035.lua1
...and 6 more

Script Examples ​

Lufer the Symbol of the Devils (120309059) ​

Source: Rush/Scripts/c120309059.lua

lua
function cm.filter(c)
	return c:IsFaceup() and c:IsAttackBelow(2500)
		and (RD.IsCanAttachEffectIndes(c,tp,cm.indval)
		or RD.IsCanAttachCannotToHandEffect(c,1)
		or RD.IsCanAttachCannotToDeckEffect(c,1))

Rising Protect (120304055) ​

Source: Rush/Scripts/c120304055.lua

lua
end
function cm.exfilter(c,tp)
	return c:IsFaceup() and RD.IsCanAttachEffectIndes(c,tp,cm.indval)
end
function cm.check(g)

Sunset Rebirth (120257066) ​

Source: Rush/Scripts/c120257066.lua

lua
end
function cm.exfilter(c,tp)
	return RD.IsCanAttachEffectIndes(c,tp,cm.indval)
end
function cm.condition1(e,tp,eg,ep,ev,re,r,rp)