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
6594ca84
Commit
6594ca84
authored
Mar 03, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
888
parent
bcb15ec2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
expansions/script/c33400413.lua
expansions/script/c33400413.lua
+4
-3
expansions/script/c33401200.lua
expansions/script/c33401200.lua
+2
-2
No files found.
expansions/script/c33400413.lua
View file @
6594ca84
...
...
@@ -166,15 +166,16 @@ function c33400413.atkop(e,tp,eg,ep,ev,re,r,rp)
end
function
c33400413
.
desfilter1
(
c
)
return
c
:
IsReleasable
()
and
(
c
:
IsSetCard
(
0x341
)
or
c
:
IsSetCard
(
0x340
)
or
c
:
IsSetCard
(
0x6343
))
return
(
c
:
IsSetCard
(
0x341
)
or
c
:
IsSetCard
(
0x340
)
or
c
:
IsSetCard
(
0x6343
))
and
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
end
function
c33400413
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
c33400413
.
desfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c33400413
.
desfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c33400413
.
desfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
2
,
nil
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
2
,
g1
)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g1
,
g1
:
GetCount
(),
0
,
0
)
end
...
...
expansions/script/c33401200.lua
View file @
6594ca84
...
...
@@ -28,7 +28,7 @@ function c33401200.condition(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c33401200
.
cfilter
,
1
,
nil
,
tp
)
end
function
c33401200
.
cfilter2
(
c
,
tp
,
rp
)
return
c
:
IsSetCard
(
0x341
)
and
((
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
))
or
c
:
IsReason
(
REASON_BATTLE
))
return
c
:
IsSetCard
(
0x341
)
and
((
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
))
or
c
:
IsReason
(
REASON_BATTLE
))
end
function
c33401200
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
exccon
(
e
)
and
eg
:
IsExists
(
c33401200
.
cfilter2
,
1
,
nil
,
tp
,
rp
)
...
...
@@ -37,7 +37,7 @@ function c33401200.dfilter(c)
return
c
:
IsSetCard
(
0x341
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsAbleToGrave
()
end
function
c33401200
.
filter
(
c
,
e
,
tp
,
m
,
ft
)
if
not
(
c
:
IsCode
(
33400037
)
or
c
:
IsCode
(
33400222
)
or
c
:
IsCode
(
33400320
))
or
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
if
not
(
c
:
IsCode
(
33400037
)
or
c
:
IsCode
(
33400222
)
or
c
:
IsCode
(
33400320
)
or
c
:
IsCode
(
33400413
)
)
or
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
local
mg
=
m
:
Filter
(
Card
.
IsCanBeRitualMaterial
,
c
,
c
)
local
dg
=
Duel
.
GetMatchingGroup
(
c33401200
.
dfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
nil
)
...
...
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