Commit b6df92fc authored by TanakaKotoha's avatar TanakaKotoha

fix

parent df67f844
expansions/pics/81046014.jpg

66.7 KB | W: | H:

expansions/pics/81046014.jpg

108 KB | W: | H:

expansions/pics/81046014.jpg
expansions/pics/81046014.jpg
expansions/pics/81046014.jpg
expansions/pics/81046014.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -61,9 +61,9 @@ function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
while tc do
if ep~=1-tp then
Duel.RegisterFlagEffect(tp,m+100,RESET_EVENT+PHASE_END,0,1)
Duel.RegisterFlagEffect(tp,m+100,RESET_PHASE+PHASE_END,0,1)
end
tc=eg:GetNext()
tc=eg:GetNext()
end
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -119,7 +119,7 @@ end
function cm.spop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if eg then
if Duel.Remove(eg:Filter(cm.ffilter,nil),POS_FACEUP,REASON_EFFECT) ~=0 then
if Duel.Remove(eg:Filter(cm.ffilter,nil),POS_FACEUP,REASON_EFFECT) ~=0 then
Duel.SendtoDeck(c,tp,2,REASON_EFFECT)
c:ReverseInDeck()
end
......
......@@ -5,7 +5,7 @@ Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
c:EnableReviveLimit()
aux.AddCodeList(c,81011011)
aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsFusionType,TYPE_MONSTER),3,false)
aux.AddFusionProcCode3(c,aux.TRUE,aux.TRUE,aux.TRUE,false,false)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -151,7 +151,7 @@ function cm.aclimit(e,re)
return not re:GetHandler():IsCode(m)
end
function cm.lvfilter(c,fc)
return (c:GetSequence()>4 and c:IsRace(RACE_SPELLCASTER)) or c:CheckFusionSubstitute(fc)
return (c:GetSequence()>4 and c:IsRace(RACE_SPELLCASTER) and c:IsLocation(LOCATION_MZONE)) or c:CheckFusionSubstitute(fc)
end
function cm.lvfilter2(c,fc)
return c:IsType(TYPE_FUSION) or c:CheckFusionSubstitute(fc)
......
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