Commit f3246b9f authored by Nemo Ma's avatar Nemo Ma

fix

parent bab39e83
......@@ -34,7 +34,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
end
function cm.spcfilter(c)
return c:IsSetCard(0xcf30) and c:IsFaceup() and c:IsAbleToHand()
return c:IsSetCard(0xcf30) and c:IsType(TYPE_MONSTER) and c:IsFaceup() and c:IsAbleToHand()
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and cm.spcfilter(chkc) end
......
......@@ -60,8 +60,9 @@ function c22348235.sop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(22348235,RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET+RESET_CHAIN,0,1)
end
function c22348235.recon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()==1 and (e:GetHandler():GetFlagEffect(m)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
return (e:GetHandler():GetFlagEffect(m)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
end
-- Duel.GetCurrentChain()==1 and
function c22348235.reop(e,tp,eg,ep,ev,re,r,rp)
local ng=Group.CreateGroup()
for i=1,ev do
......
......@@ -56,7 +56,7 @@ function c22348236.sop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(22348236,RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET+RESET_CHAIN,0,1)
end
function c22348236.recon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()==1 and (e:GetHandler():GetFlagEffect(22348236)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
return (e:GetHandler():GetFlagEffect(22348236)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
end
function c22348236.reop(e,tp,eg,ep,ev,re,r,rp)
local ng=Group.CreateGroup()
......
......@@ -69,7 +69,7 @@ function c22348237.sop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(22348237,RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET+RESET_CHAIN,0,1)
end
function c22348237.recon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()==1 and (e:GetHandler():GetFlagEffect(22348237)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
return (e:GetHandler():GetFlagEffect(22348237)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
end
function c22348237.reop(e,tp,eg,ep,ev,re,r,rp)
local ng=Group.CreateGroup()
......
......@@ -60,7 +60,7 @@ function c22348238.sop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(22348238,RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET+RESET_CHAIN,0,1)
end
function c22348238.recon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()==1 and (e:GetHandler():GetFlagEffect(m)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
return (e:GetHandler():GetFlagEffect(m)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
end
function c22348238.reop(e,tp,eg,ep,ev,re,r,rp)
local ng=Group.CreateGroup()
......
......@@ -57,7 +57,7 @@ function c22348239.sop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(22348239,RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET+RESET_CHAIN,0,1)
end
function c22348239.recon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()==1 and (e:GetHandler():GetFlagEffect(22348239)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
return (e:GetHandler():GetFlagEffect(22348239)>0 or e:GetCode()~=EVENT_CHAIN_NEGATED)
end
function c22348239.reop(e,tp,eg,ep,ev,re,r,rp)
local ng=Group.CreateGroup()
......
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