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
ed430f44
Commit
ed430f44
authored
May 17, 2023
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7157dfc5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
script/c100346033.lua
script/c100346033.lua
+1
-0
script/c100428020.lua
script/c100428020.lua
+1
-1
script/c101201005.lua
script/c101201005.lua
+1
-0
script/c101201045.lua
script/c101201045.lua
+1
-0
No files found.
script/c100346033.lua
View file @
ed430f44
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
--coded by Lyris
--coded by Lyris
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
70902743
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
script/c100428020.lua
View file @
ed430f44
...
@@ -59,7 +59,7 @@ function c100428020.opop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,7 @@ function c100428020.opop(e,tp,eg,ep,ev,re,r,rp)
else
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rmg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c100428020
.
rmfilter
),
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
local
rmg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c100428020
.
rmfilter
),
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
if
Duel
.
Remove
(
rmg
:
GetFirst
()
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
if
#
rmg
>
0
and
Duel
.
Remove
(
rmg
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c100428020
.
setfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c100428020
.
setfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
)
if
#
g2
>
0
then
if
#
g2
>
0
then
...
...
script/c101201005.lua
View file @
ed430f44
...
@@ -68,6 +68,7 @@ function s.dfilter(c,tp)
...
@@ -68,6 +68,7 @@ function s.dfilter(c,tp)
end
end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
rp
==
tp
or
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
if
rp
==
tp
or
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
or
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
or
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
return
g
and
g
:
IsExists
(
s
.
dfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsChainDisablable
(
ev
)
return
g
and
g
:
IsExists
(
s
.
dfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsChainDisablable
(
ev
)
...
...
script/c101201045.lua
View file @
ed430f44
...
@@ -73,6 +73,7 @@ function s.drepop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,6 +73,7 @@ function s.drepop(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
end
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsCanRemoveCounter
(
tp
,
0x1
,
3
,
REASON_COST
)
end
if
chk
==
0
then
return
c
:
IsCanRemoveCounter
(
tp
,
0x1
,
3
,
REASON_COST
)
end
c
:
RemoveCounter
(
tp
,
0x1
,
3
,
REASON_COST
)
c
:
RemoveCounter
(
tp
,
0x1
,
3
,
REASON_COST
)
end
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