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
aux.AddPersistentProcedure(c,p,f,category,property,hint1,hint2,con,cost,tg,op,anypos)Parameters
Card
c(To be added)
int|nil
p(To be added)
function|nil
f(To be added)
int|nil
category(To be added)
int|nil
property(To be added)
int|nil
hint1(To be added)
int|nil
hint2(To be added)
function|nil
con(To be added)
function|nil
cost(To be added)
function|nil
tg(To be added)
function|nil
op(To be added)
bool|nil
anypos(To be added)