Commit 443e0580 authored by salix5's avatar salix5

newline

parent 86c1d407
......@@ -77,4 +77,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
end
function s.atkcon(e)
return Duel.IsExistingMatchingCard(s.cfilter,e:GetHandlerPlayer(),LOCATION_GRAVE+LOCATION_ONFIELD,0,1,nil)
end
\ No newline at end of file
end
......@@ -85,4 +85,4 @@ end
function c12612470.posop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c12612470.posfilter,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler(),e)
Duel.ChangePosition(g,POS_FACEDOWN_DEFENSE)
end
\ No newline at end of file
end
......@@ -72,4 +72,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Recover(p,d,REASON_EFFECT)
end
end
end
\ No newline at end of file
end
......@@ -78,4 +78,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then
Duel.SendtoDeck(e:GetHandler(),nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -92,4 +92,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc)
end
end
\ No newline at end of file
end
......@@ -50,4 +50,4 @@ function c24079759.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
......@@ -90,4 +90,4 @@ function s.activate3(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(g,REASON_EFFECT)
end
end
end
\ No newline at end of file
end
......@@ -76,4 +76,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function s.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsRace(RACE_PLANT)
end
\ No newline at end of file
end
......@@ -95,4 +95,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
if tg:GetCount()>0 then
Duel.SpecialSummon(tg,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
end
end
\ No newline at end of file
end
......@@ -147,4 +147,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
end
tc:CompleteProcedure()
end
end
\ No newline at end of file
end
......@@ -69,4 +69,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
\ No newline at end of file
end
......@@ -80,4 +80,4 @@ end
function s.efilter(e,te)
return (te:IsActiveType(TYPE_MONSTER) and te:GetOwner()~=e:GetOwner()) or (te:GetOwnerPlayer()~=e:GetOwnerPlayer() and te:IsActivated()
and te:IsActiveType(TYPE_SPELL))
end
\ No newline at end of file
end
......@@ -99,4 +99,4 @@ function s.spfgop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,1-tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
......@@ -77,4 +77,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(c,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,c)
end
end
\ No newline at end of file
end
......@@ -39,4 +39,4 @@ function c27868563.spop(e,tp,eg,ep,ev,re,r,rp)
end
function c27868563.splimit(e,c)
return c:IsCode(27868563)
end
\ No newline at end of file
end
......@@ -96,4 +96,4 @@ function c34001672.mtop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.Overlay(c,g)
end
end
\ No newline at end of file
end
......@@ -115,4 +115,4 @@ function s.penop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) then
Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
end
\ No newline at end of file
end
......@@ -54,4 +54,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Overlay(sc,Group.FromCards(tc))
end
end
end
\ No newline at end of file
end
......@@ -89,4 +89,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1)
end
Duel.SpecialSummonComplete()
end
\ No newline at end of file
end
......@@ -56,4 +56,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) then
Duel.SendtoHand(tc,nil,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -118,4 +118,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1)
end
end
end
\ No newline at end of file
end
......@@ -65,4 +65,4 @@ function s.operation2(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(TYPE_TRAP+TYPE_CONTINUOUS)
tc:RegisterEffect(e1)
end
end
\ No newline at end of file
end
......@@ -87,4 +87,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e2)
end
end
\ No newline at end of file
end
......@@ -71,4 +71,4 @@ function c50951254.spop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1,true)
Duel.Draw(tp,1,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -50,4 +50,4 @@ function s.tsop(e,tp,eg,ep,ev,re,r,rp,chk)
end
function s.filter(c,e,tp,chk)
return c:IsRace(RACE_DRAGON+RACE_WARRIOR) and c:IsType(TYPE_RITUAL) and c:IsAttribute(ATTRIBUTE_LIGHT) and (not chk or c~=e:GetHandler())
end
\ No newline at end of file
end
......@@ -68,4 +68,4 @@ function c51473858.spop2(e,tp,eg,ep,ev,re,r,rp)
end
Duel.SpecialSummonComplete()
end
end
\ No newline at end of file
end
......@@ -48,4 +48,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,true,false,POS_FACEUP)
end
end
\ No newline at end of file
end
......@@ -57,4 +57,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
......@@ -61,4 +61,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
......@@ -72,4 +72,4 @@ function s.drop(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
......@@ -59,4 +59,4 @@ function c64257161.spop2(e,tp,eg,ep,ev,re,r,rp)
end
Duel.SpecialSummonComplete()
end
end
\ No newline at end of file
end
......@@ -90,4 +90,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
tc=g:GetNext()
end
end
end
\ No newline at end of file
end
......@@ -74,4 +74,4 @@ function s.atklimit(e,c)
end
function s.reftg(e,c)
return c:IsFaceup() and c:IsSetCard(0x1a5)
end
\ No newline at end of file
end
......@@ -62,4 +62,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
function s.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsSetCard(0xd0,0xc7) and c:IsLocation(LOCATION_EXTRA)
end
\ No newline at end of file
end
......@@ -92,4 +92,4 @@ function s.spsop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,s.sfilter,tp,LOCATION_SZONE,0,1,1,nil,e,tp)
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end
\ No newline at end of file
end
......@@ -89,4 +89,4 @@ function s.adop(e,tp,eg,ep,ev,re,r,rp)
tc=g:GetNext()
end
end
end
\ No newline at end of file
end
......@@ -55,4 +55,4 @@ function c74289646.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(sg)
Duel.Destroy(sg,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -54,4 +54,4 @@ end
function c85401123.drop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Draw(p,d,REASON_EFFECT)
end
\ No newline at end of file
end
......@@ -81,4 +81,4 @@ end
function s.gfcon(e)
local c=e:GetHandler()
return c:IsSetCard(0xba) and c:IsType(TYPE_XYZ)
end
\ No newline at end of file
end
......@@ -70,4 +70,4 @@ function s.fpop(e,tp,eg,ep,ev,re,r,rp)
Duel.ChangePosition(g:GetFirst(),POS_FACEDOWN_DEFENSE)
end
end
end
\ No newline at end of file
end
......@@ -118,4 +118,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
end
function s.fuslimit(e,c,sumtype)
return sumtype==SUMMON_TYPE_FUSION
end
\ No newline at end of file
end
......@@ -90,4 +90,4 @@ function s.mvop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(TYPE_SPELL+TYPE_CONTINUOUS)
tc:RegisterEffect(e1)
end
end
\ No newline at end of file
end
......@@ -68,4 +68,4 @@ function s.adop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1)
Duel.BreakEffect()
Duel.Damage(1-tp,dam*300,REASON_EFFECT)
end
\ No newline at end of file
end
......@@ -119,4 +119,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
tc:CompleteProcedure()
end
end
\ No newline at end of file
end
......@@ -88,4 +88,4 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
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