Commit 20a85a68 authored by Nemo Ma's avatar Nemo Ma

fix

parent d321160c
......@@ -36,7 +36,7 @@ function c113398100.cfilter(c)
return c:IsRace(RACE_SPELLCASTER) and (c:IsLocation(LOCATION_GRAVE) or c:IsFaceup())
end
function c113398100.drcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp and Duel.IsExistingMatchingCard(c113398100.cfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,nil)
return Duel.GetTurnPlayer()==tp --and Duel.IsExistingMatchingCard(c113398100.cfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,nil)
end
function c113398100.filter(c)
return c:IsSetCard(0x306e) and c:GetCode()~=113398100 and c:IsType(TYPE_SPELL) and c:IsAbleToDeck()
......
......@@ -45,11 +45,11 @@ function c114824019.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RegisterFlagEffect(tp,114824019,RESET_CHAIN,0,1)
end
function c114824019.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsSummonable(true,nil) or e:GetHandler():IsMSetable(true,nil) end
if chk==0 then return e:GetHandler():IsSummonable(false,nil) or e:GetHandler():IsMSetable(true,nil) end
Duel.SetOperationInfo(0,CATEGORY_SUMMON,e:GetHandler(),1,0,0)
end
function c114824019.sumop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
Duel.Summon(tp,c,true,nil)
Duel.Summon(tp,c,false,nil)
end
\ No newline at end of file
......@@ -40,6 +40,7 @@ function cm.dfilter(c)
return c:IsFaceup() and c:IsCode(40010230)
end
function cm.actcon(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandlerPlayer()
return Duel.GetFlagEffect(tp,40009560)>0 or Duel.IsExistingMatchingCard(cm.dfilter,tp,LOCATION_MZONE,0,1,nil)
end
function cm.cfilter(c)
......
......@@ -39,6 +39,7 @@ function cm.dfilter(c)
return c:IsFaceup() and c:IsCode(40010230)
end
function cm.actcon(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandlerPlayer()
return Duel.GetFlagEffect(tp,40009560)>0 or Duel.IsExistingMatchingCard(cm.dfilter,tp,LOCATION_MZONE,0,1,nil)
end
function cm.cfilter(c)
......
......@@ -38,6 +38,7 @@ function cm.dfilter(c)
return c:IsFaceup() and c:IsCode(40010230)
end
function cm.actcon(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandlerPlayer()
return Duel.GetFlagEffect(tp,40009560)>0 or Duel.IsExistingMatchingCard(cm.dfilter,tp,LOCATION_MZONE,0,1,nil)
end
function cm.tfilter(c,tp)
......
......@@ -38,7 +38,8 @@ function c72410620.initial_effect(c)
end
function c72410620.spcon(e,c)
if c==nil then return true end
return Duel.GetMatchingGroupCount(nil,c:GetControler(),LOCATION_ONFIELD,LOCATION_ONFIELD,nil)>=7
local g=Duel.GetFieldGroup(0,LOCATION_ONFIELD,LOCATION_ONFIELD)
return #g>=7 and g:FilterCount(Card.IsAbleToGraveAsCost,nil)==#g
end
function c72410620.spop(e,tp,eg,ep,ev,re,r,rp,c)
......
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