Commit a1d216b9 authored by nanahira's avatar nanahira

fix

parent bcc1ac49
......@@ -56,7 +56,7 @@ function c77765002.initial_effect(c)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE)
e3:SetCode(EVENT_LEAVE_FIELD)
e3:SetProperty(0x14000)
e3:SetProperty(0x14000+EFFECT_FLAG_IGNORE_IMMUNE)
e3:SetTarget(function(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local g=e:GetLabelObject():GetLabelObject()
......@@ -112,7 +112,6 @@ function c77765002.filter1(c)
return c:IsAbleToGrave() and Kaguya.IsDifficulty(c) and Duel.IsExistingMatchingCard(c77765002.filter2,tp,LOCATION_DECK,0,1,c,c)
end
function c77765002.filter2(c,mc)
Debug.Message(aux.GetValueType(mc))
return c:IsCode(mc:GetCode())
end
function c77765002.checkop(e,tp,eg,ep,ev,re,r,rp)
......
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