Commit 2494a436 authored by salix5's avatar salix5

newline

parent a6384966
......@@ -77,4 +77,4 @@ function s.acop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
\ No newline at end of file
end
......@@ -73,4 +73,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
end
function s.flipop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1)
end
\ No newline at end of file
end
......@@ -72,4 +72,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
\ No newline at end of file
end
......@@ -98,4 +98,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
g:Sub(sg)
Duel.SendtoGrave(g,REASON_RULE)
end
end
\ No newline at end of file
end
......@@ -57,4 +57,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
\ No newline at end of file
end
......@@ -89,4 +89,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
end
\ No newline at end of file
end
......@@ -81,4 +81,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
rc:RegisterEffect(e2,true)
end
rc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(id,3))
end
\ No newline at end of file
end
......@@ -92,4 +92,4 @@ end
function s.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
......@@ -64,4 +64,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect()
Duel.SendtoHand(rc,nil,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -83,4 +83,4 @@ end
function s.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc) then Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) end
end
\ No newline at end of file
end
......@@ -87,4 +87,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.spop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) then
if Duel.SpecialSummon(c,0,tp,1-tp,false,false,POS_FACEDOWN_DEFENSE)>0 then Duel.ConfirmCards(tp,c) end
end
end
\ No newline at end of file
end
......@@ -77,4 +77,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) and tc:IsType(TYPE_MONSTER) then
Duel.Destroy(tc,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -98,4 +98,4 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
end
function s.eqlimit(e,c)
return c==e:GetLabelObject()
end
\ No newline at end of file
end
......@@ -71,4 +71,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
......@@ -105,4 +105,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
......@@ -68,4 +68,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
......@@ -96,4 +96,4 @@ end
function s.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) then Duel.SSet(tp,c) end
end
\ No newline at end of file
end
......@@ -103,4 +103,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(-atk)
tc:RegisterEffect(e1)
end
end
\ No newline at end of file
end
......@@ -75,4 +75,4 @@ function s.raceop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
c:RegisterEffect(e1)
end
end
\ No newline at end of file
end
......@@ -94,4 +94,4 @@ function s.chkcon(e)
end
function s.eqlimit(e,c)
return c==e:GetLabelObject()
end
\ No newline at end of file
end
......@@ -109,4 +109,4 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
end
function s.eqlimit(e,c)
return c==e:GetOwner()
end
\ No newline at end of file
end
......@@ -63,4 +63,4 @@ end
function s.desop(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_ONFIELD,nil)
Duel.Destroy(sg,REASON_EFFECT)
end
\ No newline at end of file
end
......@@ -82,4 +82,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(1000)
tc:RegisterEffect(e1)
end
end
\ No newline at end of file
end
......@@ -75,4 +75,4 @@ function s.value(e,c)
local tc=e:GetHandler():GetEquipTarget()
local g=tc:GetEquipGroup()
return g:GetSum(Card.GetLink)*600
end
\ No newline at end of file
end
......@@ -104,4 +104,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
Duel.RaiseSingleEvent(oc,EVENT_DETACH_MATERIAL,e,0,0,0,0)
Duel.RaiseEvent(oc,EVENT_DETACH_MATERIAL,e,0,0,0,0)
end
end
\ No newline at end of file
end
......@@ -91,4 +91,4 @@ function s.desrepop(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject()
tc:SetStatus(STATUS_DESTROY_CONFIRMED,false)
Duel.Destroy(tc,REASON_EFFECT+REASON_REPLACE)
end
\ No newline at end of file
end
......@@ -65,4 +65,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
\ No newline at end of file
end
......@@ -89,4 +89,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -50,4 +50,4 @@ function s.handcon(e)
end
function s.aclimit(e,re,tp)
return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttribute(ATTRIBUTE_LIGHT+ATTRIBUTE_EARTH+ATTRIBUTE_WIND)
end
\ No newline at end of file
end
......@@ -87,4 +87,4 @@ function s.gcop(e,tp,eg,ep,ev,re,r,rp)
Duel.GetControl(g:GetFirst(),tp,PHASE_END,1)
end
end
end
\ No newline at end of file
end
......@@ -107,4 +107,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local d=Duel.GetFieldGroupCount(e:GetOwnerPlayer(),LOCATION_HAND,0)-(Duel.GetFieldGroupCount(e:GetOwnerPlayer(),0,LOCATION_ONFIELD)+6)
local sg=g:RandomSelect(e:GetOwnerPlayer(),d)
Duel.SendtoDeck(sg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end
\ No newline at end of file
end
......@@ -85,4 +85,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
end
end
\ No newline at end of file
end
......@@ -75,4 +75,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(g)
Duel.SendtoGrave(g,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -67,4 +67,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if tg:GetCount()>0 then
Duel.Destroy(tg,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -76,4 +76,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
......@@ -52,4 +52,4 @@ end
function s.atkval(e,c)
local g=Duel.GetMatchingGroup(s.atkfilter,e:GetHandlerPlayer(),LOCATION_GRAVE,0,nil)
return g:GetSum(Card.GetLink)*400
end
\ No newline at end of file
end
......@@ -87,4 +87,4 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
local pos=Duel.SelectPosition(tp,tc,POS_FACEUP)
Duel.ChangePosition(tc,pos)
end
end
\ No newline at end of file
end
......@@ -81,4 +81,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function s.splimit(e,c)
return not c:IsAttribute(ATTRIBUTE_WATER) and c:IsLocation(LOCATION_EXTRA)
end
\ No newline at end of file
end
......@@ -130,4 +130,4 @@ function s.tkop(e,tp,eg,ep,ev,re,r,rp)
until count==0
Duel.SpecialSummonComplete()
end
end
\ No newline at end of file
end
......@@ -74,4 +74,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if tc then
Duel.SSet(tp,tc)
end
end
\ No newline at end of file
end
......@@ -94,4 +94,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
......@@ -33,4 +33,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.Destroy(g,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -107,4 +107,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
and c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
......@@ -87,4 +87,4 @@ function s.mtop(e,tp,eg,ep,ev,re,r,rp)
tc:CancelToGrave()
Duel.Overlay(g:GetFirst(),Group.FromCards(tc))
end
end
\ No newline at end of file
end
......@@ -63,4 +63,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function s.splimit(e,c)
return not c:IsType(TYPE_XYZ) and c:IsLocation(LOCATION_EXTRA)
end
\ No newline at end of file
end
......@@ -87,4 +87,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(LOCATION_REMOVED)
tc:RegisterEffect(e1)
end
end
\ No newline at end of file
end
......@@ -89,4 +89,4 @@ function s.xyzlv(e,c,rc)
else
return c:GetLevel()
end
end
\ No newline at end of file
end
......@@ -90,4 +90,4 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(-1)
tc:RegisterEffect(e1)
end
end
\ No newline at end of file
end
......@@ -106,4 +106,4 @@ end
function s.aclimit(e,re,tp)
local rc=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and rc:IsSummonType(SUMMON_TYPE_SPECIAL) and rc:IsLocation(LOCATION_MZONE)
end
\ No newline at end of file
end
......@@ -87,4 +87,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>2 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
......@@ -106,4 +106,4 @@ end
function s.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) then Duel.SSet(tp,c) end
end
\ No newline at end of file
end
......@@ -83,4 +83,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function s.splimit(e,c)
return not c:IsRace(RACE_FIEND) and c:IsLocation(LOCATION_EXTRA)
end
\ No newline at end of file
end
......@@ -91,4 +91,4 @@ function s.tnop(e,tp,eg,ep,ev,re,r,rp)
end
function s.tunerval(e,sc)
return sc:IsControler(e:GetHandlerPlayer())
end
\ No newline at end of file
end
......@@ -101,4 +101,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp)
local msg=mg:SelectSubGroup(tp,s.exgselect,false,1,#mg,sc,c)
Duel.XyzSummon(tp,sc,msg,#msg,#msg)
end
end
\ No newline at end of file
end
......@@ -119,4 +119,4 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(tg)
Duel.Equip(tp,ec,tg:GetFirst())
end
end
\ No newline at end of file
end
......@@ -99,4 +99,4 @@ function s.dreptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function s.drepop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_EFFECT)
end
\ No newline at end of file
end
......@@ -99,4 +99,4 @@ function s.thop2(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
......@@ -96,4 +96,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
......@@ -98,4 +98,4 @@ function s.damop(e,tp,eg,ep,ev,re,r,rp)
local dam=Duel.GetMatchingGroupCount(s.damfilter,tp,LOCATION_REMOVED,0,nil)*100
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
Duel.Damage(p,dam,REASON_EFFECT)
end
\ No newline at end of file
end
......@@ -70,4 +70,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
......@@ -87,4 +87,4 @@ function s.thop2(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
......@@ -98,4 +98,4 @@ function s.regcon(e,tp,eg,ep,ev,re,r,rp)
end
function s.regop1(e,tp,eg,ep,ev,re,r,rp)
e:GetLabelObject():SetLabel(ev)
end
\ No newline at end of file
end
......@@ -76,4 +76,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e4:SetCode(EFFECT_SET_DEFENSE_FINAL)
tc:RegisterEffect(e4)
end
end
\ No newline at end of file
end
......@@ -74,4 +74,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
Duel.SSet(tp,c)
end
end
end
\ No newline at end of file
end
......@@ -66,4 +66,4 @@ function s.cop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
\ No newline at end of file
end
......@@ -75,4 +75,4 @@ function s.attop(e,tp,eg,ep,ev,re,r,rp)
end
function s.valcon(e,re,r,rp)
return bit.band(r,REASON_EFFECT)~=0
end
\ No newline at end of file
end
......@@ -81,4 +81,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
rc:RegisterEffect(e2,true)
end
rc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(id,3))
end
\ No newline at end of file
end
......@@ -81,4 +81,4 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(g)
Duel.Damage(1-tp,tc:GetBaseAttack(),REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -201,4 +201,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
tc:CancelToGrave()
Duel.Overlay(c,Group.FromCards(tc))
end
end
\ No newline at end of file
end
......@@ -113,4 +113,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect()
local g2=Duel.GetMatchingGroup(s.rmfilter1,tp,0,LOCATION_MZONE,nil)
Duel.Remove(g2,POS_FACEUP,REASON_EFFECT)
end
\ No newline at end of file
end
......@@ -81,4 +81,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
......@@ -81,4 +81,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
......@@ -78,4 +78,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(sg,nil,SEQ_DECKBOTTOM,REASON_EFFECT)
end
end
end
\ No newline at end of file
end
......@@ -84,4 +84,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -39,4 +39,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(g,REASON_EFFECT)
end
end
end
\ No newline at end of file
end
......@@ -99,4 +99,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 and Duel.SendtoHand(g,nil,REASON_EFFECT)~=0 then
Duel.ConfirmCards(1-tp,g)
end
end
\ No newline at end of file
end
......@@ -90,4 +90,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
......@@ -80,4 +80,4 @@ function s.atkop(e,tp,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
d:RegisterEffect(e1)
end
end
\ No newline at end of file
end
......@@ -53,4 +53,4 @@ function s.reop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
\ No newline at end of file
end
......@@ -82,4 +82,4 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function s.negop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateActivation(ev)
end
\ No newline at end of file
end
......@@ -93,4 +93,4 @@ function s.tgval(e,re,rp)
end
function s.efilter(e,re)
return re:IsActiveType(TYPE_MONSTER+TYPE_SPELL)
end
\ No newline at end of file
end
......@@ -92,4 +92,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
end
end
end
\ No newline at end of file
end
......@@ -161,4 +161,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
......@@ -69,4 +69,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp)
local sg=g:Select(tp,1,1,nil)
Duel.SynchroSummon(tp,sg:GetFirst(),c)
end
end
\ No newline at end of file
end
......@@ -100,4 +100,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
end
\ No newline at end of file
end
......@@ -99,4 +99,4 @@ function s.tsop(e,tp,eg,ep,ev,re,r,rp)
end
function s.eqlimit(e,c)
return c==e:GetLabelObject()
end
\ No newline at end of file
end
......@@ -62,4 +62,4 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) and tc:IsType(TYPE_MONSTER) then
Duel.ChangePosition(tc,POS_FACEUP_ATTACK)
end
end
\ No newline at end of file
end
......@@ -85,4 +85,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
and c:IsRelateToEffect(e) then
Duel.SendtoHand(c,nil,REASON_EFFECT)
end
end
\ No newline at end of file
end
......@@ -89,4 +89,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(g,REASON_EFFECT)
end
end
end
\ No newline at end of file
end
......@@ -60,4 +60,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc) then
Duel.SendtoHand(tc,nil,REASON_EFFECT)
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