Commit a5578101 authored by Vury Leo's avatar Vury Leo

remove core from fusion

parent 27ffa9d1
...@@ -28,7 +28,8 @@ function s.initial_effect(c) ...@@ -28,7 +28,8 @@ function s.initial_effect(c)
local e4=FusionSpell.CreateSummonEffect(c,{ local e4=FusionSpell.CreateSummonEffect(c,{
fusfilter=s.fusfilter, fusfilter=s.fusfilter,
pre_select_mat_location=s.pre_select_mat_location, pre_select_mat_location=s.pre_select_mat_location,
additional_fcheck=s.fcheck additional_fcheck=s.fcheck,
fcheck_signature=s.fcheck_signature,
}) })
e4:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON+CATEGORY_DECKDES) e4:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON+CATEGORY_DECKDES)
e4:SetType(EFFECT_TYPE_IGNITION) e4:SetType(EFFECT_TYPE_IGNITION)
...@@ -72,3 +73,8 @@ function s.fcheck(tp,mg,fc,mg_all) ...@@ -72,3 +73,8 @@ function s.fcheck(tp,mg,fc,mg_all)
end end
return true return true
end end
--- Helper function to speed up select material, for this fusion, only location of the material matters for fcheck
function s.fcheck_signature(mc)
return mc:IsLocation(LOCATION_DECK)
end
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment