Commit a41af920 authored by Nemo Ma's avatar Nemo Ma

fix

parent 7df3c1fb
--动物朋友 二色薮猫
function c33711009.initial_effect(c)
--xyz summon
aux.AddXyzProcedureLevelFree(c,aux.FilterBoolFunction(Card.IsSetCard,0x442),aux.FilterBoolFunction(Card.IsFaceup),2,2)
aux.AddXyzProcedureLevelFree(c,aux.FilterBoolFunction(Card.IsSetCard,0x442),aux.TRUE,2,2)
c:EnableReviveLimit()
--code
local e1=Effect.CreateEffect(c)
......
......@@ -69,8 +69,11 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsLocation(LOCATION_HAND+LOCATION_GRAVE)
and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
Duel.MoveToField(e:GetHandler(),tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.MoveToField(e:GetHandler(),tp,tp,LOCATION_SZONE,POS_FACEUP,false)
c:CreateEffectRelation(e)
end
function cm.activate2(e,tp,eg,ep,ev,re,r,rp,chk)
end
function cm.mtop(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsCanRemoveCounter(tp,0x1442,1,REASON_COST) then
......@@ -137,7 +140,10 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp,chk)
if (op1==0 or op2==0 or op3==0) and cm.selop1(e,tp,eg,ep,ev,re,r,rp) then ct=ct+1 end
if (op1==1 or op2==1 or op3==1) and cm.selop2(e,tp,eg,ep,ev,re,r,rp) then ct=ct+1 end
if (op1==2 or op2==2 or op3==2) and cm.selop3(e,tp,eg,ep,ev,re,r,rp) then ct=ct+1 end
if ct>0 then c:AddCounter(0x1442,ct) end
if ct>0 then
c:AddCounter(0x1442,ct)
c:SetStatus(STATUS_EFFECT_ENABLED,true)
end
end
function cm.selop3(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
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