Skip to content

Auxiliary.AddNormalSetProcedure

Source Code | Auxiliary Functions

Adds a procedure to a monster that can be Normal Summoned/Set. (Card c) is the card receiving the effect. If both (bool ns) and (bool opt) are set to true, the effect is created with code EFFECT_SET_PROC, otherwise EFFECT_LIMIT_SET_PROC is used. (int min) and (int max) are the number of tributes to use. (int sum_type) is the type of the summon and defaults to SUMMON_TYPE_TRIBUTE. (string desc) is the description used when the player attempts the summon (usable via aux.Stringid). (function f) is a function that must be fulfilled by the tributes and (function sumop) is a special function that must be executed with the tributes

Signature

Auxiliary.AddNormalSetProcedure(Card c, bool ns, bool opt, int min, int max, int sum_type_val, string desc, function f, function sumop) → effect

lua
Auxiliary.AddNormalSetProcedure(c,ns,opt,min,max,sum_type_val,desc,f,sumop)

Parameters

Returns

  • effect

    (To be added)


under-construction