Commit 05659ab7 authored by mercury233's avatar mercury233

fix 星痕の機界騎士 and トリックスター・ベラマドンナ

fix copied by 覇王眷竜スターヴ・ヴェノム
parent c7af562f
...@@ -38,7 +38,7 @@ function c38502358.dircon(e) ...@@ -38,7 +38,7 @@ function c38502358.dircon(e)
end end
function c38502358.indcon(e) function c38502358.indcon(e)
local c=e:GetHandler() local c=e:GetHandler()
return c:GetSequence()>4 and c:GetLinkedGroupCount()==0 return c:GetSequence()>4 and c:IsType(TYPE_LINK) and c:GetLinkedGroupCount()==0
end end
function c38502358.spcfilter(c,g,tp) function c38502358.spcfilter(c,g,tp)
return g:IsContains(c) and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0 return g:IsContains(c) and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0
......
...@@ -26,13 +26,14 @@ function c41302052.initial_effect(c) ...@@ -26,13 +26,14 @@ function c41302052.initial_effect(c)
end end
function c41302052.imcon(e) function c41302052.imcon(e)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsSummonType(SUMMON_TYPE_LINK) and c:GetLinkedGroupCount()==0 return c:IsSummonType(SUMMON_TYPE_LINK) and c:IsType(TYPE_LINK) and c:GetLinkedGroupCount()==0
end end
function c41302052.immval(e,te) function c41302052.immval(e,te)
return te:GetOwner()~=e:GetHandler() and te:IsActivated() return te:GetOwner()~=e:GetHandler() and te:IsActivated()
end end
function c41302052.damcon(e,tp,eg,ep,ev,re,r,rp) function c41302052.damcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetLinkedGroupCount()==0 local c=e:GetHandler()
return c:IsType(TYPE_LINK) and c:GetLinkedGroupCount()==0
end end
function c41302052.damfilter(c) function c41302052.damfilter(c)
return c:IsSetCard(0xfb) and c:IsType(TYPE_MONSTER) return c:IsSetCard(0xfb) and c:IsType(TYPE_MONSTER)
......
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