Commit 2a693d33 authored by wind2009's avatar wind2009

Fix 暗黒海龍-ドライアグル

parent 8157b04f
...@@ -69,12 +69,14 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,12 +69,14 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(500) e1:SetValue(500)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE)
c:RegisterEffect(e1) c:RegisterEffect(e1)
if e:GetLabel()==100 then if not c:IsHasEffect(EFFECT_REVERSE_UPDATE) then
Duel.BreakEffect() if e:GetLabel()==100 then
Duel.Damage(1-tp,1000,REASON_EFFECT) Duel.BreakEffect()
elseif e:GetLabel()==200 and Duel.IsPlayerCanDiscardDeck(tp,1) and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then Duel.Damage(1-tp,1000,REASON_EFFECT)
Duel.BreakEffect() elseif e:GetLabel()==200 and Duel.IsPlayerCanDiscardDeck(tp,1) and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.DiscardDeck(tp,1,REASON_EFFECT) Duel.BreakEffect()
Duel.DiscardDeck(tp,1,REASON_EFFECT)
end
end end
end end
end end
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