Commit a8f2f23e authored by wind2009's avatar wind2009

Fix ジェムナイト・ディスパージョン

parent d216b338
...@@ -5,6 +5,7 @@ function s.initial_effect(c) ...@@ -5,6 +5,7 @@ function s.initial_effect(c)
local e0=FusionSpell.CreateSummonEffect(c,{ local e0=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,
fusion_spell_matfilter=s.fusion_spell_matfilter,
additional_fcheck=s.fcheck additional_fcheck=s.fcheck
}) })
--Activate 1 --Activate 1
...@@ -36,6 +37,14 @@ function s.pre_select_mat_location(tc,tp) ...@@ -36,6 +37,14 @@ function s.pre_select_mat_location(tc,tp)
return location return location
end end
function s.fusion_spell_matfilter(c)
--- materials from deck/extra must be ジェムナイト
if c:IsLocation(LOCATION_DECK|LOCATION_EXTRA) and not c:IsFusionSetCard(0x1047) then
return false
end
return true
end
function s.thfilter(c) function s.thfilter(c)
return c:IsFaceupEx() and c:IsSetCard(0x47) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsFaceupEx() and c:IsSetCard(0x47) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
......
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