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
90bee62c
Commit
90bee62c
authored
May 16, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
31a68299
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
script/c100409023.lua
script/c100409023.lua
+3
-3
script/c100409035.lua
script/c100409035.lua
+1
-1
script/c100409038.lua
script/c100409038.lua
+6
-6
No files found.
script/c100409023.lua
View file @
90bee62c
...
...
@@ -56,9 +56,9 @@ function c100409023.efilter(e,te)
end
function
c100409023
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
re
:
GetHandler
()
if
not
re
:
IsActiveType
(
TYPE_MONSTER
)
or
not
tc
:
IsFaceup
()
or
tc
:
GetCounter
(
0x1002
)
>
0
then
return
end
local
p
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_PLAYER
)
if
p
~=
tp
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
then
if
not
tc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
or
not
tc
:
IsFaceup
()
or
tc
:
GetCounter
(
0x1002
)
>
0
then
return
end
local
p
,
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_LOCATION
)
if
p
~=
tp
and
loc
==
LOCATION_MZONE
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
then
tc
:
AddCounter
(
0x1002
,
1
)
end
end
...
...
script/c100409035.lua
View file @
90bee62c
...
...
@@ -44,7 +44,7 @@ function c100409035.sprcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c100409035
.
sprfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c100409035
.
sprfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c100409035
.
thfilter
(
c
)
return
c
:
IsCode
(
93717133
)
and
c
:
IsAbleToHand
()
...
...
script/c100409038.lua
View file @
90bee62c
...
...
@@ -38,12 +38,12 @@ function c100409038.target(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
3
)
c
:
SetTurnCounter
(
0
)
c
:
RegisterEffect
(
e1
)
if
c
96100333
.
effcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
and
c
96100333
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
if
c
100409038
.
effcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
and
c
100409038
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
c
96100333
.
effcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
c
96100333
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
e
:
SetOperation
(
c
96100333
.
effop
)
c
100409038
.
effcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
c
100409038
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
e
:
SetOperation
(
c
100409038
.
effop
)
end
end
function
c100409038
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -115,7 +115,7 @@ function c100409038.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100409038
.
costfilter3
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetValue
(
r
g
:
GetFirst
():
GetOriginalCode
())
e
:
SetValue
(
g
:
GetFirst
():
GetOriginalCode
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
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