Commit cf75377f authored by salix5's avatar salix5

add s.fusion_effect

parent 2f122eea
......@@ -32,6 +32,7 @@ function s.initial_effect(c)
e3:SetOperation(s.attop)
c:RegisterEffect(e3)
end
s.fusion_effect=true
function s.fscon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2
end
......
......@@ -36,6 +36,7 @@ function s.initial_effect(c)
e3:SetOperation(s.atkop)
c:RegisterEffect(e3)
end
s.fusion_effect=true
function s.costfilter(c)
return c:IsRace(RACE_DRAGON) and c:IsLevel(8) and c:IsAbleToRemoveAsCost()
end
......
......@@ -25,6 +25,7 @@ function s.initial_effect(c)
e2:SetOperation(s.eqop)
c:RegisterEffect(e2)
end
s.fusion_effect=true
function s.lcheck(g)
return g:IsExists(s.mfilter,1,nil)
end
......
......@@ -49,6 +49,7 @@ function s.initial_effect(c)
e4:SetOperation(s.tgop)
c:RegisterEffect(e4)
end
s.fusion_effect=true
function s.cfilter(c,tp)
return c:IsPreviousControler(tp) and not c:IsPreviousLocation(LOCATION_SZONE)
and (c:IsPreviousLocation(LOCATION_MZONE) or c:GetOriginalType()&TYPE_MONSTER~=0)
......
......@@ -35,6 +35,7 @@ function s.initial_effect(c)
e3:SetOperation(s.atkop)
c:RegisterEffect(e3)
end
s.fusion_effect=true
function s.costfilter(c)
return c:IsRace(RACE_DRAGON) and c:IsLevel(8) and c:IsAbleToRemoveAsCost()
end
......
......@@ -24,6 +24,7 @@ function s.initial_effect(c)
e2:SetOperation(s.spop)
c:RegisterEffect(e2)
end
s.fusion_effect=true
function s.filter(c)
return c:IsRace(RACE_FIEND) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsAbleToHand()
end
......
......@@ -23,6 +23,7 @@ function s.initial_effect(c)
e2:SetOperation(s.fsop)
c:RegisterEffect(e2)
end
s.fusion_effect=true
function s.tgfilter(c)
return c:IsAttribute(ATTRIBUTE_DARK) and c:IsRace(RACE_PYRO) and c:IsAbleToGrave()
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