Skip to content

Ritual.CreateProc

Source Code | Ritual Functions

Creates an effect that performs a Ritual Summon. c is the card generating the effect, int _type is either RITPROC_EQUAL or RITPROC_GREATER, function filter defines the monsters can be summoned, int lv is the level of the monster(s) that must be tributed (but can be a function like GetLevel/GetOriginalLevel, a fixed level, or nil, in which case it defaults to to GetLevel), string desc is the description that will be used for that effect, function extrafil must return an extra Group that can also be used as tributed, function extraop is a custom operation to perform on the tributes (shuffle into the deck, banish,etc), function matfilter is ... . Supports named arguments for all parameters (See Revendread Evolution)

Signature

Ritual.CreateProc(Card c, int _type, function filter, int lv, string desc, function extrafil, function extraop, function matfilter, function stage2, int location, Group forcedselection, function customoperation, function specificmatfilter) → effect

lua
Ritual.CreateProc(c,_type,filter,lv,desc,extrafil,extraop,matfilter,stage2,location,forcedselection,customoperation,specificmatfilter)

Parameters

Returns

  • effect

    (To be added)


under-construction