Commit 1914cc64 authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

parent 1ecc9b13
Pipeline #2510 passed with stages
in 24 minutes and 10 seconds
......@@ -4,8 +4,8 @@ local cm=_G["c"..m]
function cm.initial_effect(c)
--fusion materia
c:EnableReviveLimit()
aux.AddFusionProcCode2(c,33400814,33400815,false,false)
aux.AddContactFusionProcedure(c,Card.IsAbleToGraveAsCost,LOCATION_MZONE,0,Duel.SendtoGrave,REASON_COST)
aux.AddFusionProcCode2(c,33400814,33400815,false,false)
aux.AddContactFusionProcedure(c,Card.IsAbleToGraveAsCost,LOCATION_MZONE,0,Duel.SendtoGrave,REASON_COST)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -100,6 +100,7 @@ function cm.effectfilter(e,ct)
end
function cm.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
--activate limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
......@@ -224,7 +225,7 @@ function cm.setfilter(c)
return c:IsSetCard(0xa341) and c:IsAbleToHand()
end
function cm.stop(e,tp,eg,ep,ev,re,r,rp)
c=e:GetHandler()
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
local loc,seq=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION,CHAININFO_TRIGGERING_SEQUENCE)
local seq1=aux.MZoneSequence(c:GetSequence())
......@@ -322,6 +323,7 @@ function cm.Eqop1(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.TojiEquip(ec,e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local token=Duel.CreateToken(tp,33400819)
Duel.MoveToField(token,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
token:CancelToGrave()
......
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