Fusion.SummonEffOP
Source Code | Usage Examples | Fusion Functions
Creates an EffectOperation to be executed by a Fusion Summon effect.
Signature
Fusion.SummonEffOP([FusionMonsterFilter fusfilter, FusionMaterialFilter matfilter = Card.IsAbleToGrave, FusionExtraMaterial extrafil = nil, FusionMaterialOperation extraop = nil, Card|Group|FusionMandatoryMaterial gc = nil, FusionStage2 stage2 = nil, int exactcount, int sum_type = SUMMON_TYPE_FUSION|MATERIAL_FUSION, int location = LOCATION_EXTRA, int chkf = chkf and chkf|tp or tp, int desc = 1170, function preselect = nil, bool nosummoncheck = false, EffectTarget extratg = false, int mincount = nil, int maxcount = nil, int sumpos = POS_FACEUP]) → EffectOperation
Fusion.SummonEffOP(fusfilter,matfilter,extrafil,extraop,gc,stage2,exactcount,sum_type,location,chkf,desc,preselect,nosummoncheck,extratg,mincount,maxcount,sumpos)Parameters
FusionMonsterFilter
fusfilterOptional.
A filter that must return
truefor the monster to be Fusion Summoned, along with the default Fusion mechanic checks.FusionMaterialFilter
matfilterOptional. Defaults to
Card.IsAbleToGrave.A filter that must return
truefor the candidate materials.FusionExtraMaterial
extrafilOptional. Defaults to
nil.A function that returns an additional group of materials.
FusionMaterialOperation
extraopOptional. Defaults to
nil.A function to perform on the Fusion materials.
Card|Group|FusionMandatoryMaterial
gcOptional. Defaults to
nil.Card(s) that must be used as materials.
FusionStage2
stage2Optional. Defaults to
nil.A function to perform after the summon.
int
exactcountOptional.
The exact number of materials that must be used (e.g. Ostinato)
int
sum_typeOptional. Defaults to
SUMMON_TYPE_FUSION|MATERIAL_FUSION.The summon type that will be use for the summon.
int
locationOptional. Defaults to
LOCATION_EXTRA.The location the monsters can be summoned from.
int
chkfOptional. Defaults to
chkf and chkf|tp or tp.A FusionProcFlag to be used for the Fusion Summon.
int
descOptional. Defaults to
1170.An integer pointing to a string for the effect's description.
function
preselectOptional. Defaults to
nil.A function to perform before Fusion Summoning a selected monster. If this function is provided, the Fusion Summon can not be cancelled.
bool
nosummoncheckOptional. Defaults to
false.If true, the monster does not need to be Special Summonable in its current state.
EffectTarget
extratgOptional. Defaults to
false.Additional target function that will be executed when activating the effect. Useful when extra operation info must be set.
int
mincountOptional. Defaults to
nil.The minimum number of materials that must be used.
int
maxcountOptional. Defaults to
nil.The maximum number of materials that can be used.
int
sumposOptional. Defaults to
POS_FACEUP.The monster's summoning position.
Returns
EffectOperation
The resulting Fusion Summon operation function.