Commit 1b6c41a4 authored by mercury233's avatar mercury233

fix DDD超死偉王ホワイテスト・ヘル・アーマゲドン

parent 094e468e
...@@ -79,20 +79,19 @@ function c72402069.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -79,20 +79,19 @@ function c72402069.desop(e,tp,eg,ep,ev,re,r,rp)
if oc>0 then Duel.Damage(1-tp,oc*1000,REASON_EFFECT) end if oc>0 then Duel.Damage(1-tp,oc*1000,REASON_EFFECT) end
end end
end end
function c72402069.disfilter(c,tp) function c72402069.disfilter(c)
return c:IsFaceup() and c:IsType(TYPE_PENDULUM) return c:IsFaceup() and c:IsType(TYPE_PENDULUM)
and Duel.IsExistingMatchingCard(c72402069.disfilter1,tp,0,LOCATION_MZONE,1,c)
end end
function c72402069.disfilter1(c) function c72402069.disfilter1(c)
return c:IsFaceup() and not c:IsDisabled() return c:IsFaceup() and not c:IsDisabled()
end end
function c72402069.distg(e,tp,eg,ep,ev,re,r,rp,chk) function c72402069.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not eg:IsContains(e:GetHandler()) if chk==0 then return not eg:IsContains(e:GetHandler())
and Duel.IsExistingMatchingCard(c72402069.disfilter,tp,0,LOCATION_MZONE,1,nil,tp) end and Duel.IsExistingMatchingCard(c72402069.disfilter,tp,0,LOCATION_MZONE,1,nil) end
end end
function c72402069.disop(e,tp,eg,ep,ev,re,r,rp) function c72402069.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,1-tp,aux.Stringid(72402069,2)) Duel.Hint(HINT_SELECTMSG,1-tp,aux.Stringid(72402069,2))
local pc=Duel.SelectMatchingCard(1-tp,c72402069.disfilter,tp,0,LOCATION_MZONE,1,1,nil,tp):GetFirst() local pc=Duel.SelectMatchingCard(1-tp,c72402069.disfilter,tp,0,LOCATION_MZONE,1,1,nil):GetFirst()
if not pc then return end if not pc then return end
local g=Duel.GetMatchingGroup(c72402069.disfilter1,tp,0,LOCATION_MZONE,pc) local g=Duel.GetMatchingGroup(c72402069.disfilter1,tp,0,LOCATION_MZONE,pc)
local tc=g:GetFirst() local tc=g:GetFirst()
......
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