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
1600d7d7
Commit
1600d7d7
authored
May 12, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No.107 银河眼时空龙
parent
04ef72ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c26821002.lua
expansions/script/c26821002.lua
+7
-6
No files found.
expansions/222DIY.cdb
View file @
1600d7d7
No preview for this file type
expansions/script/c26821002.lua
View file @
1600d7d7
...
...
@@ -74,16 +74,17 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
rmfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsAttack
(
e
:
GetHandler
():
GetAttack
()
)
and
c
:
IsAbleToRemove
()
function
cm
.
rmfilter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
not
c
:
IsAttack
(
atk
)
and
c
:
IsAbleToRemove
()
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
rmfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
rmfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
local
c
=
e
:
GetHandler
()
local
atk
=
c
:
GetAttack
()
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
rmfilter
(
chkc
,
atk
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
rmfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
c
,
atk
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
rmfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
rmfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
c
,
atk
)
local
tc
=
g
:
GetFirst
()
local
c
=
e
:
GetHandler
()
local
atk
=
math.abs
(
tc
:
GetAttack
()
-
c
:
GetAttack
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
1
,
1
-
tp
,
atk
)
...
...
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