Commit 4afa126d authored by 2924713558's avatar 2924713558 Committed by GitHub

Update c1156015.lua

parent f6c28b7f
......@@ -47,12 +47,15 @@ function c1156015.initial_effect(c)
--
end
--
function c1156015.chnfilter(c)
return c:GetOriginalCode()==77765004 and not c:IsDisabled()
end
function c1156015.lkfilter(c,lc,tp)
local flag=c:IsFaceup() and c:IsCanBeLinkMaterial(lc)
if c:IsType(TYPE_MONSTER) then
return flag and c:IsRace(RACE_SPELLCASTER)
else
return c:IsFaceup() and c:IsType(TYPE_SPELL) and not c:IsHasEffect(EFFECT_CANNOT_BE_LINK_MATERIAL)
return c:IsFaceup() and c:IsType(TYPE_SPELL) and not Duel.IsExistingMatchingCard(c1156015.cknfilter,tp,0,LOCATION_SZONE,1,nil)
end
end
function c1156015.lvfilter(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