Commit d7565f31 authored by wyykak's avatar wyykak

fix some 2-mat hana fusion monsters that can't be spsummoned by 26215

parent 969b6d9e
Pipeline #8152 passed with stage
in 36 seconds
...@@ -26,6 +26,10 @@ function c74563023.initial_effect(c) ...@@ -26,6 +26,10 @@ function c74563023.initial_effect(c)
e1:SetOperation(c74563023.spop1) e1:SetOperation(c74563023.spop1)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c74563023.hana_mat={
aux.FilterBoolFunction(Card.IsFusionSetCard,0x111),
aux.FilterBoolFunction(Card.IsFusionSetCard,0x811),
}
function c74563023.recon(e, c) function c74563023.recon(e, c)
return e:GetHandler():GetSummonType() == SUMMON_TYPE_FUSION return e:GetHandler():GetSummonType() == SUMMON_TYPE_FUSION
end end
......
...@@ -43,6 +43,10 @@ function c78900101.initial_effect(c) ...@@ -43,6 +43,10 @@ function c78900101.initial_effect(c)
e3:SetValue(c78900101.indct) e3:SetValue(c78900101.indct)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c78900101.hana_mat={
aux.FilterBoolFunction(Card.IsFusionCode,11004),
aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),
}
function c78900101.IsJuXing(c) function c78900101.IsJuXing(c)
local m=_G["c"..c:GetCode()] local m=_G["c"..c:GetCode()]
return m and m.named_with_JuXing return m and m.named_with_JuXing
......
...@@ -10,7 +10,10 @@ function M.initial_effect(c) ...@@ -10,7 +10,10 @@ function M.initial_effect(c)
M.addCommonEff(c) M.addCommonEff(c)
end end
M.hana_mat={
aux.FilterBoolFunction(Card.IsFusionSetCard,0xaa6),
aux.FilterBoolFunction(Card.IsFusionSetCard,0x137),
}
function M.addEff1(c) function M.addEff1(c)
local function costfilter(c, tp) local function costfilter(c, tp)
return c:IsType(TYPE_MONSTER) return c:IsType(TYPE_MONSTER)
......
...@@ -12,7 +12,10 @@ function M.initial_effect(c) ...@@ -12,7 +12,10 @@ function M.initial_effect(c)
M.addCommonEff(c) M.addCommonEff(c)
end end
M.hana_mat={
aux.FilterBoolFunction(Card.IsFusionSetCard,0xaa6),
aux.FilterBoolFunction(Card.IsFusionSetCard,0x713),
}
function M.addEff1(c) function M.addEff1(c)
local function con(e,tp,eg,ep,ev,re,r,rp) local function con(e,tp,eg,ep,ev,re,r,rp)
return ep == tp return ep == tp
......
...@@ -12,7 +12,10 @@ function M.initial_effect(c) ...@@ -12,7 +12,10 @@ function M.initial_effect(c)
M.addCommonEff(c) M.addCommonEff(c)
end end
M.hana_mat={
aux.FilterBoolFunction(Card.IsFusionSetCard,0xaa6),
aux.FilterBoolFunction(Card.IsFusionSetCard,0x3208),
}
function M.addEff1(c) function M.addEff1(c)
local function filter(c, tp) local function filter(c, tp)
return c:IsLocation(LOCATION_MZONE) and c:IsFaceup() return c:IsLocation(LOCATION_MZONE) and c:IsFaceup()
......
...@@ -12,7 +12,10 @@ function M.initial_effect(c) ...@@ -12,7 +12,10 @@ function M.initial_effect(c)
M.addCommonEff(c) M.addCommonEff(c)
end end
M.hana_mat={
aux.FilterBoolFunction(Card.IsFusionSetCard,0xaa6),
aux.FilterBoolFunction(Card.IsFusionSetCard,0x229),
}
function M.addEff1(c) function M.addEff1(c)
function filter(c, tp) function filter(c, tp)
return c:IsPreviousLocation(LOCATION_HAND) and c:IsType(TYPE_MONSTER) and c:GetPreviousControler() == tp return c:IsPreviousLocation(LOCATION_HAND) and c:IsType(TYPE_MONSTER) and c:GetPreviousControler() == tp
......
...@@ -12,7 +12,10 @@ function M.initial_effect(c) ...@@ -12,7 +12,10 @@ function M.initial_effect(c)
M.addCommonEff(c) M.addCommonEff(c)
end end
M.hana_mat={
aux.FilterBoolFunction(Card.IsFusionSetCard,0xaa6),
aux.FilterBoolFunction(Card.IsFusionSetCard,0x514a),
}
function M.addEff1(c) function M.addEff1(c)
local function filter(c, e, tp, mg) local function filter(c, e, tp, mg)
local chkf = Duel.GetLocationCountFromEx(tp, tp, mg, c) > 0 and PLAYER_NONE or tp local chkf = Duel.GetLocationCountFromEx(tp, tp, mg, c) > 0 and PLAYER_NONE or tp
......
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