Commit 6eb3b208 authored by POLYMER's avatar POLYMER

fix

parent 96917e37
......@@ -50,7 +50,8 @@ function c95101001.costfilter(c)
end
function c95101001.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c95101001.costfilter,tp,LOCATION_ONFIELD,0,1,nil) end
local g=Duel.GetMatchingGroup(c95101001.costfilter,tp,LOCATION_ONFIELD,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local g=Duel.SelectMatchingCard(tp,c95101001.costfilter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SendtoHand(g,nil,REASON_COST)
end
function c95101001.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -6,6 +6,7 @@ function c95101002.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,95101002)
e1:SetCost(c95101002.spcost)
e1:SetTarget(c95101002.sptg)
e1:SetOperation(c95101002.spop)
......@@ -18,7 +19,7 @@ function c95101002.initial_effect(c)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,95101002)
e2:SetCountLimit(1,95101003)
e2:SetCondition(c95101002.drcon)
e2:SetTarget(c95101002.drtg)
e2:SetOperation(c95101002.drop)
......@@ -29,7 +30,8 @@ function c95101002.costfilter(c)
end
function c95101002.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c95101002.costfilter,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.GetMatchingGroup(c95101002.costfilter,tp,LOCATION_MZONE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local g=Duel.SelectMatchingCard(tp,c95101002.costfilter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SendtoHand(g,nil,REASON_COST)
end
function c95101002.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -6,6 +6,7 @@ function c95101004.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,95101004)
e1:SetCost(c95101004.spcost)
e1:SetTarget(c95101004.sptg)
e1:SetOperation(c95101004.spop)
......@@ -17,7 +18,7 @@ function c95101004.initial_effect(c)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_CHAINING)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,95101004)
e2:SetCountLimit(1,95101005)
e2:SetCondition(c95101004.discon)
e2:SetCost(c95101004.discost)
e2:SetTarget(c95101004.distg)
......@@ -29,7 +30,8 @@ function c95101004.costfilter(c)
end
function c95101004.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c95101004.costfilter,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.GetMatchingGroup(c95101004.costfilter,tp,LOCATION_MZONE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local g=Duel.SelectMatchingCard(tp,c95101004.costfilter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SendtoHand(g,nil,REASON_COST)
end
function c95101004.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -6,6 +6,7 @@ function c95101006.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCountLimit(1,95101006)
e1:SetCost(c95101006.spcost)
e1:SetTarget(c95101006.sptg)
e1:SetOperation(c95101006.spop)
......@@ -18,7 +19,7 @@ function c95101006.initial_effect(c)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,95101006)
e2:SetCountLimit(1,95101007)
e2:SetCondition(c95101006.discon)
e2:SetCost(c95101006.discost)
e2:SetTarget(c95101006.distg)
......@@ -27,7 +28,8 @@ function c95101006.initial_effect(c)
end
function c95101006.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToHandAsCost,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.GetMatchingGroup(Card.IsAbleToHandAsCost,tp,LOCATION_MZONE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHandAsCost,tp,LOCATION_MZONE,0,1,1,nil)
Duel.SendtoHand(g,nil,REASON_COST)
end
function c95101006.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -6,6 +6,7 @@ function c95101008.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,95101008)
e1:SetCost(c95101008.spcost)
e1:SetTarget(c95101008.sptg)
e1:SetOperation(c95101008.spop)
......@@ -17,7 +18,7 @@ function c95101008.initial_effect(c)
e2:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,95101008)
e2:SetCountLimit(1,95101009)
e2:SetTarget(c95101008.spotg)
e2:SetOperation(c95101008.spoop)
c:RegisterEffect(e2)
......@@ -30,7 +31,8 @@ function c95101008.costfilter(c)
end
function c95101008.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c95101008.costfilter,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.GetMatchingGroup(c95101008.costfilter,tp,LOCATION_MZONE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local g=Duel.SelectMatchingCard(tp,c95101008.costfilter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SendtoHand(g,nil,REASON_COST)
end
function c95101008.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -30,7 +30,8 @@ function c95101010.costfilter(c)
end
function c95101010.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c95101010.costfilter,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.GetMatchingGroup(c95101010.costfilter,tp,LOCATION_MZONE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local g=Duel.SelectMatchingCard(tp,c95101010.costfilter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SendtoHand(g,nil,REASON_COST)
end
function c95101010.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
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