Auxiliary.AddBanishRedirect
Signature
lua
Auxiliary.AddBanishRedirect(Card c, [function condition]) -> voidDescription
Registers an EFFECT_LEAVE_FIELD_REDIRECT effect that banishes c when condition is true, defaulting to face-up c.
Parameters
cCardconditionfunctionoptional - 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.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Floowandereeze & Toccan | 17827173 | Scripts/c17827173.lua | 1 |
| Exodius the Ultimate Forbidden Lord | 13893596 | Scripts/c13893596.lua | 1 |
| Floowandereeze & Stri | 80433039 | Scripts/c80433039.lua | 1 |
| Shell of Chaos | 77312273 | Scripts/c77312273.lua | 1 |
| Core of Chaos | 3806388 | Scripts/c3806388.lua | 1 |
| Dark Magician of Chaos | 40737112 | Scripts/c40737112.lua | 1 |
| Floowandereeze & Eglen | 54334420 | Scripts/c54334420.lua | 1 |
| Floowandereeze & Robina | 18940725 | Scripts/c18940725.lua | 1 |
| Anchamoufrite | 52296675 | Scripts/c52296675.lua | 1 |
| Cockadoodledoo | 42338879 | Scripts/c42338879.lua | 1 |
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)