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
9ba5606c
Commit
9ba5606c
authored
May 14, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
301b712d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ocgcore/card.cpp
ocgcore/card.cpp
+1
-1
script/c48216773.lua
script/c48216773.lua
+2
-2
No files found.
ocgcore/card.cpp
View file @
9ba5606c
...
...
@@ -631,8 +631,8 @@ void card::xyz_add(card* mat, card_set* des) {
xyz_materials
.
push_back
(
mat
);
for
(
auto
cit
=
mat
->
equiping_cards
.
begin
();
cit
!=
mat
->
equiping_cards
.
end
();)
{
auto
rm
=
cit
++
;
(
*
rm
)
->
unequip
();
des
->
insert
(
*
rm
);
(
*
rm
)
->
unequip
();
}
mat
->
overlay_target
=
this
;
mat
->
current
.
controler
=
PLAYER_NONE
;
...
...
script/c48216773.lua
View file @
9ba5606c
...
...
@@ -17,9 +17,9 @@ function c48216773.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c48216773
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
dg1
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
nil
)
local
dg1
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TODECK
)
local
dg2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsAbleToDeck
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
1
nil
)
local
dg2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsAbleToDeck
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
dg1
:
Merge
(
dg2
)
Duel
.
SendtoDeck
(
dg1
,
nil
,
2
,
REASON_EFFECT
)
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