Commit 09f98eb0 authored by POLYMER's avatar POLYMER

fix

parent 9c8225a7
......@@ -33,7 +33,7 @@ function s.initial_effect(c)
--to grave
local e5=Effect.CreateEffect(c)
e5:SetDescription(aux.Stringid(id,1))
e5:SetCategory(CATEGORY_SPECIAL_SUMMON)
e5:SetCategory(CATEGORY_TOGRAVE)
e5:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e5:SetCode(EVENT_TO_HAND)
e5:SetCountLimit(1,id)
......
......@@ -82,7 +82,7 @@ end
function s.filter(c)
local rc=c:GetReasonCard()
if not rc and c:GetReasonEffect() then rc=c:GetReasonEffect():GetHandler() end
return c:IsType(TYPE_MONSTER) and rc and rc:IsSetCard(0x23) and c:IsFaceup() and c:IsAbleToDeck()
return c:IsType(TYPE_MONSTER) and rc and rc:IsSetCard(0x23) and rc:IsType(TYPE_MONSTER) and c:IsFaceup() and c:IsAbleToDeck()
end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_REMOVED,0,1,nil) end
......
......@@ -33,6 +33,7 @@ function c7409794.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c7409794.cffilter,tp,LOCATION_HAND,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local g=Duel.SelectMatchingCard(tp,c7409794.cffilter,tp,LOCATION_HAND,0,1,1,nil)
Duel.ConfirmCards(1-tp,g)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(7409794,3))
e1:SetProperty(EFFECT_FLAG_CLIENT_HINT)
......
......@@ -36,6 +36,7 @@ function c7409796.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c7409796.cffilter,tp,LOCATION_HAND,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local g=Duel.SelectMatchingCard(tp,c7409796.cffilter,tp,LOCATION_HAND,0,1,1,nil)
Duel.ConfirmCards(1-tp,g)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(7409796,3))
e1:SetProperty(EFFECT_FLAG_CLIENT_HINT)
......
......@@ -42,6 +42,7 @@ function c7409798.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c7409798.cffilter,tp,LOCATION_HAND,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local g=Duel.SelectMatchingCard(tp,c7409798.cffilter,tp,LOCATION_HAND,0,1,1,nil)
Duel.ConfirmCards(1-tp,g)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(7409798,3))
e1:SetProperty(EFFECT_FLAG_CLIENT_HINT)
......
......@@ -41,6 +41,7 @@ function c7409799.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c7409799.cffilter,tp,LOCATION_HAND,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local g=Duel.SelectMatchingCard(tp,c7409799.cffilter,tp,LOCATION_HAND,0,1,1,nil)
Duel.ConfirmCards(1-tp,g)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(7409799,3))
e1:SetProperty(EFFECT_FLAG_CLIENT_HINT)
......
......@@ -21,7 +21,7 @@ function s.initial_effect(c)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EFFECT_DESTROY_REPLACE)
e4:SetRange(LOCATION_FZONE)
e4:SetCountLimit(1,id)
e4:SetCountLimit(1,id+1000)
e4:SetTarget(s.reptg)
e4:SetValue(s.repval)
c:RegisterEffect(e4)
......
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