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
aea1fd78
Commit
aea1fd78
authored
Mar 03, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
16fdc913
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
script/c100416024.lua
script/c100416024.lua
+8
-2
script/c101105206.lua
script/c101105206.lua
+2
-3
No files found.
script/c100416024.lua
View file @
aea1fd78
...
...
@@ -34,6 +34,7 @@ function c100416024.initial_effect(c)
e4
:
SetRange
(
LOCATION_FZONE
)
e4
:
SetCountLimit
(
1
,
100416024
+
200
)
e4
:
SetCondition
(
c100416024
.
descon
)
e4
:
SetTarget
(
c100416024
.
destg
)
e4
:
SetOperation
(
c100416024
.
desop
)
c
:
RegisterEffect
(
e4
)
end
...
...
@@ -78,15 +79,20 @@ function c100416024.getscale(c)
end
function
c100416024
.
desfilter
(
c
,
odevity
)
local
sc
=
c100416024
.
getscale
(
c
)
return
sc
%
2
==
odevity
and
c
:
GetOriginalType
()
&
TYPE_PENDULUM
>
0
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x265
)
and
c
:
GetOriginalType
()
&
TYPE_PENDULUM
>
0
and
c
:
IsFaceup
()
and
sc
%
2
==
odevity
end
function
c100416024
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g1
=
Duel
.
GetMatchingGroup
(
c100416024
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
,
1
)
local
g2
=
Duel
.
GetMatchingGroup
(
c100416024
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
,
0
)
return
g1
:
GetClassCount
(
c100416024
.
getscale
)
>=
3
or
g2
:
GetClassCount
(
c100416024
.
getscale
)
>=
3
end
function
c100416024
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
c100416024
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
dg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
script/c101105206.lua
View file @
aea1fd78
...
...
@@ -5,7 +5,7 @@ function c101105206.initial_effect(c)
aux
.
AddCodeList
(
c
,
44508094
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
101105206
)
...
...
@@ -30,7 +30,6 @@ end
function
c101105206
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101105206
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
0
,
0
,
0
)
end
function
c101105206
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
44508094
)
or
c
:
IsType
(
TYPE_SYNCHRO
)
and
aux
.
AddCodeList
(
c
,
44508094
))
...
...
@@ -55,7 +54,7 @@ function c101105206.lvltg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c101105206
.
lvlfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101105206
.
lvlfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c101105206
.
atk
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c101105206
.
lvl
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
function
c101105206
.
lvlop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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