Commit d59efe88 authored by GuGu's avatar GuGu

Update c74561069.lua

parent 2ab4f73f
Pipeline #29104 passed with stage
in 8 seconds
...@@ -49,13 +49,13 @@ function cCardno.initial_effect(c) ...@@ -49,13 +49,13 @@ function cCardno.initial_effect(c)
end end
--zongxiang --zongxiang
function cCardno.zxtg(e,tp,eg,ep,ev,re,r,rp,chk) function cCardno.zxtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp)>0 end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE,PLAYER_NONE,0)>0 end
local c=e:GetHandler() local c=e:GetHandler()
c:RegisterFlagEffect(Cardno,RESET_CHAIN,0,1) c:RegisterFlagEffect(Cardno,RESET_CHAIN,0,1)
end end
function cCardno.zxop(e,tp,eg,ep,ev,re,r,rp) function cCardno.zxop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.GetMZoneCount(tp)>0 then if c:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE,PLAYER_NONE,0)>0 then
local zone=Duel.SelectDisableField(tp,1,LOCATION_MZONE,0,0) local zone=Duel.SelectDisableField(tp,1,LOCATION_MZONE,0,0)
Duel.MoveSequence(c,math.log(zone,2)) Duel.MoveSequence(c,math.log(zone,2))
Duel.BreakEffect() Duel.BreakEffect()
......
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