Commit da4d6c27 authored by Tachibana's avatar Tachibana

eme

parent 24763066
Pipeline #8838 passed with stages
in 26 minutes and 4 seconds
......@@ -137,7 +137,6 @@ function cm.op4(e,tp,eg,ep,ev,re,r,rp)
local tc=tg:GetFirst()
if tc then
local mg=m:Filter(Card.IsCanBeRitualMaterial,tc,tc)
mg:Merge(dg)
if tc.mat_filter then
mg=mg:Filter(tc.mat_filter,tc,tp)
else
......
......@@ -61,19 +61,20 @@ function c65011001.disop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 and Duel.SendtoHand(g,nil,REASON_EFFECT)~=0 then
Duel.ConfirmCards(1-tp,g)
local tc=g:GetFirst()
if not tc:IsSetCard(0x3da2) then
if tc:IsLocation(LOCATION_HAND) and not tc:IsSetCard(0x3da2) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(1,0)
e1:SetTarget(c65011001.aclimit)
e1:SetLabel(tc:GetCode())
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetTargetRange(1,0)
e1:SetValue(c65011001.aclimit)
e1:SetLabelObject(tc)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
end
end
end
function c65011001.aclimit(e,re,tp)
return re:GetHandler():IsCode(e:GetLabel())
local tc=e:GetLabelObject()
return re:GetHandler():IsCode(tc:GetCode())
end
\ No newline at end of file
--星之骑士拟身 激光
function c65090027.initial_effect(c)
--fusion material
c:SetSPSummonOnce(65090002)
c:SetSPSummonOnce(65090027)
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,65090001,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),1,true,true)
--destroy
......
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