Commit 59f13f2d authored by 聖園ミカ's avatar 聖園ミカ 🐟

vme50

parent e2293af0
...@@ -58,7 +58,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.desfilter(c,e,tp) function s.desfilter(c,e,tp)
return Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_EXTRA+LOCATION_REMOVED,0,1,nil,e,tp,Group.FromCards(c)) return c:IsSetCard(0x541a) and c:IsType(TYPE_PENDULUM)and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_EXTRA+LOCATION_REMOVED,0,1,nil,e,tp,Group.FromCards(c))
end end
function s.spfilter(c,e,tp,dg) function s.spfilter(c,e,tp,dg)
local tc=dg:GetFirst() local tc=dg:GetFirst()
......
...@@ -9,7 +9,6 @@ function s.initial_effect(c) ...@@ -9,7 +9,6 @@ function s.initial_effect(c)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_PZONE) e2:SetRange(LOCATION_PZONE)
e2:SetCode(EVENT_CHAINING) e2:SetCode(EVENT_CHAINING)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e2:SetCountLimit(1,id) e2:SetCountLimit(1,id)
e2:SetCondition(s.condition) e2:SetCondition(s.condition)
e2:SetTarget(s.target) e2:SetTarget(s.target)
...@@ -30,7 +29,9 @@ function s.initial_effect(c) ...@@ -30,7 +29,9 @@ function s.initial_effect(c)
e3:SetType(EFFECT_TYPE_QUICK_O) e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING) e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e3:SetCountLimit(1,id+20000) e3:SetCountLimit(1,id+20000)
e3:SetCondition(s.chcon)
e3:SetTarget(s.chtg) e3:SetTarget(s.chtg)
e3:SetOperation(s.chop) e3:SetOperation(s.chop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
...@@ -85,6 +86,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -85,6 +86,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.chcon(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp
end
function s.dsfilter(c) function s.dsfilter(c)
return c:IsType(TYPE_PENDULUM) and c:IsFaceup() return c:IsType(TYPE_PENDULUM) and c:IsFaceup()
end end
......
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