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
9e143933
Commit
9e143933
authored
Oct 01, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/purerosefallen/ygopro-222DIY
parents
29637fb7
f11c84c0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
11 deletions
+4
-11
expansions/script/c12001021.lua
expansions/script/c12001021.lua
+2
-9
expansions/script/c13257215.lua
expansions/script/c13257215.lua
+1
-1
expansions/script/c13257307.lua
expansions/script/c13257307.lua
+1
-1
No files found.
expansions/script/c12001021.lua
View file @
9e143933
...
@@ -78,16 +78,9 @@ function c12001021.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,16 +78,9 @@ function c12001021.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
p
,
LOCATION_HAND
,
0
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
p
,
LOCATION_HAND
,
0
,
nil
)
if
tg
:
GetCount
()
>
1
and
tg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0xfb0
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg1
=
tg
:
Select
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0xfb0
)
local
sg1
=
tg
:
Select
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg1
)
Duel
.
SendtoDeck
(
sg1
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
sg1
,
nil
,
0
,
REASON_EFFECT
)
else
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
hg
)
local
ct
=
Duel
.
SendtoDeck
(
hg
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SortDecktop
(
tp
,
tp
,
ct
)
end
end
end
\ No newline at end of file
expansions/script/c13257215.lua
View file @
9e143933
...
@@ -161,7 +161,7 @@ function c13257215.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -161,7 +161,7 @@ function c13257215.rmop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c13257215
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13257215
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
s
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
GetReasonPlayer
()
~=
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetPreviousControler
()
==
tp
return
c
:
GetReasonPlayer
()
~=
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetPreviousControler
()
==
tp
end
end
function
c13257215
.
spfilter
(
c
,
e
,
tp
)
function
c13257215
.
spfilter
(
c
,
e
,
tp
)
...
...
expansions/script/c13257307.lua
View file @
9e143933
...
@@ -63,7 +63,7 @@ function c13257307.efilter(e,re)
...
@@ -63,7 +63,7 @@ function c13257307.efilter(e,re)
end
end
function
c13257307
.
cacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13257307
.
cacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
and
e
g
:
IsContains
(
ec
)
return
ec
and
e
c
:
IsRelateToBattle
()
and
ec
:
IsStatus
(
STATUS_OPPO_BATTLE
)
end
end
function
c13257307
.
catg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13257307
.
catg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
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