Commit c24edc74 authored by Amiya's avatar Amiya

修复

parent f7f12ed2
......@@ -59,13 +59,13 @@ end
function s.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tg=Duel.GetTargetsRelateToChain()
if tg:GetCount()>0 and c:IsRelateToChain() then
if c:IsRelateToChain() then
tg:AddCard(c)
if Duel.Destroy(tg,REASON_EFFECT)~=0 then
end
if tg:GetCount()>0 and Duel.Destroy(tg,REASON_EFFECT)~=0 then
local dam=Duel.GetOperatedGroup():GetCount()
if dam>0 then
Duel.Damage(1-tp,dam*500,REASON_EFFECT)
end
end
end
end
\ No newline at end of file
......@@ -66,6 +66,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.spfilter),tp,LOCATION_GRAVE+LOCATION_HAND,0,1,1,nil,e,tp)
if #g>0 and Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP_DEFENSE)~=0
and c:IsRelateToChain()
and c:IsControler(tp)
and Duel.GetLocationCount(tp,LOCATION_MZONE,PLAYER_NONE,0)>0
and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect()
......
......@@ -53,11 +53,8 @@ function s.reccon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter,1,nil,tp)
end
function s.recop(e,tp,eg,ep,ev,re,r,rp)
local rec=eg:FilterCount(s.cfilter,nil,tp)
if rec>0 then
Duel.Hint(HINT_CARD,0,id)
Duel.Recover(tp,rec*500,REASON_EFFECT)
end
Duel.Recover(tp,500,REASON_EFFECT)
end
function s.cspfilter(c,tp)
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp) and c:IsPreviousSetCard(0x2d2)
......
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