Commit da69f53b authored by VanillaSalt's avatar VanillaSalt

fix

parent b9a9560d
...@@ -42,7 +42,7 @@ function c27346636.spfilter1(c,tp) ...@@ -42,7 +42,7 @@ function c27346636.spfilter1(c,tp)
and Duel.IsExistingMatchingCard(c27346636.spfilter2,tp,LOCATION_MZONE,0,2,c) and Duel.IsExistingMatchingCard(c27346636.spfilter2,tp,LOCATION_MZONE,0,2,c)
end end
function c27346636.spfilter2(c) function c27346636.spfilter2(c)
return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial(true) and c:IsAbleToDeckOrExtraAsCost() return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial() and c:IsAbleToDeckOrExtraAsCost()
end end
function c27346636.sprcon(e,c) function c27346636.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -52,7 +52,7 @@ function c29357956.splimit(e,se,sp,st) ...@@ -52,7 +52,7 @@ function c29357956.splimit(e,se,sp,st)
return e:GetHandler():GetLocation()~=LOCATION_EXTRA return e:GetHandler():GetLocation()~=LOCATION_EXTRA
end end
function c29357956.spfilter(c) function c29357956.spfilter(c)
return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial(true) and c:IsAbleToDeckOrExtraAsCost() return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial() and c:IsAbleToDeckOrExtraAsCost()
end end
function c29357956.sprcon(e,c) function c29357956.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -26,7 +26,7 @@ function c30127518.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -26,7 +26,7 @@ function c30127518.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=g1:GetFirst() local tc=g1:GetFirst()
while tc do while tc do
if tc:IsLocation(LOCATION_GRAVE) then if tc:IsLocation(LOCATION_GRAVE) then
local fg=Duel.GetMatchingGroup(Card.IsCode,tp,0,LOCATION_DECK+LOCATION_EXTRA+LOCATION_HAND,nil,tc:GetCode()) local fg=Duel.GetMatchingGroup(Card.IsCode,tp,0,LOCATION_DECK+LOCATION_HAND,nil,tc:GetCode())
exg:Merge(fg) exg:Merge(fg)
end end
tc=g1:GetNext() tc=g1:GetNext()
......
--ݥޥߩ` --ポイズンマミー
function c43716289.initial_effect(c) function c43716289.initial_effect(c)
--flip --flip
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -50,7 +50,7 @@ function c48156348.spfilter1(c,tp) ...@@ -50,7 +50,7 @@ function c48156348.spfilter1(c,tp)
and Duel.IsExistingMatchingCard(c48156348.spfilter2,tp,LOCATION_MZONE,0,1,c) and Duel.IsExistingMatchingCard(c48156348.spfilter2,tp,LOCATION_MZONE,0,1,c)
end end
function c48156348.spfilter2(c) function c48156348.spfilter2(c)
return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial(true) and c:IsAbleToDeckOrExtraAsCost() return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial() and c:IsAbleToDeckOrExtraAsCost()
end end
function c48156348.sprcon(e,c) function c48156348.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -26,7 +26,7 @@ function c72896720.descost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -26,7 +26,7 @@ function c72896720.descost(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_OATH) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_ATTACK) e1:SetCode(EFFECT_CANNOT_ATTACK)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
e:GetHandler():RegisterEffect(e1,true) e:GetHandler():RegisterEffect(e1,true)
end end
function c72896720.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c72896720.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
...@@ -24,7 +24,7 @@ function c73285669.splimit(e,se,sp,st) ...@@ -24,7 +24,7 @@ function c73285669.splimit(e,se,sp,st)
return e:GetHandler():GetLocation()~=LOCATION_EXTRA return e:GetHandler():GetLocation()~=LOCATION_EXTRA
end end
function c73285669.spfilter(c) function c73285669.spfilter(c)
return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial(true) and c:IsAbleToDeckOrExtraAsCost() return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial() and c:IsAbleToDeckOrExtraAsCost()
end end
function c73285669.sprcon(e,c) function c73285669.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -51,7 +51,7 @@ function c90957527.spfilter1(c,tp) ...@@ -51,7 +51,7 @@ function c90957527.spfilter1(c,tp)
and Duel.IsExistingMatchingCard(c90957527.spfilter2,tp,LOCATION_MZONE,0,1,c) and Duel.IsExistingMatchingCard(c90957527.spfilter2,tp,LOCATION_MZONE,0,1,c)
end end
function c90957527.spfilter2(c) function c90957527.spfilter2(c)
return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial(true) and c:IsAbleToDeckOrExtraAsCost() return c:IsSetCard(0x19) and c:IsCanBeFusionMaterial() and c:IsAbleToDeckOrExtraAsCost()
end end
function c90957527.sprcon(e,c) function c90957527.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -31,6 +31,7 @@ function c96598015.splimit(e,c,sump,sumtype,sumpos,targetp,se) ...@@ -31,6 +31,7 @@ function c96598015.splimit(e,c,sump,sumtype,sumpos,targetp,se)
end end
function c96598015.filter(c) function c96598015.filter(c)
return c:IsType(TYPE_PENDULUM) and (c:IsLocation(LOCATION_GRAVE) or c:IsFaceup()) and c:IsAbleToDeck() return c:IsType(TYPE_PENDULUM) and (c:IsLocation(LOCATION_GRAVE) or c:IsFaceup()) and c:IsAbleToDeck()
and not c:IsHasEffect(EFFECT_NECRO_VALLEY)
end end
function c96598015.target(e,tp,eg,ep,ev,re,r,rp,chk) function c96598015.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,2) if chk==0 then return Duel.IsPlayerCanDraw(tp,2)
......
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