Commit 334080bf authored by POLYMER's avatar POLYMER

fix

parent c7ae3e5d
...@@ -65,7 +65,7 @@ function c28315844.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,7 @@ function c28315844.desop(e,tp,eg,ep,ev,re,r,rp)
e1:SetOperation(c28315844.regop) e1:SetOperation(c28315844.regop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
local g=Duel.GetFieldGroup(tp,LOCATION_ONFIELD,LOCATION_ONFIELD) local g=Duel.GetMatchingGroup(Card.IsFaceup,p,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
if Duel.GetLP(tp)<=3000 and #g>0 and Duel.SelectYesNo(tp,aux.Stringid(28315844,2)) then if Duel.GetLP(tp)<=3000 and #g>0 and Duel.SelectYesNo(tp,aux.Stringid(28315844,2)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local sg=g:SelectSubGroup(tp,c28315844.gcheck,false,1,2) local sg=g:SelectSubGroup(tp,c28315844.gcheck,false,1,2)
...@@ -76,7 +76,7 @@ end ...@@ -76,7 +76,7 @@ end
function c28315844.regop(e,tp,eg,ep,ev,re,r,rp) function c28315844.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local p=c:GetPreviousControler() local p=c:GetPreviousControler()
local g=Duel.GetMatchingGroup(Card.IsFaceup,p,LOCATION_ONFIELD,LOCATION_ONFIELD,nil) local g=Duel.GetFieldGroup(tp,LOCATION_ONFIELD,LOCATION_ONFIELD)
if c:IsReason(REASON_DESTROY) and #g>0 then-- and Duel.SelectYesNo(p,aux.Stringid(28315844,2)) if c:IsReason(REASON_DESTROY) and #g>0 then-- and Duel.SelectYesNo(p,aux.Stringid(28315844,2))
Duel.Hint(HINT_CARD,0,28315844) Duel.Hint(HINT_CARD,0,28315844)
Duel.Hint(HINT_SELECTMSG,p,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,p,HINTMSG_DESTROY)
......
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