RushDuel.GetDeckBottomGroup
Alias: RD.GetDeckBottomGroup. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.GetDeckBottomGroup(any player, any count) -> anyDescription
Rush Duel helper declared in RDFunction.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.
Upstream source comment
text
获取卡组底的N张卡Parameters
playerany: Type and behavior are not yet reviewed; see the source.countany: 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/RDFunction.lua:152
lua
function RushDuel.GetDeckBottomGroup(player, count)
local dg = Duel.GetFieldGroup(player, LOCATION_DECK, 0)
local ct = #dg
if (count < ct) then
local top = Duel.GetDecktopGroup(player, ct - count)
dg:Sub(top)
end
return dg
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
No indexed local card script currently calls this function.
This can mean the function is unused in the current script set, is only called through an alias, or is available for future/manual scripts.