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
d2047381
Commit
d2047381
authored
Apr 21, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c11c00ba
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
script/c100227014.lua
script/c100227014.lua
+1
-0
script/c100227027.lua
script/c100227027.lua
+2
-2
script/c100227028.lua
script/c100227028.lua
+2
-2
script/c100227044.lua
script/c100227044.lua
+5
-2
No files found.
script/c100227014.lua
View file @
d2047381
...
@@ -32,6 +32,7 @@ function c100227014.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -32,6 +32,7 @@ function c100227014.tdop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
then
local
g
=
Group
.
FromCards
(
c
,
tc
)
local
g
=
Group
.
FromCards
(
c
,
tc
)
if
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
==
0
then
return
end
if
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
==
0
then
return
end
Duel
.
ShuffleDeck
(
tp
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
...
...
script/c100227027.lua
View file @
d2047381
...
@@ -43,8 +43,8 @@ function c100227027.initial_effect(c)
...
@@ -43,8 +43,8 @@ function c100227027.initial_effect(c)
end
end
function
c100227027
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100227027
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
~=
tp
and
e
:
GetHandler
():
GetFlagEffect
(
100227127
)
==
0
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
~=
tp
and
e
:
GetHandler
():
GetFlagEffect
(
100227127
)
==
0
end
c
:
RegisterFlagEffect
(
100227127
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
c
:
RegisterFlagEffect
(
100227127
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
return
true
return
true
end
end
function
c100227027
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100227027
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100227028.lua
View file @
d2047381
...
@@ -44,8 +44,8 @@ function c100227028.initial_effect(c)
...
@@ -44,8 +44,8 @@ function c100227028.initial_effect(c)
end
end
function
c100227028
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100227028
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
~=
tp
and
e
:
GetHandler
():
GetFlagEffect
(
100227128
)
==
0
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
~=
tp
and
e
:
GetHandler
():
GetFlagEffect
(
100227128
)
==
0
end
c
:
RegisterFlagEffect
(
100227128
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
100227128
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
return
true
return
true
end
end
function
c100227028
.
acfilter
(
c
)
function
c100227028
.
acfilter
(
c
)
...
...
script/c100227044.lua
View file @
d2047381
...
@@ -38,10 +38,13 @@ function c100227044.initial_effect(c)
...
@@ -38,10 +38,13 @@ function c100227044.initial_effect(c)
e3
:
SetOperation
(
c100227044
.
posop
)
e3
:
SetOperation
(
c100227044
.
posop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c100227044
.
costfilter
(
c
)
return
c
:
IsAbleToGraveAsCost
()
and
c
:
GetSequence
()
<
5
end
function
c100227044
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100227044
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100227044
.
costfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100227044
.
costfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
end
function
c100227044
.
spfilter
(
c
,
e
,
tp
,
tid
)
function
c100227044
.
spfilter
(
c
,
e
,
tp
,
tid
)
...
...
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