Skip to content

RushDuel.IsAbleToHandOrSpecialSummon ​

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

Signature ​

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

lua
function RushDuel.IsAbleToHandOrSpecialSummon(card, effect, player, position)
    return card:IsAbleToHand() or (Duel.GetLocationCount(player, LOCATION_MZONE) > 0 and RushDuel.IsCanBeSpecialSummoned(card, effect, player, position))
end

Used By ​

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

  • Detected in 6 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.IsAbleToHandOrSpecialSummon.
CardIDScriptDetected Calls
Bone Spine Whip120277064Rush/Scripts/c120277064.lua1
Hydro Blaster Mini Bluefin120253017Rush/Scripts/c120253017.lua1
Geefor the Defiant Soul120298006Rush/Scripts/c120298006.lua1
Hack for the Intel120290059Rush/Scripts/c120290059.lua1
Blaze Fiend Overlord Luciless120254036Rush/Scripts/c120254036.lua1
Wooly Wonderland Fluffy120293018Rush/Scripts/c120293018.lua1

Script Examples ​

Bone Spine Whip (120277064) ​

Source: Rush/Scripts/c120277064.lua

lua
function cm.filter(c,e,tp)
	return c:IsLevelBelow(5) and c:IsRace(RACE_ZOMBIE)
		and RD.IsAbleToHandOrSpecialSummon(c,e,tp,POS_FACEUP)
end
function cm.exfilter(c)

Hydro Blaster Mini Bluefin (120253017) ​

Source: Rush/Scripts/c120253017.lua

lua
end
function cm.exfilter(c,e,tp)
	return c:IsCode(list[1]) and RD.IsAbleToHandOrSpecialSummon(c,e,tp,POS_FACEUP)
end
cm.cost=RD.CostSendDeckTopToGrave(1)

Geefor the Defiant Soul (120298006) ​

Source: Rush/Scripts/c120298006.lua

lua
function cm.exfilter(c,e,tp)
	return c:IsLevel(5) and c:IsCode(list[1])
		and RD.IsAbleToHandOrSpecialSummon(c,e,tp,POS_FACEUP)
end
cm.cost=RD.CostSendDeckTopToGrave(1)