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
d409a109
Commit
d409a109
authored
Oct 22, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f57fe547
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
116 additions
and
143 deletions
+116
-143
script/c100259001.lua
script/c100259001.lua
+1
-1
script/c100423045.lua
script/c100423045.lua
+2
-2
script/c100423048.lua
script/c100423048.lua
+11
-9
script/c100423049.lua
script/c100423049.lua
+100
-130
script/c101011053.lua
script/c101011053.lua
+2
-1
No files found.
script/c100259001.lua
View file @
d409a109
...
...
@@ -60,7 +60,7 @@ function c100259001.mfilter(c)
return
c
:
IsFusionCode
(
74677422
)
or
(
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsFusionType
(
TYPE_EFFECT
))
end
function
c100259001
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffectLabel
(
100259101
)
>
0
return
e
:
GetHandler
():
GetFlagEffectLabel
(
100259101
)
and
e
:
GetHandler
():
GetFlagEffectLabel
(
100259101
)
>
0
end
function
c100259001
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
script/c100423045.lua
View file @
d409a109
...
...
@@ -52,8 +52,8 @@ function c100423045.spcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c100423045
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ec
=
eg
:
GetFirst
()
if
chk
==
0
then
return
(
ec
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
(
ec
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
)
>
0
)
end
if
chk
==
0
then
return
(
(
ec
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
(
ec
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
)
>
0
)
)
and
ec
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetTargetCard
(
ec
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
ec
,
1
,
0
,
0
)
end
...
...
script/c100423048.lua
View file @
d409a109
...
...
@@ -55,18 +55,20 @@ function c100423048.thfilter(c,p)
end
function
c100423048
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
1
-
rp
,
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
1
,
1
-
rp
,
LOCATION_HAND
)
local
p
=
1
-
ep
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
p
,
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
1
,
p
,
LOCATION_HAND
)
end
function
c100423048
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
e
:
GetLabelObject
():
Filter
(
c100423048
.
thfilter
,
nil
,
1
-
rp
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
1
-
rp
,
aux
.
Stringid
(
100423048
,
1
))
then
local
p
=
1
-
ep
local
g
=
e
:
GetLabelObject
():
Filter
(
c100423048
.
thfilter
,
nil
,
p
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
p
,
aux
.
Stringid
(
100423048
,
1
))
then
local
flag
=
false
local
sg
=
g
:
RandomSelect
(
r
p
,
1
)
local
sg
=
g
:
RandomSelect
(
1
-
p
,
1
)
local
sc
=
sg
:
GetFirst
()
if
Duel
.
SendtoHand
(
sc
,
nil
,
REASON_EFFECT
)
~=
0
and
sc
:
IsLocation
(
LOCATION_HAND
)
and
sc
:
IsControler
(
1
-
r
p
)
then
Duel
.
ConfirmCards
(
r
p
,
sc
)
if
sc
:
IsDiscardable
()
and
Duel
.
SelectYesNo
(
1
-
r
p
,
aux
.
Stringid
(
100423048
,
2
))
then
if
Duel
.
SendtoHand
(
sc
,
nil
,
REASON_EFFECT
)
~=
0
and
sc
:
IsLocation
(
LOCATION_HAND
)
and
sc
:
IsControler
(
p
)
then
Duel
.
ConfirmCards
(
1
-
p
,
sc
)
if
sc
:
IsDiscardable
()
and
Duel
.
SelectYesNo
(
p
,
aux
.
Stringid
(
100423048
,
2
))
then
flag
=
true
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
sc
,
REASON_EFFECT
+
REASON_DISCARD
)
...
...
@@ -81,7 +83,7 @@ function c100423048.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetValue
(
c100423048
.
damval
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
1
-
r
p
)
Duel
.
RegisterEffect
(
e1
,
p
)
end
end
end
...
...
script/c100423049.lua
View file @
d409a109
This diff is collapsed.
Click to expand it.
script/c101011053.lua
View file @
d409a109
...
...
@@ -31,8 +31,9 @@ end
function
c101011053
.
fcheck
(
tp
,
sg
,
fc
)
if
sg
:
IsExists
(
c101011053
.
chkfilter
,
1
,
nil
,
tp
)
then
return
sg
:
FilterCount
(
Card
.
IsControler
,
nil
,
1
-
tp
)
<=
1
else
return
sg
:
FilterCount
(
Card
.
IsControler
,
nil
,
1
-
tp
)
<=
0
end
return
true
end
function
c101011053
.
gcheck
(
tp
)
return
function
(
sg
)
...
...
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