Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
ygopro-core
Commits
fe720055
Commit
fe720055
authored
Oct 23, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'DailyShana-SendPtoExtra'
parents
62ee9cfb
ab4948f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
interpreter.cpp
interpreter.cpp
+1
-1
operations.cpp
operations.cpp
+6
-2
No files found.
interpreter.cpp
View file @
fe720055
...
...
@@ -322,7 +322,7 @@ static const struct luaL_Reg duellib[] = {
{
"SendtoGrave"
,
scriptlib
::
duel_sendto_grave
},
{
"SendtoHand"
,
scriptlib
::
duel_sendto_hand
},
{
"SendtoDeck"
,
scriptlib
::
duel_sendto_deck
},
{
"SendtoExtra"
,
scriptlib
::
duel_sendto_extra
},
{
"
P
SendtoExtra"
,
scriptlib
::
duel_sendto_extra
},
{
"GetOperatedGroup"
,
scriptlib
::
duel_get_operated_group
},
{
"Summon"
,
scriptlib
::
duel_summon
},
{
"SpecialSummonRule"
,
scriptlib
::
duel_special_summon_rule
},
...
...
operations.cpp
View file @
fe720055
...
...
@@ -235,8 +235,12 @@ void field::send_to(card_set* targets, effect* reason_effect, uint32 reason, uin
if
(
destination
&
LOCATION_ONFIELD
)
return
;
uint32
p
,
pos
;
for
(
auto
cit
=
targets
->
begin
();
cit
!=
targets
->
end
();
++
cit
)
{
card
*
pcard
=
*
cit
;
for
(
auto
cit
=
targets
->
begin
();
cit
!=
targets
->
end
();
)
{
card
*
pcard
=
*
cit
++
;
if
((
destination
&
LOCATION_EXTRA
)
&&
!
(
pcard
->
data
.
type
&
TYPE_PENDULUM
))
{
targets
->
erase
(
pcard
);
continue
;
}
pcard
->
temp
.
reason
=
pcard
->
current
.
reason
;
pcard
->
temp
.
reason_effect
=
pcard
->
current
.
reason_effect
;
pcard
->
temp
.
reason_player
=
pcard
->
current
.
reason_player
;
...
...
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