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
54108fec
Commit
54108fec
authored
Dec 27, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/purerosefallen/ygopro-222DIY
parents
ccc80cfe
d9649b27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
expansions/script/c37564342.lua
expansions/script/c37564342.lua
+3
-2
No files found.
expansions/script/c37564342.lua
View file @
54108fec
...
@@ -44,13 +44,14 @@ end
...
@@ -44,13 +44,14 @@ end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
Duel
.
SpecialSummon
Step
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
if
tc
and
tc
:
IsType
(
TYPE_EFFECT
)
then
if
tc
and
tc
:
IsType
(
TYPE_EFFECT
)
then
c
:
CreateEffectRelation
(
e
)
c
:
CreateEffectRelation
(
e
)
Senya
.
CopyStatusAndEffect
(
e
,
c
,
tc
,
false
,
0x1fe1000
,
1
,
2
)
Senya
.
CopyStatusAndEffect
(
e
,
c
,
tc
,
false
,
0x1fe1000
,
1
,
2
)
c
:
ReleaseEffectRelation
(
e
)
c
:
ReleaseEffectRelation
(
e
)
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
Hint
(
11
,
0
,
m
*
16
+
2
)
Duel
.
Hint
(
11
,
0
,
m
*
16
+
2
)
end
end
end
end
...
@@ -77,4 +78,4 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,4 +78,4 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
tp
,
Group
.
FromCards
(
c
))
Duel
.
ConfirmCards
(
tp
,
Group
.
FromCards
(
c
))
Duel
.
ConfirmCards
(
1
-
tp
,
Group
.
FromCards
(
c
))
Duel
.
ConfirmCards
(
1
-
tp
,
Group
.
FromCards
(
c
))
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
end
end
\ No newline at end of file
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