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
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-core
Commits
f0d68f63
Commit
f0d68f63
authored
Jun 23, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
aa2df078
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libduel.cpp
libduel.cpp
+2
-2
No files found.
libduel.cpp
View file @
f0d68f63
...
@@ -42,7 +42,7 @@ int32 scriptlib::duel_select_field(lua_State * L) {
...
@@ -42,7 +42,7 @@ int32 scriptlib::duel_select_field(lua_State * L) {
}
else
{
}
else
{
flag
=
(
flag
|
(
0xffffffff
-
0xff1fff1f
));
flag
=
(
flag
|
(
0xffffffff
-
0xff1fff1f
));
}
}
pduel
->
game_field
->
add_process
(
PROCESSOR_SELECT_DISFIELD
_S
,
0
,
0
,
0
,
playerid
,
flag
,
count
);
pduel
->
game_field
->
add_process
(
PROCESSOR_SELECT_DISFIELD
,
0
,
0
,
0
,
playerid
,
flag
,
count
);
return
lua_yield
(
L
,
0
);
return
lua_yield
(
L
,
0
);
}
}
int32
scriptlib
::
duel_get_master_rule
(
lua_State
*
L
)
{
int32
scriptlib
::
duel_get_master_rule
(
lua_State
*
L
)
{
...
@@ -128,7 +128,7 @@ int32 scriptlib::duel_exile(lua_State *L) {
...
@@ -128,7 +128,7 @@ int32 scriptlib::duel_exile(lua_State *L) {
pduel
->
game_field
->
send_to
(
pcard
,
pduel
->
game_field
->
core
.
reason_effect
,
reason
,
pduel
->
game_field
->
core
.
reason_player
,
PLAYER_NONE
,
0
,
0
,
POS_FACEUP
);
pduel
->
game_field
->
send_to
(
pcard
,
pduel
->
game_field
->
core
.
reason_effect
,
reason
,
pduel
->
game_field
->
core
.
reason_player
,
PLAYER_NONE
,
0
,
0
,
POS_FACEUP
);
else
else
pduel
->
game_field
->
send_to
(
&
(
pgroup
->
container
),
pduel
->
game_field
->
core
.
reason_effect
,
reason
,
pduel
->
game_field
->
core
.
reason_player
,
PLAYER_NONE
,
0
,
0
,
POS_FACEUP
);
pduel
->
game_field
->
send_to
(
&
(
pgroup
->
container
),
pduel
->
game_field
->
core
.
reason_effect
,
reason
,
pduel
->
game_field
->
core
.
reason_player
,
PLAYER_NONE
,
0
,
0
,
POS_FACEUP
);
pduel
->
game_field
->
core
.
subunits
.
back
().
type
=
PROCESSOR_SENDTO
_S
;
pduel
->
game_field
->
core
.
subunits
.
back
().
type
=
PROCESSOR_SENDTO
;
return
lua_yield
(
L
,
0
);
return
lua_yield
(
L
,
0
);
}
}
int32
scriptlib
::
duel_disable_action_check
(
lua_State
*
L
)
{
int32
scriptlib
::
duel_disable_action_check
(
lua_State
*
L
)
{
...
...
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