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
a3bef989
Commit
a3bef989
authored
Dec 25, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
69962373
Pipeline
#8121
passed with stages
in 30 minutes and 44 seconds
Changes
11
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
12 additions
and
12 deletions
+12
-12
expansions/script/c12062011.lua
expansions/script/c12062011.lua
+1
-1
expansions/script/c12062013.lua
expansions/script/c12062013.lua
+1
-1
expansions/script/c12062030.lua
expansions/script/c12062030.lua
+1
-1
expansions/script/c12062033.lua
expansions/script/c12062033.lua
+1
-1
expansions/script/c12062040.lua
expansions/script/c12062040.lua
+1
-1
expansions/script/c12062043.lua
expansions/script/c12062043.lua
+1
-1
expansions/script/c12062050.lua
expansions/script/c12062050.lua
+1
-1
expansions/script/c12062053.lua
expansions/script/c12062053.lua
+1
-1
expansions/script/c12062060.lua
expansions/script/c12062060.lua
+1
-1
expansions/script/c33701421.lua
expansions/script/c33701421.lua
+2
-2
expansions/script/c33720028.lua
expansions/script/c33720028.lua
+1
-1
No files found.
expansions/script/c12062011.lua
View file @
a3bef989
...
...
@@ -50,7 +50,7 @@ function cm.initial_effect(c)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
thfilter
(
c
,
tg
)
return
c
:
GetCode
()
==
tg
...
...
expansions/script/c12062013.lua
View file @
a3bef989
...
...
@@ -46,7 +46,7 @@ function cm.initial_effect(c)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c12062030.lua
View file @
a3bef989
...
...
@@ -43,7 +43,7 @@ function cm.initial_effect(c)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
expansions/script/c12062033.lua
View file @
a3bef989
...
...
@@ -46,7 +46,7 @@ function cm.initial_effect(c)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c12062040.lua
View file @
a3bef989
...
...
@@ -40,7 +40,7 @@ function cm.initial_effect(c)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
Duel
.
GetCurrentPhase
()
<
PHASE_BATTLE_START
...
...
expansions/script/c12062043.lua
View file @
a3bef989
...
...
@@ -47,7 +47,7 @@ function cm.initial_effect(c)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c12062050.lua
View file @
a3bef989
...
...
@@ -45,7 +45,7 @@ function cm.initial_effect(c)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
expansions/script/c12062053.lua
View file @
a3bef989
...
...
@@ -47,7 +47,7 @@ function cm.initial_effect(c)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c12062060.lua
View file @
a3bef989
...
...
@@ -48,7 +48,7 @@ function cm.contcon(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
expansions/script/c33701421.lua
View file @
a3bef989
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
condition
)
e2
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e3
:
SetTarget
(
cm
.
reptg
)
...
...
@@ -63,7 +63,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
return
true
end
function
cm
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
math.ceil
(
c
:
GetCounter
(
0x144e
)
/
2
)
local
ct
=
math.ceil
(
e
:
GetHandler
()
:
GetCounter
(
0x144e
)
/
2
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x144e
,
ct
,
REASON_EFFECT
)
end
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33720028.lua
View file @
a3bef989
...
...
@@ -106,7 +106,7 @@ function s.op2(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
IsChainDisablable
(
0
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
0
,
LOCATION_HAND
,
diff
,
nil
,
REASON_EFFECT
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_DISCARD
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsDiscardable
,
tp
,
0
,
LOCATION_HAND
,
diff
,
diff
,
nil
,
REASON_EFFECT
)
if
#
g
>
0
and
Duel
.
SendtoGrave
(
s
g
,
REASON_EFFECT
+
REASON_DISCARD
)
>
0
then
if
#
g
>
0
and
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
>
0
then
Duel
.
NegateEffect
(
0
)
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