Commit c24edc74 authored by Amiya's avatar Amiya

修复

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