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
abf50a90
Commit
abf50a90
authored
Sep 14, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
8d16a02f
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
10 deletions
+10
-10
expansions/script/c12015010.lua
expansions/script/c12015010.lua
+1
-1
expansions/script/c12017001.lua
expansions/script/c12017001.lua
+3
-3
expansions/script/c12017002.lua
expansions/script/c12017002.lua
+1
-1
expansions/script/c12017003.lua
expansions/script/c12017003.lua
+1
-1
expansions/script/c12017004.lua
expansions/script/c12017004.lua
+1
-1
expansions/script/c12017005.lua
expansions/script/c12017005.lua
+1
-1
expansions/script/c12017006.lua
expansions/script/c12017006.lua
+1
-1
expansions/script/c12041001.lua
expansions/script/c12041001.lua
+1
-1
No files found.
expansions/script/c12015010.lua
View file @
abf50a90
...
...
@@ -69,7 +69,7 @@ function cm.chainfilter(re,tp,cid)
and
Duel
.
GetChainInfo
(
cid
,
CHAININFO_TRIGGERING_LOCATION
)
==
LOCATION_HAND
)
end
function
cm
.
spfilter
(
c
,
fc
,
tp
)
return
c
:
IsRace
(
RACE_S
PELLCASTER
)
and
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
and
not
c
:
IsFusionType
(
TYPE_FUSION
)
return
c
:
IsRace
(
RACE_S
EASERPENT
)
and
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
and
not
c
:
IsFusionType
(
TYPE_FUSION
)
and
c
:
IsReleasable
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
fc
)
>
0
and
c
:
IsCanBeFusionMaterial
(
fc
,
SUMMON_TYPE_SPECIAL
)
end
function
cm
.
spcon
(
e
,
c
)
...
...
expansions/script/c12017001.lua
View file @
abf50a90
...
...
@@ -50,7 +50,7 @@ function cm.initial_effect(c)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Sr_shts
.
reffect
(
c
,
code
,
CATEGORY_DRAW
+
CATEGORY_TOHAND
)
local
e3
=
Sr_shts
.
reffect
(
c
,
m
,
CATEGORY_DRAW
+
CATEGORY_TOHAND
)
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x6fa6
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
...
...
@@ -72,7 +72,7 @@ function cm.rtg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
cm
.
r
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
r
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c12017002.lua
View file @
abf50a90
...
...
@@ -14,7 +14,7 @@ function cm.initial_effect(c)
e1
:
SetCondition
(
cm
.
spcon
)
c
:
RegisterEffect
(
e1
)
local
e3
=
Sr_shts
.
reffect
(
c
,
code
)
local
e3
=
Sr_shts
.
reffect
(
c
,
m
)
end
function
cm
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
expansions/script/c12017003.lua
View file @
abf50a90
...
...
@@ -18,7 +18,7 @@ function cm.initial_effect(c)
e1
:
SetOperation
(
cm
.
tdop
)
c
:
RegisterEffect
(
e1
)
local
e3
=
Sr_shts
.
reffect
(
c
,
code
,
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
local
e3
=
Sr_shts
.
reffect
(
c
,
m
,
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c12017004.lua
View file @
abf50a90
...
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
e1
:
SetValue
(
cm
.
efilter
)
c
:
RegisterEffect
(
e1
)
local
e3
=
Sr_shts
.
reffect
(
c
,
code
,
CATEGORY_REMOVE
)
local
e3
=
Sr_shts
.
reffect
(
c
,
m
,
CATEGORY_REMOVE
)
end
function
cm
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
)
...
...
expansions/script/c12017005.lua
View file @
abf50a90
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
--redirect
local
e0
=
Sr_shts
.
peffect
(
c
)
local
e3
=
Sr_shts
.
reffect
(
c
,
code
,
CATEGORY_DESTROY
)
local
e3
=
Sr_shts
.
reffect
(
c
,
m
,
CATEGORY_DESTROY
)
--disable
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c12017006.lua
View file @
abf50a90
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
--redirect
local
e0
=
Sr_shts
.
peffect
(
c
)
local
e3
=
Sr_shts
.
reffect
(
c
,
code
,
CATEGORY_REMOVE
)
local
e3
=
Sr_shts
.
reffect
(
c
,
m
,
CATEGORY_REMOVE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c12041001.lua
View file @
abf50a90
...
...
@@ -78,7 +78,7 @@ function c12041001.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c12041001
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
REASON_EFFECT
)
~=
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
~=
0
then
local
gc
=
g
:
GetFirst
()
while
gc
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
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