Skip to content

RushDuel.IsCanAttachDoubleTribute ​

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

Signature ​

lua
RushDuel.IsCanAttachDoubleTribute(any card, 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.
  • 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:277

lua
function RushDuel.IsCanAttachDoubleTribute(card, value)
    if Duel.IsPlayerAffectedByEffect(card:GetControler(), EFFECT_CANNOT_DOUBLE_TRIBUTE) then
        return false
    end
    if card:IsHasEffect(EFFECT_UNRELEASABLE_SUM) then
        return false
    end
    local values = RushDuel.GetEffectValues(card, EFFECT_DOUBLE_TRIBUTE)
    return RushDuel.CheckValueDoubleTribute(values, value)
end

Used By ​

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

  • Detected in 13 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.IsCanAttachDoubleTribute.
CardIDScriptDetected Calls
Voidalfr Antromeda120300005Rush/Scripts/c120300005.lua1
Spark Voltegg120246006Rush/Scripts/c120246006.lua1
Civil Twirider120304004Rush/Scripts/c120304004.lua1
Bluegrass Stealer120228022Rush/Scripts/c120228022.lua1
Excutie Power Up!120208052Rush/Scripts/c120208052.lua1
Double Twin Dragon120231051Rush/Scripts/c120231051.lua1
Royal Rebel's Guardian120254078Rush/Scripts/c120254078.lua1
Delirium Teega120300025Rush/Scripts/c120300025.lua1
Voidvelg Globule120227015Rush/Scripts/c120227015.lua1
Dododo Second120199025Rush/Scripts/c120199025.lua1
Ultimate Flag Beast Surge Bicorn120181011Rush/Scripts/c120181011.lua1
Blasting Bird120170033Rush/Scripts/c120170033.lua1
Card 120135002120135002Rush/Scripts/c120135002.lua1

Script Examples ​

Voidalfr Antromeda (120300005) ​

Source: Rush/Scripts/c120300005.lua

lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
	return RD.IsCanAttachDoubleTribute(e:GetHandler(),cm.trival)
end
cm.cost=RD.CostSendDeckTopToGrave(1)

Spark Voltegg (120246006) ​

Source: Rush/Scripts/c120246006.lua

lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
	return RD.IsCanAttachDoubleTribute(e:GetHandler(),cm.trival)
end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,1,1)

Civil Twirider (120304004) ​

Source: Rush/Scripts/c120304004.lua

lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
	return RD.IsCanAttachDoubleTribute(e:GetHandler(),cm.trival)
end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,2,2)