Commit 0e15a7fe authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 6757e374
...@@ -68,7 +68,7 @@ function s.descon(e,tp) ...@@ -68,7 +68,7 @@ function s.descon(e,tp)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_FZONE,LOCATION_FZONE,nil) local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_FZONE,LOCATION_FZONE,nil)
return not Duel.IsExistingMatchingCard(Card.IsFaceup,0,LOCATION_SZONE,LOCATION_SZONE,1,g) return not Duel.IsExistingMatchingCard(Card.IsFaceup,0,LOCATION_SZONE,LOCATION_SZONE,1,g)
end end
function s.efilter(e,te) function s.efilter(e,re)
return e:GetHandlerPlayer()~=re:GetOwnerPlayer() return e:GetHandlerPlayer()~=re:GetOwnerPlayer()
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -17,6 +17,14 @@ function s.initial_effect(c) ...@@ -17,6 +17,14 @@ function s.initial_effect(c)
e2:SetTargetRange(LOCATION_ONFIELD,LOCATION_ONFIELD) e2:SetTargetRange(LOCATION_ONFIELD,LOCATION_ONFIELD)
e2:SetValue(1) e2:SetValue(1)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--battle indes
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetRange(LOCATION_MZONE)
e3:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e3:SetTargetRange(LOCATION_ONFIELD,LOCATION_ONFIELD)
e3:SetValue(1)
c:RegisterEffect(e1)
end end
function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk) function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemove() if chk==0 then return e:GetHandler():IsAbleToRemove()
......
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