Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
ff3f0b92
Commit
ff3f0b92
authored
Mar 27, 2023
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cd0e9c37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
script/c100420003.lua
script/c100420003.lua
+1
-1
script/c100420017.lua
script/c100420017.lua
+3
-3
No files found.
script/c100420003.lua
View file @
ff3f0b92
...
...
@@ -11,7 +11,7 @@ function c100420003.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
100420003
+
100
)
e1
:
SetCountLimit
(
1
,
100420003
)
e1
:
SetTarget
(
c100420003
.
thtg
)
e1
:
SetOperation
(
c100420003
.
thop
)
c
:
RegisterEffect
(
e1
)
...
...
script/c100420017.lua
View file @
ff3f0b92
...
...
@@ -83,13 +83,13 @@ function c100420017.indesop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
end
function
c100420017
.
descfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
+
ATTRIBUTE_
DARK
)
and
not
c
:
IsPublic
()
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
+
ATTRIBUTE_
FIRE
)
and
not
c
:
IsPublic
()
end
function
c100420017
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
c100420017
.
descfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
)
if
chk
==
0
then
return
g
:
CheckSubGroup
(
aux
.
gfcheck
,
2
,
2
,
Card
.
IsAttribute
,
ATTRIBUTE_EARTH
,
ATTRIBUTE_
DARK
)
end
if
chk
==
0
then
return
g
:
CheckSubGroup
(
aux
.
gfcheck
,
2
,
2
,
Card
.
IsAttribute
,
ATTRIBUTE_EARTH
,
ATTRIBUTE_
FIRE
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
gfcheck
,
false
,
2
,
2
,
Card
.
IsAttribute
,
ATTRIBUTE_EARTH
,
ATTRIBUTE_
DARK
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
gfcheck
,
false
,
2
,
2
,
Card
.
IsAttribute
,
ATTRIBUTE_EARTH
,
ATTRIBUTE_
FIRE
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
ShuffleHand
(
tp
)
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