Commit 1892fcaa authored by salix5's avatar salix5

newline

parent ae25ec39
...@@ -60,4 +60,4 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -60,4 +60,4 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_MZONE,0,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_MZONE,0,1,1,nil,e,tp)
Duel.Remove(g,POS_FACEUP,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
\ No newline at end of file
...@@ -114,4 +114,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp) ...@@ -114,4 +114,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Draw(1-tp,oc,REASON_EFFECT) Duel.Draw(1-tp,oc,REASON_EFFECT)
end end
end end
end end
\ No newline at end of file
...@@ -84,4 +84,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -84,4 +84,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
\ No newline at end of file
...@@ -84,4 +84,4 @@ end ...@@ -84,4 +84,4 @@ end
function s.eftg(e,c) function s.eftg(e,c)
return c:IsLevelAbove(10) and c:GetOriginalRace()==RACE_SEASERPENT return c:IsLevelAbove(10) and c:GetOriginalRace()==RACE_SEASERPENT
or c:IsSetCard(0x1c0) and c:IsType(TYPE_PENDULUM) or c:IsSetCard(0x1c0) and c:IsType(TYPE_PENDULUM)
end end
\ No newline at end of file
...@@ -89,4 +89,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,4 +89,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if #g>0 then if #g>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
...@@ -88,4 +88,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -88,4 +88,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 not c:IsType(TYPE_LINK) and c:IsLocation(LOCATION_EXTRA) return not c:IsType(TYPE_LINK) and c:IsLocation(LOCATION_EXTRA)
end end
\ No newline at end of file
...@@ -98,4 +98,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp) ...@@ -98,4 +98,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
local sg=mg:SelectSubGroup(tp,s.gselect,false,1,mg:GetCount(),tg:GetFirst()) local sg=mg:SelectSubGroup(tp,s.gselect,false,1,mg:GetCount(),tg:GetFirst())
Duel.XyzSummon(tp,tg:GetFirst(),sg,#sg,#sg) Duel.XyzSummon(tp,tg:GetFirst(),sg,#sg,#sg)
end end
end end
\ No newline at end of file
...@@ -78,4 +78,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,4 +78,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
...@@ -89,4 +89,4 @@ end ...@@ -89,4 +89,4 @@ end
function s.desrepop(e,tp,eg,ep,ev,re,r,rp) function s.desrepop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_EFFECT) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_EFFECT)
Duel.Hint(HINT_CARD,0,id) Duel.Hint(HINT_CARD,0,id)
end end
\ No newline at end of file
...@@ -63,4 +63,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -63,4 +63,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
...@@ -96,4 +96,4 @@ end ...@@ -96,4 +96,4 @@ end
function s.eftg(e,c) function s.eftg(e,c)
return c:IsLevelAbove(10) and c:GetOriginalRace()==RACE_WYRM return c:IsLevelAbove(10) and c:GetOriginalRace()==RACE_WYRM
or c:IsSetCard(0x1c0) and c:IsType(TYPE_PENDULUM) or c:IsSetCard(0x1c0) and c:IsType(TYPE_PENDULUM)
end end
\ No newline at end of file
...@@ -110,4 +110,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -110,4 +110,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end end
end end
end end
\ No newline at end of file
...@@ -104,4 +104,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -104,4 +104,4 @@ function s.thop2(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
...@@ -68,4 +68,4 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -68,4 +68,4 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_MZONE,0,1,1,nil,e,tp,co) local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_MZONE,0,1,1,nil,e,tp,co)
Duel.Remove(g,POS_FACEUP,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
\ No newline at end of file
...@@ -58,4 +58,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,4 +58,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end end
function s.atktg(e,c) function s.atktg(e,c)
return not (c:IsType(TYPE_XYZ) and c:IsRank(4)) return not (c:IsType(TYPE_XYZ) and c:IsRank(4))
end end
\ No newline at end of file
...@@ -90,4 +90,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -90,4 +90,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_BATTLE) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_BATTLE)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
end end
\ No newline at end of file
...@@ -83,4 +83,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,4 +83,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(id,4)) e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(id,4))
end end
end end
end end
\ No newline at end of file
...@@ -86,4 +86,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -86,4 +86,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Remove(g,POS_FACEUP,REASON_EFFECT) Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
end end
end end
end end
\ No newline at end of file
...@@ -62,4 +62,4 @@ function s.condition(e) ...@@ -62,4 +62,4 @@ function s.condition(e)
end end
function s.alimit(e,c) function s.alimit(e,c)
return c:IsFacedown() or not (c:IsType(TYPE_LINK) and c:IsSetCard(0x1bf)) return c:IsFacedown() or not (c:IsType(TYPE_LINK) and c:IsSetCard(0x1bf))
end end
\ No newline at end of file
...@@ -85,4 +85,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -85,4 +85,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 not c:IsType(TYPE_LINK) and c:IsLocation(LOCATION_EXTRA) return not c:IsType(TYPE_LINK) and c:IsLocation(LOCATION_EXTRA)
end end
\ No newline at end of file
...@@ -81,4 +81,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,4 +81,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
end end
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
\ No newline at end of file
...@@ -81,4 +81,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,4 +81,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,tg) Duel.ConfirmCards(1-tp,tg)
end end
end end
end end
\ No newline at end of file
...@@ -90,4 +90,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp) ...@@ -90,4 +90,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
or not g:IsExists(Card.IsLocation,1,nil,LOCATION_DECK+LOCATION_EXTRA) then return end or not g:IsExists(Card.IsLocation,1,nil,LOCATION_DECK+LOCATION_EXTRA) then return end
Duel.BreakEffect() Duel.BreakEffect()
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
\ No newline at end of file
...@@ -80,4 +80,4 @@ end ...@@ -80,4 +80,4 @@ end
function s.eftg(e,c) function s.eftg(e,c)
return c:IsLevelAbove(10) and c:GetOriginalRace()==RACE_DINOSAUR return c:IsLevelAbove(10) and c:GetOriginalRace()==RACE_DINOSAUR
or c:IsSetCard(0x1c0) and c:IsType(TYPE_PENDULUM) or c:IsSetCard(0x1c0) and c:IsType(TYPE_PENDULUM)
end end
\ No newline at end of file
...@@ -71,4 +71,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,4 +71,4 @@ function s.spop2(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
...@@ -85,4 +85,4 @@ function s.xyzlv(e,c,rc) ...@@ -85,4 +85,4 @@ function s.xyzlv(e,c,rc)
else else
return c:GetLevel() return c:GetLevel()
end end
end end
\ No newline at end of file
...@@ -111,4 +111,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -111,4 +111,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
end end
\ No newline at end of file
...@@ -116,4 +116,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -116,4 +116,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if tg:GetCount()>0 then if tg:GetCount()>0 then
Duel.Destroy(tg,REASON_EFFECT) Duel.Destroy(tg,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -54,4 +54,4 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -54,4 +54,4 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_MZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_MZONE,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
\ No newline at end of file
...@@ -84,4 +84,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -84,4 +84,4 @@ function s.spop(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
...@@ -85,4 +85,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -85,4 +85,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 not c:IsType(TYPE_LINK) and c:IsLocation(LOCATION_EXTRA) return not c:IsType(TYPE_LINK) and c:IsLocation(LOCATION_EXTRA)
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