Skip to content

Auxiliary.AddBanishRedirect ​

Signature ​

lua
Auxiliary.AddBanishRedirect(Card c, [function condition]) -> void

Description ​

Registers an EFFECT_LEAVE_FIELD_REDIRECT effect that banishes c when condition is true, defaulting to face-up c.

Parameters ​

  • c Card
  • condition function optional - default: face-up condition

Source ​

  • Utilities/utility.lua:1937

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 10 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.AddBanishRedirect.
CardIDScriptDetected Calls
Floowandereeze & Toccan17827173Scripts/c17827173.lua1
Exodius the Ultimate Forbidden Lord13893596Scripts/c13893596.lua1
Floowandereeze & Stri80433039Scripts/c80433039.lua1
Shell of Chaos77312273Scripts/c77312273.lua1
Core of Chaos3806388Scripts/c3806388.lua1
Dark Magician of Chaos40737112Scripts/c40737112.lua1
Floowandereeze & Eglen54334420Scripts/c54334420.lua1
Floowandereeze & Robina18940725Scripts/c18940725.lua1
Anchamoufrite52296675Scripts/c52296675.lua1
Cockadoodledoo42338879Scripts/c42338879.lua1

Script Examples ​

Floowandereeze & Toccan (17827173) ​

Source: Scripts/c17827173.lua

lua
	c:RegisterEffect(e1)
	--redirect
	aux.AddBanishRedirect(c)
	--to hand(self)
	local e3=Effect.CreateEffect(c)

Exodius the Ultimate Forbidden Lord (13893596) ​

Source: Scripts/c13893596.lua

lua
	c:RegisterEffect(e4)
	--redirect
	aux.AddBanishRedirect(c)
end
function c13893596.cfilter(c)

Floowandereeze & Stri (80433039) ​

Source: Scripts/c80433039.lua

lua
	c:RegisterEffect(e1)
	--redirect
	aux.AddBanishRedirect(c)
	--to hand(self)
	local e3=Effect.CreateEffect(c)