Auxiliary.RitualUltimateFilter
Signature
lua
Auxiliary.RitualUltimateFilter(Card c, function|nil filter, Effect e, int tp, Group m1, Group|nil m2, function level_function, string greater_or_equal, bool|nil chk) -> boolDescription
Checks whether c is a valid Ritual Monster that can be Ritual Summoned with the available material groups and the selected Equal or Greater level rule.
Parameters
cCardfilterfunction|nileEffecttpintm1Groupm2Group|nillevel_functionfunctiongreater_or_equalstringchkbool|nil
Returns
bool- true if c can be Ritual Summoned.
Source
Utilities/procedure.lua:1825
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 26 indexed script(s).
- Search this function in the Script Explorer with
Auxiliary.RitualUltimateFilter.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Sonic Tracker | 17888577 | Scripts/c17888577.lua | 2 |
| Gishki Nekromirror | 36982581 | Scripts/c36982581.lua | 2 |
| Secrets of Dark Magic | 59514116 | Scripts/c59514116.lua | 2 |
| Double Interlock | 38129297 | Scripts/c38129297.lua | 2 |
| Magikey Duo | 51510279 | Scripts/c51510279.lua | 1 |
| Blessing of the Voiceless Voice | 39114494 | Scripts/c39114494.lua | 2 |
| Heavy Interlock | 20071842 | Scripts/c20071842.lua | 2 |
| Magikey Maftea | 99426088 | Scripts/c99426088.lua | 2 |
| Nekroz Divinemirror | 50596425 | Scripts/c50596425.lua | 2 |
| Revendread Evolution | 7986397 | Scripts/c7986397.lua | 2 |
| Megalith Phuloch | 8805651 | Scripts/c8805651.lua | 1 |
| Dogmatikaturgy | 42158279 | Scripts/c42158279.lua | 2 |
| Dogmatikalamity | 31002402 | Scripts/c31002402.lua | 2 |
| Megalith Och | 36849933 | Scripts/c36849933.lua | 2 |
| Rise of the Salamangreat | 38784726 | Scripts/c38784726.lua | 2 |
| Megalith Ophiel | 63056220 | Scripts/c63056220.lua | 2 |
| Megalith Hagith | 90444325 | Scripts/c90444325.lua | 2 |
| Fire Formation - Domei | 93754402 | Scripts/c93754402.lua | 1 |
| Archfiend's Usurpation | 82997779 | Scripts/c82997779.lua | 2 |
| High Ritual Art | 36350300 | Scripts/c36350300.lua | 2 |
| Forbidden Arts of the Gishki | 28429121 | Scripts/c28429121.lua | 2 |
| Throne of the Archfiends | 63679166 | Scripts/c63679166.lua | 2 |
| Mitsurugi Ritual | 81560239 | Scripts/c81560239.lua | 4 |
| Odd-Eyes Advent | 16494704 | Scripts/c16494704.lua | 2 |
| ...and 2 more |
Script Examples
Sonic Tracker (17888577)
Source: Scripts/c17888577.lua
lua
if chk==0 then
local mg=Duel.GetRitualMaterial(tp)
return Duel.IsExistingMatchingCard(aux.RitualUltimateFilter,tp,LOCATION_HAND,0,1,nil,c17888577.filter,e,tp,mg,nil,Card.GetLevel,"Greater")
end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND)Gishki Nekromirror (36982581)
Source: Scripts/c36982581.lua
lua
local mg1=Duel.GetRitualMaterial(tp)
local mg2=Duel.GetReleaseGroup(1-tp,false,REASON_EFFECT):Filter(c36982581.cfilter,nil,e,1-tp)
return Duel.IsExistingMatchingCard(aux.RitualUltimateFilter,tp,LOCATION_HAND,0,1,nil,c36982581.rfilter1,e,tp,mg1,nil,Card.GetLevel,"Equal")
or (mg2:GetCount()>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c36982581.rfilter2,tp,LOCATION_HAND,0,1,nil,e,tp))Secrets of Dark Magic (59514116)
Source: Scripts/c59514116.lua
lua
aux.RCheckAdditional=c59514116.rcheck
local res2=mg3:IsExists(Card.IsCode,1,nil,46986414,38033121)
and Duel.IsExistingMatchingCard(aux.RitualUltimateFilter,tp,LOCATION_HAND,0,1,nil,aux.TRUE,e,tp,mg3,nil,Card.GetLevel,"Greater")
aux.RCheckAdditional=nil
if chk==0 then return res1 or res2 end