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
19c47d5a
Commit
19c47d5a
authored
Jan 04, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4870bf98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expansions/script/c37564350.lua
expansions/script/c37564350.lua
+3
-3
No files found.
expansions/script/c37564350.lua
View file @
19c47d5a
...
...
@@ -4,7 +4,7 @@ xpcall(function() require("expansions/script/c37564765") end,function() require(
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
Senya
.
AddSummonMusic
(
c
,
m
*
16
+
2
,
SUMMON_TYPE_XYZ
)
aux
.
AddXyzProcedureLevelFree
(
c
,
function
(
c
)
return
c
:
IsType
(
TYPE_
XYZ
)
and
c
:
IsLink
(
8
)
end
,
nil
,
1
,
1
)
aux
.
AddXyzProcedureLevelFree
(
c
,
function
(
c
)
return
c
:
IsType
(
TYPE_
LINK
)
and
c
:
IsLink
(
8
)
end
,
nil
,
1
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -43,9 +43,9 @@ end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
+
LOCATION_GRAVE
)
and
cm
.
filter
(
chkc
,
tp
)
and
chkc
~=
e
:
GetHandler
()
and
c
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingTarget
(
cm
.
filter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
(),
tp
)
end
and
Duel
.
IsExistingTarget
(
cm
.
filter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
e
:
GetHandler
(),
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
1
,
e
:
GetHandler
(),
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
1
,
e
:
GetHandler
(),
tp
)
if
g
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
1
,
0
,
0
)
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