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
Soulgamer
ygopro-222DIY-cards
Commits
df9c2048
Commit
df9c2048
authored
Mar 10, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
06dec903
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
10 deletions
+13
-10
expansions/script/c12003016.lua
expansions/script/c12003016.lua
+2
-1
expansions/script/c12040012.lua
expansions/script/c12040012.lua
+8
-6
expansions/script/c12040013.lua
expansions/script/c12040013.lua
+1
-1
expansions/script/c12041001.lua
expansions/script/c12041001.lua
+1
-1
expansions/script/c12068010.lua
expansions/script/c12068010.lua
+1
-1
No files found.
expansions/script/c12003016.lua
View file @
df9c2048
...
@@ -21,6 +21,7 @@ function c12003016.initial_effect(c)
...
@@ -21,6 +21,7 @@ function c12003016.initial_effect(c)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c12003016
.
incon1
)
e3
:
SetCondition
(
c12003016
.
incon1
)
e3
:
SetTarget
(
c12003016
.
target
)
e3
:
SetValue
(
c12003016
.
efilter
)
e3
:
SetValue
(
c12003016
.
efilter
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -77,7 +78,7 @@ end
...
@@ -77,7 +78,7 @@ end
function
c12003016
.
efilter
(
e
,
te
)
function
c12003016
.
efilter
(
e
,
te
)
local
g
,
te
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
,
CHAININFO_TRIGGERING_EFFECT
)
local
g
,
te
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
,
CHAININFO_TRIGGERING_EFFECT
)
return
(
not
(
te
and
te
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
))
return
(
not
(
te
and
te
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
))
or
not
(
g
and
g
:
IsContains
(
c
))
)
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
or
not
(
g
and
g
:
IsContains
(
e
:
GetHandler
()
))
)
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
end
end
function
c12003016
.
cfilter
(
c
,
tp
)
function
c12003016
.
cfilter
(
c
,
tp
)
...
...
expansions/script/c12040012.lua
View file @
df9c2048
...
@@ -47,7 +47,9 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,9 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
if
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
12040012
)
and
not
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
1
,
nil
)
and
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
return
end
if
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
12040012
)
then
return
end
if
not
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
1
,
nil
)
then
return
end
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
1
,
1
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
1
,
1
,
nil
)
if
tg
:
GetCount
()
>
0
then
if
tg
:
GetCount
()
>
0
then
...
...
expansions/script/c12040013.lua
View file @
df9c2048
...
@@ -31,7 +31,7 @@ function cm.initial_effect(c)
...
@@ -31,7 +31,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
c
:
Is
Faceup
()
and
c
:
Is
AbleToHand
()
return
c
:
IsAbleToHand
()
end
end
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
return
c
:
IsRace
(
RACE_SEASERPENT
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_SEASERPENT
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c12041001.lua
View file @
df9c2048
...
@@ -84,7 +84,7 @@ function c12041001.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,7 +84,7 @@ function c12041001.tdop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
1
:
SetValue
(
c12041001
.
aclimit
)
e1
:
SetValue
(
c12041001
.
aclimit
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetLabel
(
gc
:
GetCode
())
e1
:
SetLabel
(
gc
:
GetCode
())
...
...
expansions/script/c12068010.lua
View file @
df9c2048
...
@@ -37,7 +37,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -37,7 +37,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
Is
Code
(
12068001
)
and
c
:
IsAbleToHand
()
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
Is
Race
(
RACE_SEASERPENT
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
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