Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
f81cd91f
Commit
f81cd91f
authored
Mar 09, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1175 from nekrozar/patch-2
fix Dimension Slice
parents
5cb35642
2d3e54b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
script/c73632127.lua
script/c73632127.lua
+7
-3
No files found.
script/c73632127.lua
View file @
f81cd91f
...
@@ -15,12 +15,10 @@ function c73632127.initial_effect(c)
...
@@ -15,12 +15,10 @@ function c73632127.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
e2
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetCondition
(
c73632127
.
actcon
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c73632127
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73632127
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
eg
:
GetCount
()
==
1
and
eg
:
GetFirst
():
GetSummonType
()
==
SUMMON_TYPE_XYZ
and
eg
:
GetFirst
():
IsControler
(
tp
)
then
return
true
end
if
e
:
GetHandler
():
IsStatus
(
STATUS_SET_TURN
)
then
return
false
end
return
eg
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
tp
)
end
end
function
c73632127
.
filter
(
c
)
function
c73632127
.
filter
(
c
)
...
@@ -39,3 +37,9 @@ function c73632127.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,3 +37,9 @@ function c73632127.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
end
function
c73632127
.
actcon
(
e
)
local
res
,
teg
,
tep
,
tev
,
tre
,
tr
,
trp
=
Duel
.
CheckEvent
(
EVENT_SPSUMMON_SUCCESS
,
true
)
if
res
then
return
teg
:
GetCount
()
==
1
and
teg
:
GetFirst
():
GetSummonType
()
==
SUMMON_TYPE_XYZ
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