Skip to content

aux.AddPersistentProcedure

Source Code | Usage Examples | aux Functions

Adds the Persistent Trap Procedure where is the player, setting 0 will limit to monsters you control, setting to 1 will be your opponent and PLAYER_ALL/nil will be for either player. (function f) is the filters on which monsters you can target. (bool anypos) is a check if the target needs to be face-up. Setting this to true will allow it to be targeted even if it isn't face-up.

Signature

aux.AddPersistentProcedure(Card c, int|nil p, function|nil f, int|nil category, int|nil property, int|nil hint1, int|nil hint2, function|nil con, function|nil cost, function|nil tg, function|nil op, bool|nil anypos) → nil

lua
aux.AddPersistentProcedure(c,p,f,category,property,hint1,hint2,con,cost,tg,op,anypos)

Parameters


under-construction