Commit 40833b4e authored by argon.sun's avatar argon.sun

fix

parent d8e4f98e
--岩投げエリア --岩投げエリア
function c14289852.initial_effect(c) function c14289852.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--destroy replace --destroy replace
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
......
...@@ -32,6 +32,7 @@ function c16556849.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -32,6 +32,7 @@ function c16556849.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
end end
function c16556849.op(e,tp,eg,ep,ev,re,r,rp) function c16556849.op(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and c:IsFaceup() and tc:IsFaceup() and tc:IsRelateToEffect(e) if c:IsRelateToEffect(e) and c:IsFaceup() and tc:IsFaceup() and tc:IsRelateToEffect(e)
and tc:GetAttack()>c:GetAttack() then and tc:GetAttack()>c:GetAttack() then
......
...@@ -23,7 +23,7 @@ function c51435705.shcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -23,7 +23,7 @@ function c51435705.shcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_DISCARD+REASON_COST) Duel.SendtoGrave(e:GetHandler(),REASON_DISCARD+REASON_COST)
end end
function c51435705.filter(c) function c51435705.filter(c)
return c:IsSetCard(0x70) and c:GetCode()~=51435705 and c:IsAbleToHand() return c:IsSetCard(0x70) and c:GetCode()~=51435705 and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
and not c:IsHasEffect(EFFECT_NECRO_VALLEY) and not c:IsHasEffect(EFFECT_NECRO_VALLEY)
end end
function c51435705.shtg(e,tp,eg,ep,ev,re,r,rp,chk) function c51435705.shtg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -40,7 +40,7 @@ function c65301952.setcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -40,7 +40,7 @@ function c65301952.setcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.DiscardHand(tp,Card.IsAbleToGraveAsCost,1,1,REASON_COST) Duel.DiscardHand(tp,Card.IsAbleToGraveAsCost,1,1,REASON_COST)
end end
function c65301952.filter(c) function c65301952.filter(c)
return c:IsType(TYPE_SPELL) and c:IsSSetable() return c:IsType(TYPE_SPELL) and not c:IsType(TYPE_FIELD) and c:IsSSetable()
end end
function c65301952.settg(e,tp,eg,ep,ev,re,r,rp,chk) function c65301952.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
......
...@@ -27,9 +27,9 @@ function c86585274.cffilter(c) ...@@ -27,9 +27,9 @@ function c86585274.cffilter(c)
return c:IsSetCard(0x106e) and c:IsType(TYPE_SPELL) and c:IsPublic() return c:IsSetCard(0x106e) and c:IsType(TYPE_SPELL) and c:IsPublic()
end end
function c86585274.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c86585274.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c40213117.cffilter,tp,LOCATION_HAND,0,3,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c86585274.cffilter,tp,LOCATION_HAND,0,3,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local g=Duel.SelectMatchingCard(tp,c40213117.cffilter,tp,LOCATION_HAND,0,3,3,nil) local g=Duel.SelectMatchingCard(tp,c86585274.cffilter,tp,LOCATION_HAND,0,3,3,nil)
g:AddCard(e:GetHandler()) g:AddCard(e:GetHandler())
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
......
...@@ -8,10 +8,10 @@ function c99050989.initial_effect(c) ...@@ -8,10 +8,10 @@ function c99050989.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c99050989.filter(c) function c99050989.filter(c)
return c:IsAttackBelow(1600) or c:IsFacedown() return c:GetAttack()<1600 or c:IsFacedown()
end end
function c99050989.dircon(e) function c99050989.dircon(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return Duel.GetFieldGroupCount(tp,LOCATION_SZONE)==0 return Duel.GetFieldGroupCount(tp,0,LOCATION_SZONE)==0
and not Duel.IsExistingMatchingCard(c99050989.filter,tp,0,LOCATION_MZONE,1,nil) and not Duel.IsExistingMatchingCard(c99050989.filter,tp,0,LOCATION_MZONE,1,nil)
end end
...@@ -794,7 +794,7 @@ function Auxiliary.RPEOperation(filter) ...@@ -794,7 +794,7 @@ function Auxiliary.RPEOperation(filter)
local tc=tg:GetFirst() local tc=tg:GetFirst()
mg:RemoveCard(tc) mg:RemoveCard(tc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local mat=mg:SelectWithSumEqual(tp,Card.GetRitualLevel,tc:GetLevel(),1,tc) local mat=mg:SelectWithSumEqual(tp,Card.GetRitualLevel,tc:GetLevel(),1,99,tc)
tc:SetMaterial(mat) tc:SetMaterial(mat)
Duel.ReleaseRitualMaterial(mat) Duel.ReleaseRitualMaterial(mat)
Duel.BreakEffect() Duel.BreakEffect()
......
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