Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Soulgamer
ygopro-222DIY-cards
Commits
b467140e
Commit
b467140e
authored
Apr 08, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amd yes 3
parent
4bfedc4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c960005.lua
expansions/script/c960005.lua
+4
-4
No files found.
expansions/script/c960005.lua
View file @
b467140e
...
@@ -12,7 +12,7 @@ function c960005.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c960005.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_DISABLE
)
e2
:
SetCode
(
EFFECT_DISABLE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_
SZONE
+
LOCATION_GRAVE
,
LOCATION_S
ZONE
+
LOCATION_GRAVE
)
e2
:
SetTargetRange
(
LOCATION_
FZONE
+
LOCATION_GRAVE
,
LOCATION_F
ZONE
+
LOCATION_GRAVE
)
e2
:
SetTarget
(
c960005
.
distarget
)
e2
:
SetTarget
(
c960005
.
distarget
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--disable effect
--disable effect
...
@@ -102,7 +102,7 @@ function c960005.actg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -102,7 +102,7 @@ function c960005.actg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c960005
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c960005
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c960005
.
filter
,
tp
,
LOCATION_
GRAVE
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c960005
.
filter
,
tp
,
LOCATION_
HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
tc
then
if
tc
then
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
if
fc
then
if
fc
then
...
@@ -115,6 +115,6 @@ function c960005.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -115,6 +115,6 @@ function c960005.acop(e,tp,eg,ep,ev,re,r,rp)
local
tep
=
tc
:
GetControler
()
local
tep
=
tc
:
GetControler
()
local
cost
=
te
:
GetCost
()
local
cost
=
te
:
GetCost
()
if
cost
then
cost
(
te
,
tep
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
if
cost
then
cost
(
te
,
tep
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
RaiseEvent
(
tc
,
96000
5
,
te
,
0
,
tp
,
tp
,
Duel
.
GetCurrentChain
())
Duel
.
RaiseEvent
(
tc
,
417925
5
,
te
,
0
,
tp
,
tp
,
Duel
.
GetCurrentChain
())
end
end
end
end
\ No newline at end of file
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