Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
eb6bc943
Commit
eb6bc943
authored
May 03, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
c6c761f5
Pipeline
#12268
passed with stages
in 40 minutes and 12 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
9 deletions
+38
-9
expansions/script/c33200057.lua
expansions/script/c33200057.lua
+1
-1
expansions/script/c33501033.lua
expansions/script/c33501033.lua
+7
-3
expansions/script/c88946422.lua
expansions/script/c88946422.lua
+1
-1
expansions/script/c88946425.lua
expansions/script/c88946425.lua
+15
-3
expansions/script/c88946427.lua
expansions/script/c88946427.lua
+14
-1
No files found.
expansions/script/c33200057.lua
View file @
eb6bc943
...
...
@@ -14,7 +14,7 @@ function c33200057.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c33200057
.
tgcon
)
e1
:
SetTarget
(
c33200057
.
tgtg
)
...
...
expansions/script/c33501033.lua
View file @
eb6bc943
...
...
@@ -23,7 +23,9 @@ function cm.initial_effect(c)
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
re
:
GetHandler
()
Sre_setbackt
[
1
]
=
tc
if
tc
then
Sre_setbackt
[
1
]
=
tc
end
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
res
=
false
...
...
@@ -31,12 +33,13 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
res
=
Sre_setbackt
[
1
]
end
if
chk
==
0
then
return
res
and
res
:
IsControler
(
1
-
tp
)
and
res
:
IsLocation
(
LOCATION_ONFIELD
)
end
res
:
CreateEffectRelation
(
e
)
Duel
.
SetTargetCard
(
res
)
Duel
.
HintSelection
(
Group
.
FromCards
(
res
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
e
:
GetLabelObject
(),
1
,
0
,
0
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Sre_setbackt
[
1
]
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsLocation
(
LOCATION_MZONE
)
then
Duel
.
GetControl
(
tc
,
tp
)
...
...
@@ -63,5 +66,6 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
local
res
=
Sre_setbackt
[
1
]
res
:
ReleaseEffectRelation
(
e
)
end
\ No newline at end of file
expansions/script/c88946422.lua
View file @
eb6bc943
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
rscf
.
SetSummonCondition
(
c
,
false
,
cm
.
sumval
)
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x960
),
2
,
true
)
--local e1=rsef.STO(c,EVENT_SPSUMMON_SUCCESS,{m,0},nil,"th","tg",nil,nil,rstg.target(cm.thfilter,"th",LOCATION_GRAVE),cm.thop)
local
e1
=
rsef
.
STO
(
c
,
EVENT_SPSUMMON_SUCCESS
,{
m
,
0
},
nil
,
"th"
,
"tg"
,
nil
,
nil
,
rstg
.
target
(
cm
.
setfilter
,
nil
,
LOCATION_GRAVE
),
cm
.
setop
)
local
e1
=
rsef
.
STO
(
c
,
EVENT_SPSUMMON_SUCCESS
,{
m
,
0
},
nil
,
"th"
,
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
,
nil
,
nil
,
rstg
.
target
(
cm
.
setfilter
,
nil
,
LOCATION_GRAVE
),
cm
.
setop
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
1
},
nil
,
nil
,
nil
,
LOCATION_MZONE
,
nil
,
rscost
.
cost
(
Card
.
IsReleasable
,
"res"
),
nil
,
cm
.
imop
)
local
e3
=
rscf
.
SetSpecialSummonProduce
(
c
,
LOCATION_EXTRA
,
cm
.
spcon
,
cm
.
spop
)
end
...
...
expansions/script/c88946425.lua
View file @
eb6bc943
...
...
@@ -15,7 +15,6 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
e
:
GetHandler
():
IsStatus
(
STATUS_ACT_FROM_HAND
)
and
Duel
.
GetTurnPlayer
()
~=
tp
then
Duel
.
RegisterFlagEffect
(
tp
,
88946420
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Debug
.
Message
(
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
88946420
))
end
end
function
cm
.
handcon
(
e
)
...
...
@@ -36,7 +35,20 @@ end
function
cm
.
disop
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
tc
=
rscf
.
GetTargetCard
(
aux
.
disfilter1
)
local
e1
=
rsef
.
FV_LIMIT_PLAYER
({
c
,
tp
},
"sum,sp"
,
nil
,
cm
.
spval
,{
1
,
0
},
nil
,{
rsreset
.
pend
,
2
})
local
el1
=
Effect
.
CreateEffect
(
c
)
el1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
el1
:
SetType
(
EFFECT_TYPE_FIELD
)
el1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
el1
:
SetTarget
(
cm
.
sumlimit
)
el1
:
SetTargetRange
(
1
,
0
)
el1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
c
:
RegisterEffect
(
el1
,
tp
)
local
el2
=
el1
:
Clone
()
el2
:
SetCode
(
EFFECT_CANNOT_MSET
)
c
:
RegisterEffect
(
el2
)
local
el3
=
el1
:
Clone
()
el3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
c
:
RegisterEffect
(
el3
)
if
not
tc
then
return
end
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
,
e2
=
rsef
.
SV_LIMIT
({
c
,
tc
},
"dis,dise"
,
nil
,
nil
,
rsreset
.
est_pend
)
...
...
@@ -48,6 +60,6 @@ function cm.disop(e,tp)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
rssf
.
SpecialSummon
(
sg
)
end
function
cm
.
s
pval
(
e
,
c
)
function
cm
.
s
umlimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x960
)
end
\ No newline at end of file
expansions/script/c88946427.lua
View file @
eb6bc943
...
...
@@ -32,7 +32,20 @@ end
function
cm
.
desop
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
tc
=
rscf
.
GetTargetCard
()
local
e1
=
rsef
.
FV_LIMIT_PLAYER
({
c
,
tp
},
"sum,sp"
,
nil
,
cm
.
spval
,{
1
,
0
},
nil
,{
rsreset
.
pend
,
2
})
local
el1
=
Effect
.
CreateEffect
(
c
)
el1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
el1
:
SetType
(
EFFECT_TYPE_FIELD
)
el1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
el1
:
SetTarget
(
cm
.
spval
)
el1
:
SetTargetRange
(
1
,
0
)
el1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
c
:
RegisterEffect
(
el1
,
tp
)
local
el2
=
el1
:
Clone
()
el2
:
SetCode
(
EFFECT_CANNOT_MSET
)
c
:
RegisterEffect
(
el2
)
local
el3
=
el1
:
Clone
()
el3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
c
:
RegisterEffect
(
el3
)
if
not
tc
or
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
<=
0
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_EXTRA
+
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
if
#
g
<=
0
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
return
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment