Commit dae08c04 authored by tsubaki's avatar tsubaki

2.0.0 fix3

parent 6040796e
Pipeline #39087 passed with stage
in 18 seconds
...@@ -57,7 +57,7 @@ end ...@@ -57,7 +57,7 @@ end
function s.payop(e,tp,eg,ep,ev,re,r,rp) function s.payop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetTurnPlayer()~=tp then return end if Duel.GetTurnPlayer()~=tp then return end
if Duel.CheckLPCost(tp,1000) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then if Duel.CheckLPCost(tp,1000) and Duel.SelectYesNo(tp,aux.Stringid(id,0)) then
Duel.PayLPCost(tp,1000) Duel.PayLPCost(tp,1000)
else else
Duel.Destroy(e:GetHandler(),REASON_EFFECT) Duel.Destroy(e:GetHandler(),REASON_EFFECT)
......
...@@ -40,10 +40,10 @@ function c86379251.initial_effect(c) ...@@ -40,10 +40,10 @@ function c86379251.initial_effect(c)
end end
-- --
function c86379251.mirrorfilter(c,att) function c86379251.mirrorfilter(c,att)
return c:IsAttribute(att) and c:IsFaceup() and bit.band(c:GetOriginalType(),TYPE_MONSTER)~=0 return c:IsCode(att) and c:IsFaceup() and bit.band(c:GetOriginalType(),TYPE_MONSTER)~=0
end end
function c86379251.mirrorcondition(e,tp,eg,ep,ev,re,r,rp) function c86379251.mirrorcondition(e,tp,eg,ep,ev,re,r,rp)
return (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2) and Duel.GetTurnPlayer()~=tp and Duel.IsPlayerAffectedByEffect(tp,86379276) and Duel.IsExistingMatchingCard(c86379251.mirrorfilter,tp,LOCATION_SZONE,0,1,nil,e:GetHandler():GetAttribute()) return (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2) and Duel.GetTurnPlayer()~=tp and Duel.IsPlayerAffectedByEffect(tp,86379275) and Duel.IsExistingMatchingCard(c86379251.mirrorfilter,tp,LOCATION_SZONE,0,1,nil,e:GetHandler():GetCode())
end end
-- --
function c86379251.spcon(e,tp,eg,ep,ev,re,r,rp) function c86379251.spcon(e,tp,eg,ep,ev,re,r,rp)
......
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