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
a9556101
Commit
a9556101
authored
Apr 13, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2c1c5109
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
script/c101005010.lua
script/c101005010.lua
+2
-2
script/c101005074.lua
script/c101005074.lua
+2
-2
No files found.
script/c101005010.lua
View file @
a9556101
...
@@ -38,7 +38,7 @@ function c101005010.dbcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c101005010.dbcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsAbleToEnterBP
()
return
Duel
.
IsAbleToEnterBP
()
end
end
function
c101005010
.
dbfilter
(
c
)
function
c101005010
.
dbfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
Is
Attribute
(
ATTRIBUTE_DARK
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
GetFlagEffect
(
101005010
)
==
0
return
c
:
IsFaceup
()
and
c
:
Is
SetCard
(
0x217
)
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
GetFlagEffect
(
101005010
)
==
0
end
end
function
c101005010
.
dbtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c101005010
.
dbtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c101005010
.
dbfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c101005010
.
dbfilter
(
chkc
)
end
...
@@ -57,7 +57,7 @@ function c101005010.dbop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c101005010.dbop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetLabel
(
tc
:
GetFieldID
())
e1
:
SetLabel
(
tc
:
GetFieldID
())
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
tc
:
RegisterFlagEffect
(
101005010
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
0
)
tc
:
RegisterFlagEffect
(
101005010
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
...
...
script/c101005074.lua
View file @
a9556101
...
@@ -31,7 +31,7 @@ function c101005074.eqfilter2(c,tc,tp)
...
@@ -31,7 +31,7 @@ function c101005074.eqfilter2(c,tc,tp)
end
end
function
c101005074
.
eftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c101005074
.
eftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
if
chkc
then
if
e
:
GetLabel
()
==
1
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101005074
.
spfilter
(
chkc
,
e
,
tp
)
if
e
:
GetLabel
()
==
0
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101005074
.
spfilter
(
chkc
,
e
,
tp
)
else
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101005074
.
eqfilter1
(
chkc
,
tp
)
end
else
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101005074
.
eqfilter1
(
chkc
,
tp
)
end
end
end
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c101005074
.
spfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
,
e
,
tp
)
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c101005074
.
spfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
,
e
,
tp
)
...
@@ -52,7 +52,7 @@ function c101005074.eftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -52,7 +52,7 @@ function c101005074.eftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
else
else
e
:
SetCategory
(
CATEGORY_EQUIP
)
e
:
SetCategory
(
CATEGORY_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c101005074
.
eqfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c101005074
.
eqfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
0
)
end
end
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