Commit 6c3d5461 authored by POLYMER's avatar POLYMER

fix

parent a5b353ec
...@@ -43,7 +43,8 @@ function c19209694.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,8 @@ function c19209694.atkop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
if tc:IsHasEffect(EFFECT_REVERSE_UPDATE) then return end if tc:IsHasEffect(EFFECT_REVERSE_UPDATE) then return end
if tc:IsAttackBelow(1000) then local x,y,z=tc:IsAttackBelow(1000),tc:IsAttackBelow(500),tc:IsAttackBelow(0)
if x then
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
...@@ -53,7 +54,7 @@ function c19209694.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,7 +54,7 @@ function c19209694.atkop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
local res=0 local res=0
if tc:IsAttackBelow(500) then if y then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil) local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
...@@ -62,7 +63,7 @@ function c19209694.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,7 +63,7 @@ function c19209694.atkop(e,tp,eg,ep,ev,re,r,rp)
res=Duel.SendtoHand(g,nil,REASON_EFFECT) res=Duel.SendtoHand(g,nil,REASON_EFFECT)
end end
end end
if tc:IsAttackBelow(0) then if z then
if res~=0 then Duel.BreakEffect() end if res~=0 then Duel.BreakEffect() end
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
......
...@@ -62,9 +62,8 @@ function c9910181.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,9 +62,8 @@ function c9910181.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Draw(1-tp,1,REASON_EFFECT) Duel.Draw(1-tp,1,REASON_EFFECT)
end end
end end
if b2 and c:IsRelateToEffect(e) and (res or Duel.SelectYesNo(tp,aux.Stringid(9910181,1))) if b2 and c:IsRelateToEffect(e) and (res or Duel.SelectYesNo(tp,aux.Stringid(9910181,1))) then
and Duel.Destroy(c,REASON_EFFECT)~=0 then if c:IsRelateToChain() and Duel.Destroy(c,REASON_EFFECT)~=0 then Duel.Draw(tp,ct,REASON_EFFECT) end
Duel.Draw(tp,ct,REASON_EFFECT)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_DISABLE) e1:SetCode(EFFECT_DISABLE)
......
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