Commit 8ea7ec28 authored by wind2009's avatar wind2009

Fix 超究極魔導竜王

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