Commit 5a99292e authored by mercury233's avatar mercury233

fix

parent 867b5b1d
......@@ -40,7 +40,7 @@ function c100255013.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(c100255013.spfilter),tp,LOCATION_GRAVE,0,nil,e,tp)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(100255013,1)) then
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(100255013,1)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=g:Select(tp,1,1,nil)
......
......@@ -55,7 +55,7 @@ function c100255018.ctfilter(c)
end
function c100255018.ctop(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(c100255018.ctfilter,1,nil) then
e:GetHandler():AddCounter(0x56,2)
e:GetHandler():AddCounter(0x56,1)
end
end
function c100255018.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -59,7 +59,8 @@ function c100255019.spfilter(c,e,tp)
end
function c100255019.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c100255019.spfilter(chkc,e,tp) end
if chk==0 then return Duel.IsExistingTarget(c100255019.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingTarget(c100255019.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectTarget(tp,c100255019.spfilter,tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,0,0)
......
......@@ -51,7 +51,7 @@ function c101011051.activate(e,tp,eg,ep,ev,re,r,rp)
end
function c101011051.damop(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetLabelObject()
local tg=Filter(Card.IsStatus,nil,STATUS_BATTLE_DESTROYED)
local tg=g:Filter(Card.IsStatus,nil,STATUS_BATTLE_DESTROYED)
local tc1=tg:Filter(Card.IsControler,nil,tp):GetFirst()
local tc2=tg:Filter(Card.IsControler,nil,1-tp):GetFirst()
if tc1 then
......
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