Skip to content

RushDuel.ValueDoubleTributeLvAttrRace ​

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

Signature ​

lua
RushDuel.ValueDoubleTributeLvAttrRace(any level, any attribute, any race, any ignore) -> any

Description ​

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

Upstream source comment ​

text
效果值: 双重解放 等级/属性/种族

Parameters ​

  • level any: Type and behavior are not yet reviewed; see the source.
  • attribute any: Type and behavior are not yet reviewed; see the source.
  • race any: Type and behavior are not yet reviewed; see the source.
  • ignore 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/RDValue.lua:73

lua
function RushDuel.ValueDoubleTributeLvAttrRace(level, attribute, race, ignore)
    return RushDuel.ValueDoubleTributeMix(ignore, nil, attribute, nil, level, race, nil, nil)
end

Used By ​

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

  • Detected in 2 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.ValueDoubleTributeLvAttrRace.
CardIDScriptDetected Calls
Darkness Doom Giant120253035Rush/Scripts/c120253035.lua1
Double Twin Dragon120231051Rush/Scripts/c120231051.lua1

Script Examples ​

Darkness Doom Giant (120253035) ​

Source: Rush/Scripts/c120253035.lua

lua
end
--To Hand
cm.trival=RD.ValueDoubleTributeLvAttrRace(8,nil,RACE_GALAXY)
function cm.thfilter(c)
	return ((c:IsLevel(7,8) and c:IsRace(RACE_GALAXY)) or c:IsCode(list[2])) and c:IsAbleToHand()

Double Twin Dragon (120231051) ​

Source: Rush/Scripts/c120231051.lua

lua
end
--Extra Tribute
cm.trival=RD.ValueDoubleTributeLvAttrRace(7,nil,RACE_DRAGON)
function cm.costfilter(c)
	return c:IsType(TYPE_MONSTER) and c:IsAbleToDeckOrExtraAsCost()