Commit fa9a0e7b authored by mercury233's avatar mercury233

fix

parent b66a1746
...@@ -63,5 +63,5 @@ function c2204038.ptop(e,tp,eg,ep,ev,re,r,rp) ...@@ -63,5 +63,5 @@ function c2204038.ptop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c2204038.ptfilter(e,c) function c2204038.ptfilter(e,c)
return c:IsSetCard(0x228) return c:IsSetCard(0x122)
end end
...@@ -24,7 +24,7 @@ function c3026686.initial_effect(c) ...@@ -24,7 +24,7 @@ function c3026686.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c3026686.thfilter(c) function c3026686.thfilter(c)
return c:IsSetCard(0x228) and c:IsAbleToHand() and not c:IsCode(3026686) return c:IsSetCard(0x122) and c:IsAbleToHand() and not c:IsCode(3026686)
end end
function c3026686.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c3026686.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c3026686.thfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c3026686.thfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -18,7 +18,7 @@ function c38576155.initial_effect(c) ...@@ -18,7 +18,7 @@ function c38576155.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c38576155.thcfilter(c) function c38576155.thcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x228) return c:IsFacedown() or not c:IsSetCard(0x122)
end end
function c38576155.thcon(e,tp,eg,ep,ev,re,r,rp) function c38576155.thcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)>0 return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)>0
......
...@@ -31,7 +31,7 @@ function c39299733.initial_effect(c) ...@@ -31,7 +31,7 @@ function c39299733.initial_effect(c)
e4:SetType(EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e4:SetCode(EFFECT_ADD_SETCODE) e4:SetCode(EFFECT_ADD_SETCODE)
e4:SetValue(0x228) e4:SetValue(0x122)
c:RegisterEffect(e4) c:RegisterEffect(e4)
--direct attack --direct attack
local e5=Effect.CreateEffect(c) local e5=Effect.CreateEffect(c)
......
...@@ -19,7 +19,7 @@ function c64961254.initial_effect(c) ...@@ -19,7 +19,7 @@ function c64961254.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c64961254.thcfilter(c) function c64961254.thcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x228) return c:IsFacedown() or not c:IsSetCard(0x122)
end end
function c64961254.thcon(e,tp,eg,ep,ev,re,r,rp) function c64961254.thcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)>0 return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)>0
......
...@@ -21,7 +21,7 @@ function c65687442.initial_effect(c) ...@@ -21,7 +21,7 @@ function c65687442.initial_effect(c)
end end
c65687442.listed_names={92182447} c65687442.listed_names={92182447}
function c65687442.filter(c,e,tp) function c65687442.filter(c,e,tp)
return c:IsSetCard(0x228) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x122) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c65687442.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c65687442.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -46,7 +46,7 @@ function c66809920.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function c66809920.thop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c66809920.cfilter(c) function c66809920.cfilter(c)
return c:IsSetCard(0x228) and not c:IsCode(66809920) return c:IsSetCard(0x122) and not c:IsCode(66809920)
end end
function c66809920.rmcon(e,tp,eg,ep,ev,re,r,rp) function c66809920.rmcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c66809920.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c66809920.cfilter,tp,LOCATION_MZONE,0,1,nil)
......
...@@ -11,7 +11,7 @@ function c91969909.initial_effect(c) ...@@ -11,7 +11,7 @@ function c91969909.initial_effect(c)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(LOCATION_MZONE,0) e2:SetTargetRange(LOCATION_MZONE,0)
e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x228)) e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x122))
e2:SetValue(c91969909.indesval) e2:SetValue(c91969909.indesval)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e3=e2:Clone() local e3=e2:Clone()
......
...@@ -11,7 +11,7 @@ function c92182447.initial_effect(c) ...@@ -11,7 +11,7 @@ function c92182447.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c92182447.cfilter(c) function c92182447.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x228) return c:IsFaceup() and c:IsSetCard(0x122)
end end
function c92182447.condition(e,tp,eg,ep,ev,re,r,rp) function c92182447.condition(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetCurrentChain()>0 or Duel.GetCurrentPhase()~=PHASE_BATTLE or Duel.GetTurnPlayer()~=tp then return false end if Duel.GetCurrentChain()>0 or Duel.GetCurrentPhase()~=PHASE_BATTLE or Duel.GetTurnPlayer()~=tp then return false 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