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
af0bd29e
Commit
af0bd29e
authored
Apr 12, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b8dc3df5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
script/c101105037.lua
script/c101105037.lua
+3
-3
script/c101105054.lua
script/c101105054.lua
+1
-1
script/c101105072.lua
script/c101105072.lua
+1
-1
No files found.
script/c101105037.lua
View file @
af0bd29e
...
@@ -95,7 +95,7 @@ function c101105037.chlimit(e,ep,tp)
...
@@ -95,7 +95,7 @@ function c101105037.chlimit(e,ep,tp)
return
tp
==
ep
return
tp
==
ep
end
end
function
c101105037
.
ckfilter
(
c
,
tp
)
function
c101105037
.
ckfilter
(
c
,
tp
)
return
(
c
:
IsType
(
TYPE_NORMAL
)
or
c
:
IsSetCard
(
0x266
))
return
(
c
:
IsType
(
TYPE_NORMAL
)
or
c
:
IsSetCard
(
0x266
)
and
c
:
IsType
(
TYPE_MONSTER
)
)
and
Duel
.
IsExistingMatchingCard
(
c101105037
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
c
:
GetAttribute
())
and
Duel
.
IsExistingMatchingCard
(
c101105037
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
c
:
GetAttribute
())
end
end
function
c101105037
.
desfilter
(
c
,
at
)
function
c101105037
.
desfilter
(
c
,
at
)
...
@@ -123,7 +123,7 @@ function c101105037.drfilter(c,tp)
...
@@ -123,7 +123,7 @@ function c101105037.drfilter(c,tp)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAttribute
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
,
c
:
GetAttribute
())
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAttribute
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
,
c
:
GetAttribute
())
end
end
function
c101105037
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101105037
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101105037
.
drfilter
,
1
,
nil
,
1
-
tp
)
return
eg
:
IsExists
(
c101105037
.
drfilter
,
1
,
nil
,
1
-
tp
)
and
e
:
GetHandler
():
GetFlagEffect
(
101105037
+
100
)
~=
0
end
end
function
c101105037
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101105037
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
...
@@ -139,5 +139,5 @@ function c101105037.matcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -139,5 +139,5 @@ function c101105037.matcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
e
:
GetLabel
()
==
1
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
e
:
GetLabel
()
==
1
end
end
function
c101105037
.
matop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101105037
.
matop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
101105037
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
101105037
,
2
))
e
:
GetHandler
():
RegisterFlagEffect
(
101105037
+
100
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
101105037
,
2
))
end
end
script/c101105054.lua
View file @
af0bd29e
...
@@ -29,7 +29,7 @@ end
...
@@ -29,7 +29,7 @@ end
function
c101105054
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101105054
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
check
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
check
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c101105054
.
selfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
check
)
end
and
Duel
.
IsExistingMatchingCard
(
c101105054
.
selfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
check
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
end
end
function
c101105054
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101105054
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101105072.lua
View file @
af0bd29e
...
@@ -14,7 +14,7 @@ function c101105072.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c101105072.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c101105072
.
thfilter
(
c
)
function
c101105072
.
thfilter
(
c
)
return
(
c
:
IsType
(
TYPE_NORMAL
)
or
c
:
IsSetCard
(
0x266
))
and
c
:
IsAbleToHand
()
return
(
c
:
IsType
(
TYPE_NORMAL
)
or
c
:
IsSetCard
(
0x266
)
and
c
:
IsType
(
TYPE_MONSTER
)
)
and
c
:
IsAbleToHand
()
end
end
function
c101105072
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c101105072
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c101105072
.
thfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c101105072
.
thfilter
(
chkc
)
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