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
118dffab
Commit
118dffab
authored
Jun 15, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
33748494
Pipeline
#13598
passed with stages
in 40 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
13 deletions
+19
-13
script/c100200219.lua
script/c100200219.lua
+5
-2
script/c100290026.lua
script/c100290026.lua
+7
-4
script/c101110002.lua
script/c101110002.lua
+3
-3
script/c101110060.lua
script/c101110060.lua
+2
-2
script/c101110076.lua
script/c101110076.lua
+2
-2
No files found.
script/c100200219.lua
View file @
118dffab
...
...
@@ -33,11 +33,14 @@ function c100200219.initial_effect(c)
e4
:
SetOperation
(
c100200219
.
tgop
)
c
:
RegisterEffect
(
e4
)
end
function
c100200219
.
spcfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetSequence
()
<
5
end
function
c100200219
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c100200219
.
spcfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
function
c100200219
.
atkfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsFaceup
()
...
...
@@ -46,7 +49,7 @@ function c100200219.atkval(e,c)
return
Duel
.
GetMatchingGroupCount
(
c100200219
.
atkfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
*
600
end
function
c100200219
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
and
c
:
GetSequence
()
<
5
end
function
c100200219
.
tgcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100200219
.
cfilter
,
tp
,
LOCATION_SZONE
,
0
,
2
,
nil
)
end
...
...
script/c100290026.lua
View file @
118dffab
...
...
@@ -63,24 +63,27 @@ function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetLP
(
tp
)
<=
500
end
function
s
.
afilter
(
c
)
return
c
:
IsSetCard
(
0x6f
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_OVERLAY
)
)
return
c
:
IsSetCard
(
0x6f
)
and
c
:
IsFaceup
(
)
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
:
IsFaceup
()
end
local
ct1
=
Duel
.
GetMatchingGroupCount
(
s
.
afilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
local
ct2
=
Duel
.
GetOverlayGroup
(
tp
,
1
,
0
):
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x6f
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
afilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_OVERLAY
,
0
,
1
,
nil
)
end
and
ct1
+
ct2
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
afilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_OVERLAY
,
0
,
nil
)
local
ct1
=
Duel
.
GetMatchingGroupCount
(
s
.
afilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
local
ct2
=
Duel
.
GetOverlayGroup
(
tp
,
1
,
0
):
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x6f
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
ct
*
500
)
e1
:
SetValue
(
(
ct1
+
ct2
)
*
500
)
tc
:
RegisterEffect
(
e1
)
end
end
script/c101110002.lua
View file @
118dffab
...
...
@@ -4,7 +4,7 @@ function c101110002.initial_effect(c)
aux
.
AddCodeList
(
c
,
9012916
)
--same effect send this card to grave and spsummon another card check
local
e0
=
aux
.
AddThisCardInGraveAlreadyCheck
(
c
)
--
to hand
--
set
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
101110002
,
0
))
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
@@ -14,12 +14,12 @@ function c101110002.initial_effect(c)
e1
:
SetTarget
(
c101110002
.
tftg
)
e1
:
SetOperation
(
c101110002
.
tfop
)
c
:
RegisterEffect
(
e1
)
--
set
--
to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
101110002
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_DAMAGE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_
CARD_TARGET
+
EFFECT_FLAG_
DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
101110002
+
100
)
...
...
script/c101110060.lua
View file @
118dffab
...
...
@@ -70,11 +70,11 @@ function c101110060.rmcfilter(c)
end
function
c101110060
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsExistingMatchingCard
(
c101110060
.
rmcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c101110060
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsAbleToRemove
(
tp
,
POS_FACEDOWN
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
3
,
nil
,
tp
,
POS_FACEDOWN
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
3
,
nil
,
tp
,
POS_FACEDOWN
)
and
Duel
.
IsExistingMatchingCard
(
c101110060
.
rmcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
3
,
3
,
nil
,
tp
,
POS_FACEDOWN
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
#
g
,
0
,
0
)
...
...
script/c101110076.lua
View file @
118dffab
...
...
@@ -56,10 +56,10 @@ function c101110076.rmcfilter(c)
end
function
c101110076
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
e
:
GetHandler
():
IsStatus
(
STATUS_EFFECT_ENABLED
)
and
Duel
.
IsExistingMatchingCard
(
c101110076
.
rmcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c101110076
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
,
tp
,
POS_FACEDOWN
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
,
tp
,
POS_FACEDOWN
)
and
Duel
.
IsExistingMatchingCard
(
c101110076
.
rmcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
1
-
tp
,
LOCATION_HAND
)
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