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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
fb76d80e
Commit
fb76d80e
authored
Sep 15, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
2ce1d392
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
expansions/script/c20000004.lua
expansions/script/c20000004.lua
+1
-1
expansions/script/c85401630.lua
expansions/script/c85401630.lua
+2
-1
expansions/script/c85401660.lua
expansions/script/c85401660.lua
+2
-0
No files found.
expansions/script/c20000004.lua
View file @
fb76d80e
...
@@ -30,7 +30,7 @@ function c20000004.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -30,7 +30,7 @@ function c20000004.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
if
chkc
then
return
chkc
:
IsOnField
()
and
c20000004
.
cof2
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
c20000004
.
cof2
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c20000004
.
tgf1
,
tp
,
LOCATION_DECK
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c20000004
.
tgf1
,
tp
,
LOCATION_DECK
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingTarget
(
c20000004
.
cof2
,
tp
,
LOCATION_
DECK
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
c20000004
.
cof2
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
c20000004
.
cof2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
local
tc
=
Duel
.
SelectTarget
(
tp
,
c20000004
.
cof2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_REMOVED
)
...
...
expansions/script/c85401630.lua
View file @
fb76d80e
--茜里的法杖
--茜里的法杖
function
c85401630
.
initial_effect
(
c
)
function
c85401630
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
85410000
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
...
@@ -52,7 +53,7 @@ function c85401630.initial_effect(c)
...
@@ -52,7 +53,7 @@ function c85401630.initial_effect(c)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
-------手卡代破
-------手卡代破
end
end
c85401630
.
assault_name
=
85401420
function
c85401630
.
fl
(
e
,
c
)
function
c85401630
.
fl
(
e
,
c
)
return
c
:
IsCode
(
85401420
)
return
c
:
IsCode
(
85401420
)
end
end
...
...
expansions/script/c85401660.lua
View file @
fb76d80e
--依里的法杖
--依里的法杖
function
c85401660
.
initial_effect
(
c
)
function
c85401660
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
85410000
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
...
@@ -52,6 +53,7 @@ function c85401660.initial_effect(c)
...
@@ -52,6 +53,7 @@ function c85401660.initial_effect(c)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
-------手卡代破
-------手卡代破
end
end
c85401660
.
assault_name
=
85401460
function
c85401660
.
fl
(
e
,
c
)
function
c85401660
.
fl
(
e
,
c
)
return
c
:
IsCode
(
85401460
)
return
c
:
IsCode
(
85401460
)
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