Commit 8ea7ec28 authored by wind2009's avatar wind2009

Fix 超究極魔導竜王

parent c2de6a53
...@@ -19,7 +19,7 @@ function s.initial_effect(c) ...@@ -19,7 +19,7 @@ function s.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e1:SetCondition(s.valcon) e2:SetCondition(s.valcon)
e2:SetValue(aux.indoval) e2:SetValue(aux.indoval)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--pierce --pierce
...@@ -70,4 +70,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,4 +70,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -92,4 +92,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -92,4 +92,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect() Duel.BreakEffect()
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -67,4 +67,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,4 +67,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.limit(e,c) function s.limit(e,c)
return c:IsLocation(LOCATION_EXTRA) and not c:IsType(TYPE_SYNCHRO) return c:IsLocation(LOCATION_EXTRA) and not c:IsType(TYPE_SYNCHRO)
end end
\ No newline at end of file
...@@ -64,4 +64,4 @@ end ...@@ -64,4 +64,4 @@ end
function s.repop(e,tp,eg,ep,ev,re,r,rp) function s.repop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,id) Duel.Hint(HINT_CARD,0,id)
Duel.SendtoHand(e:GetHandler(),nil,REASON_EFFECT) Duel.SendtoHand(e:GetHandler(),nil,REASON_EFFECT)
end end
\ No newline at end of file
...@@ -123,4 +123,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -123,4 +123,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -50,4 +50,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,4 +50,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,sg) Duel.ConfirmCards(1-tp,sg)
end end
end end
end end
\ No newline at end of file
...@@ -67,4 +67,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,4 +67,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.splimit(e,c) function s.splimit(e,c)
return c:IsLocation(LOCATION_EXTRA) and not c:IsRace(RACE_FIEND) return c:IsLocation(LOCATION_EXTRA) and not c:IsRace(RACE_FIEND)
end end
\ No newline at end of file
...@@ -99,4 +99,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -99,4 +99,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -55,4 +55,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -55,4 +55,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.atktg(e,c) function s.atktg(e,c)
return c:IsCode(25862681) or aux.IsCodeListed(c,25862681) return c:IsCode(25862681) or aux.IsCodeListed(c,25862681)
end end
\ No newline at end of file
...@@ -68,4 +68,4 @@ end ...@@ -68,4 +68,4 @@ end
function s.drop(e,tp,eg,ep,ev,re,r,rp) function s.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,id) Duel.Hint(HINT_CARD,0,id)
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
\ No newline at end of file
...@@ -75,4 +75,4 @@ function s.acfilter(c) ...@@ -75,4 +75,4 @@ function s.acfilter(c)
end end
function s.accon(e,tp,eg,ep,ev,re,r,rp) function s.accon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.acfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(s.acfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end end
\ No newline at end of file
...@@ -75,4 +75,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -75,4 +75,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e4:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e4:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e4) tc:RegisterEffect(e4)
end end
end end
\ No newline at end of file
...@@ -70,4 +70,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,4 +70,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
end end
\ No newline at end of file
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