Commit 0fd7fd99 authored by POLYMER's avatar POLYMER

fix

parent c8e4b242
...@@ -7,6 +7,7 @@ function cm.initial_effect(c) ...@@ -7,6 +7,7 @@ function cm.initial_effect(c)
e1:SetDescription(aux.Stringid(m,1)) e1:SetDescription(aux.Stringid(m,1))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,m) e1:SetCountLimit(1,m)
e1:SetTarget(cm.thtg) e1:SetTarget(cm.thtg)
e1:SetOperation(cm.thop) e1:SetOperation(cm.thop)
...@@ -23,7 +24,7 @@ function cm.initial_effect(c) ...@@ -23,7 +24,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.thfilter(c) function cm.thfilter(c)
return c:IsSetCard(0xf11) and c:GetType()&(TYPE_CONTINUOUS+TYPE_SPELL)>0 and c:IsAbleToHand() return c:IsSetCard(0xf11) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToHand()
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,3,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,3,nil) end
......
...@@ -66,7 +66,7 @@ function c67200914.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,7 +66,7 @@ function c67200914.damop(e,tp,eg,ep,ev,re,r,rp)
local b2=sc:IsExists(c67200914.spfilter1,1,nil,e,tp) local b2=sc:IsExists(c67200914.spfilter1,1,nil,e,tp)
local op=aux.SelectFromOptions(tp,{b1,aux.Stringid(67200914,3)},{b2,1152}) local op=aux.SelectFromOptions(tp,{b1,aux.Stringid(67200914,3)},{b2,1152})
if op==1 then if op==1 then
Duel.MoveToField(sc:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,false) Duel.MoveToField(sc:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end end
if op==2 then if op==2 then
Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)
......
...@@ -71,7 +71,7 @@ function c67200915.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,7 +71,7 @@ function c67200915.damop(e,tp,eg,ep,ev,re,r,rp)
local b2=sc:IsExists(c67200915.spfilter1,1,nil,e,tp) local b2=sc:IsExists(c67200915.spfilter1,1,nil,e,tp)
local op=aux.SelectFromOptions(tp,{b1,aux.Stringid(67200915,3)},{b2,1152}) local op=aux.SelectFromOptions(tp,{b1,aux.Stringid(67200915,3)},{b2,1152})
if op==1 then if op==1 then
Duel.MoveToField(sc:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,false) Duel.MoveToField(sc:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end end
if op==2 then if op==2 then
Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)
......
...@@ -59,7 +59,7 @@ function c67200916.damcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -59,7 +59,7 @@ function c67200916.damcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
local b2=Duel.IsExistingMatchingCard(c67200916.costfilter,tp,LOCATION_HAND,0,1,c) local b2=Duel.IsExistingMatchingCard(c67200916.costfilter,tp,LOCATION_HAND,0,1,c)
if chk==0 then return c:IsDiscardable() and b2 end if chk==0 then return c:IsDiscardable() and b2 end
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(67200916,3)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(67200916,4))
local g=Duel.SelectMatchingCard(tp,c67200916.costfilter,tp,LOCATION_HAND,0,1,1,c) local g=Duel.SelectMatchingCard(tp,c67200916.costfilter,tp,LOCATION_HAND,0,1,1,c)
g:AddCard(c) g:AddCard(c)
Duel.SendtoExtraP(g,nil,REASON_COST) Duel.SendtoExtraP(g,nil,REASON_COST)
...@@ -94,7 +94,7 @@ function c67200916.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -94,7 +94,7 @@ function c67200916.damop(e,tp,eg,ep,ev,re,r,rp)
local b2=sc:IsExists(c67200916.spfilter1,1,nil,e,tp) local b2=sc:IsExists(c67200916.spfilter1,1,nil,e,tp)
local op=aux.SelectFromOptions(tp,{b1,aux.Stringid(67200916,3)},{b2,1152}) local op=aux.SelectFromOptions(tp,{b1,aux.Stringid(67200916,3)},{b2,1152})
if op==1 then if op==1 then
Duel.MoveToField(sc:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,false) Duel.MoveToField(sc:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end end
if op==2 then if op==2 then
Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)
......
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