Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Nanahira-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
nanahira
Nanahira-Cards
Commits
9567a17f
Commit
9567a17f
authored
Jul 12, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
catchup
parent
ed1db092
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
expansions/script/c37564330.lua
expansions/script/c37564330.lua
+4
-1
expansions/script/c37564918.lua
expansions/script/c37564918.lua
+4
-3
No files found.
expansions/script/c37564330.lua
View file @
9567a17f
...
...
@@ -50,8 +50,11 @@ function cm.rcon(e,tp,eg,ep,ev,re,r,rp)
and
(
r
&
REASON_COST
)
~=
0
and
re
:
IsHasType
(
0x7e0
)
and
re
:
IsActiveType
(
TYPE_XYZ
)
end
function
cm
.
rop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
min
=
ev
&
0xffff
local
max
=
(
ev
>>
16
)
&
0xffff
Duel
.
Hint
(
HINT_CARD
,
0
,
e
:
GetHandler
():
GetOriginalCode
())
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
0x1fe1000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
return
max
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsContains
(
e
:
GetHandler
())
...
...
@@ -169,4 +172,4 @@ function cm.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
end
\ No newline at end of file
end
expansions/script/c37564918.lua
View file @
9567a17f
...
...
@@ -78,10 +78,11 @@ function cm.rcon(e,tp,eg,ep,ev,re,r,rp)
return
(
r
&
REASON_COST
)
~=
0
and
re
:
GetHandler
()
==
e
:
GetHandler
()
and
re
:
IsHasType
(
0x7e0
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
retfilter
,
tp
,
LOCATION_REMOVED
,
0
,
ct
,
nil
)
end
function
cm
.
rop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
(
ev
&
0xffff
)
local
min
=
ev
&
0xffff
local
max
=
(
ev
>>
16
)
&
0xffff
Duel
.
Hint
(
HINT_CARD
,
0
,
e
:
GetOwner
():
GetOriginalCode
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
retfilter
,
tp
,
LOCATION_REMOVED
,
0
,
ct
,
ct
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
retfilter
,
tp
,
LOCATION_REMOVED
,
0
,
min
,
max
,
nil
)
local
des
=
g
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
)
and
0
or
2
Duel
.
SendtoDeck
(
g
,
nil
,
des
,
REASON_COST
)
return
Duel
.
SendtoDeck
(
g
,
nil
,
des
,
REASON_COST
)
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