Commit a6be7ca2 authored by Amiya's avatar Amiya

修复

parent 5afae8aa
...@@ -113,7 +113,7 @@ function s.thcon3(e,tp,eg,ep,ev,re,r,rp) ...@@ -113,7 +113,7 @@ function s.thcon3(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter2,1,nil,tp) return eg:IsExists(s.cfilter2,1,nil,tp)
end end
function s.thfilter2(c) function s.thfilter2(c)
return c:IsFaceupEx() and not c:IsCode(id) and c:IsSetCard(0x162) and c:IsAbleToHand() return c:IsFaceupEx() and c:IsSetCard(0x162) and c:IsAbleToHand()
end end
function s.thtg3(e,tp,eg,ep,ev,re,r,rp,chk) function s.thtg3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter2,tp,LOCATION_EXTRA+LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter2,tp,LOCATION_EXTRA+LOCATION_GRAVE,0,1,nil) end
......
...@@ -12,7 +12,7 @@ function s.initial_effect(c) ...@@ -12,7 +12,7 @@ function s.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function s.thfilter(c) function s.thfilter(c)
return c:IsSetCard(0x162) and c:IsType(TYPE_PENDULUM) and c:IsAbleToGrave() return c:IsSetCard(0x162) and c:IsType(TYPE_PENDULUM) and c:IsAbleToHand()
end end
function s.gcheck(g) function s.gcheck(g)
return g:GetClassCount(Card.GetCurrentScale)==2 return g:GetClassCount(Card.GetCurrentScale)==2
...@@ -27,7 +27,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -27,7 +27,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
and (not e:IsCostChecked() and (not e:IsCostChecked()
or Duel.GetFlagEffect(tp,id)==0) or Duel.GetFlagEffect(tp,id)==0)
local b2=Duel.GetFlagEffect(tp,id+o)==0 and Duel.GetFlagEffect(tp,id+o*3)==0 local b2=Duel.GetFlagEffect(tp,id+o)==0 and Duel.GetFlagEffect(tp,id+o*3)==0
local b3=Duel.IsPlayerAffectedByEffect(tp,59822133) local b3=not Duel.IsPlayerAffectedByEffect(tp,59822133)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>1 and Duel.GetLocationCount(tp,LOCATION_MZONE)>1
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_PZONE,0,2,nil,e,tp) and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_PZONE,0,2,nil,e,tp)
and (not e:IsCostChecked() and (not e:IsCostChecked()
......
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