Skip to content

RushDuel.IsMaximumMode ​

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

Signature ​

lua
RushDuel.IsMaximumMode(Card card) -> bool

Description ​

Checks that the card is in a Monster Zone, has the Maximum Summon type and still has overlay components. This Card predicate differs from RD.MaximumMode, an Effect condition that checks the Maximum marker.

Parameters ​

  • card Card: Card to inspect.

Returns ​

  • bool: Whether the helper's Maximum-mode test passes.

Source ​

Rush/Utilities/RDCondition.lua:13

lua
function RushDuel.IsMaximumMode(card)
    return card:IsLocation(LOCATION_MZONE) and card:IsSummonType(SUMMON_TYPE_MAXIMUM) and card:GetOverlayCount() > 0
end

Used By ​

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

  • Detected in 40 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.IsMaximumMode.
CardIDScriptDetected Calls
Volcalizing Salamandeus120272039Rush/Scripts/c120272039.lua1
Abyssal Dragon Lord Abyss Poseidra [L]120239013Rush/Scripts/c120239013.lua2
Mega Jointech Fortrex [R]120249005Rush/Scripts/c120249005.lua2
Super Princess of the Flock - Max Mutton [L]120293007Rush/Scripts/c120293007.lua2
Supreme Railartillery Magnum Overlord [L]120239001Rush/Scripts/c120239001.lua2
Abyssal Sea Dragon Abyss Kraken [L]120239016Rush/Scripts/c120239016.lua2
Super Galaxy King Lord of Galactica [L]120254037Rush/Scripts/c120254037.lua1
Roaring Firestorm Volcalize Phoenix [L]120249015Rush/Scripts/c120249015.lua2
Abyssal Sea Dragon Abyss Kraken [R]120239018Rush/Scripts/c120239018.lua2
Mega Jointech Fortrex [L]120249003Rush/Scripts/c120249003.lua1
Reshef the Dark Being120306069Rush/Scripts/c120306069.lua1
Roaring Firestorm Volcalize Phoenix [R]120249017Rush/Scripts/c120249017.lua2
Harpie Lady Sisters120247002Rush/Scripts/c120247002.lua2
Super Princess of the Flock - Max Mutton [R]120293009Rush/Scripts/c120293009.lua2
Shinesteel Ultra Dragon Devastar Okeabyss [L]120239019Rush/Scripts/c120239019.lua2
Supreme Railartillery Magnum Overlord [R]120239003Rush/Scripts/c120239003.lua2
Super Princess of the Flock - Max Mutton120293008Rush/Scripts/c120293008.lua1
Reporter Wars Scoopies [R]120304009Rush/Scripts/c120304009.lua1
Doomblaze Fiend Overlord Despairacion120231008Rush/Scripts/c120231008.lua2
Mobile Deployment Gear Start120272052Rush/Scripts/c120272052.lua1
Volcalize Compound120249048Rush/Scripts/c120249048.lua1
Red-Eyes Maxi-Flare Dragon120274002Rush/Scripts/c120274002.lua1
Freshberry Swimming120264063Rush/Scripts/c120264063.lua1
Dynamail Dino Dynamix [R]120274033Rush/Scripts/c120274033.lua1
...and 16 more

Script Examples ​

Volcalizing Salamandeus (120272039) ​

Source: Rush/Scripts/c120272039.lua

lua
function cm.check(e,c)
	local g=c:GetMaterial()
	if g:IsExists(RD.IsMaximumMode,1,nil) then
		e:GetLabelObject():SetLabel(1)
	else

Abyssal Dragon Lord Abyss Poseidra [L] (120239013) ​

Source: Rush/Scripts/c120239013.lua

lua
	local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_MZONE,nil)
	Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
	if RD.IsMaximumMode(e:GetHandler()) then
		Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
	end

Mega Jointech Fortrex [R] (120249005) ​

Source: Rush/Scripts/c120249005.lua

lua
		and Duel.IsExistingMatchingCard(cm.tdfilter,tp,LOCATION_GRAVE,0,3,nil) end
	Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,6,PLAYER_ALL,LOCATION_GRAVE)
	if RD.IsMaximumMode(e:GetHandler()) then
		Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
	end