Commit 2dea6962 authored by TanakaKotoha's avatar TanakaKotoha

dededededededededededede

parent 4a152ee9
...@@ -34,9 +34,9 @@ function cm.chrop(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,9 +34,9 @@ function cm.chrop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetTargetRange(LOCATION_MZONE,0) e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetCode(EFFECT_CHANGE_RACE) e1:SetCode(EFFECT_CHANGE_RACE)
e1:SetValue(RACE_ZOMBIE) e1:SetValue(RACE_FAIRY)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
c:RegisterEffect(e1) Duel.RegisterEffect(e1,tp)
end end
function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end if chk==0 then return e:GetHandler():IsReleasable() end
......
...@@ -44,6 +44,9 @@ end ...@@ -44,6 +44,9 @@ end
function c21520186.dafilter(c) function c21520186.dafilter(c)
return c:IsSetCard(0x490) and c:IsFaceup() and c:GetAttack()<=3000 return c:IsSetCard(0x490) and c:IsFaceup() and c:GetAttack()<=3000
end end
function c21520186.dafilter1(c)
return (not c:IsSetCard(0x490) and c:IsFaceup()) or c:IsFacedown()
end
function c21520186.csfilter(c) function c21520186.csfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsFaceup() return c:IsType(TYPE_MONSTER) and c:IsFaceup()
end end
......
...@@ -34,7 +34,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,7 +34,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_DISABLE) e2:SetCode(EFFECT_DISABLE)
e2:SetTargetRange(0,1) e2:SetTargetRange(0,LOCATION_ONFIELD)
e2:SetTarget(cm.disable) e2:SetTarget(cm.disable)
e2:SetReset(RESET_PHASE+PHASE_END) e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
...@@ -45,7 +45,7 @@ function cm.disable(e,c) ...@@ -45,7 +45,7 @@ function cm.disable(e,c)
return c:GetColumnGroup():FilterCount(cm.cnfilter,nil,tp)>0 return c:GetColumnGroup():FilterCount(cm.cnfilter,nil,tp)>0
end end
function cm.cnfilter(c,tp) function cm.cnfilter(c,tp)
return c:IsControler(tp) and c:IsFaceup() and c:IsSetCard(0x235) return c:IsFaceup() and c:IsSetCard(0x235) and c:IsControler(tp)
end end
--e2 --e2
function cm.ngfilter(c) function cm.ngfilter(c)
......
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