Commit 8a3489ac authored by nekrozar's avatar nekrozar

fix

parent 7b3f9809
...@@ -69,7 +69,7 @@ function c18326736.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,7 +69,7 @@ function c18326736.spop(e,tp,eg,ep,ev,re,r,rp)
end end
function c18326736.skipcost(e,tp,eg,ep,ev,re,r,rp,chk) function c18326736.skipcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return c:CheckRemoveOverlayCard(tp,7,REASON_COST) and c:GetFlagEffect(18326737)==0 end if chk==0 then return c:CheckRemoveOverlayCard(tp,7,REASON_COST) and not Duel.IsPlayerAffectedByEffect(1-tp,EFFECT_SKIP_TURN) end
c:RemoveOverlayCard(tp,7,7,REASON_COST) c:RemoveOverlayCard(tp,7,7,REASON_COST)
end end
function c18326736.skipop(e,tp,eg,ep,ev,re,r,rp) function c18326736.skipop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -61,7 +61,8 @@ function c23846921.skipcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,8 @@ function c23846921.skipcon(e,tp,eg,ep,ev,re,r,rp)
return ep==tp and e:GetHandler():GetFlagEffectLabel(36690018)==1 return ep==tp and e:GetHandler():GetFlagEffectLabel(36690018)==1
end end
function c23846921.skipcost(e,tp,eg,ep,ev,re,r,rp,chk) function c23846921.skipcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_MZONE,0,2,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_MZONE,0,2,nil)
and not Duel.IsPlayerAffectedByEffect(1-tp,EFFECT_SKIP_TURN) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToGraveAsCost,tp,LOCATION_MZONE,0,2,2,nil) local g=Duel.SelectMatchingCard(tp,Card.IsAbleToGraveAsCost,tp,LOCATION_MZONE,0,2,2,nil)
Duel.SendtoGrave(g,REASON_COST) Duel.SendtoGrave(g,REASON_COST)
......
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