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
e40ffb2f
Commit
e40ffb2f
authored
Oct 20, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ec13ce09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
operations.cpp
operations.cpp
+2
-2
No files found.
operations.cpp
View file @
e40ffb2f
...
...
@@ -2271,7 +2271,7 @@ int32 field::mset(uint16 step, uint8 setplayer, card* target, effect* proc, uint
int32
field
::
sset
(
uint16
step
,
uint8
setplayer
,
uint8
toplayer
,
card
*
target
,
uint32
zone
)
{
switch
(
step
)
{
case
0
:
{
if
(
!
(
target
->
data
.
type
&
TYPE_FIELD
)
&&
get_useable_count
(
target
,
toplayer
,
LOCATION_SZONE
,
setplayer
,
LOCATION_REASON_TOFIELD
,
zone
)
<=
0
)
if
(
!
(
target
->
data
.
type
&
TYPE_FIELD
)
&&
get_useable_count
(
target
,
toplayer
,
LOCATION_SZONE
,
setplayer
,
LOCATION_REASON_TOFIELD
,
zone
?
zone
:
0xff
)
<=
0
)
return
TRUE
;
if
(
target
->
data
.
type
&
TYPE_MONSTER
&&
!
target
->
is_affected_by_effect
(
EFFECT_MONSTER_SSET
))
return
TRUE
;
...
...
@@ -2293,7 +2293,7 @@ int32 field::sset(uint16 step, uint8 setplayer, uint8 toplayer, card * target, u
}
case
1
:
{
target
->
enable_field_effect
(
false
);
move_to_field
(
target
,
setplayer
,
toplayer
,
LOCATION_SZONE
,
POS_FACEDOWN
,
FALSE
,
0
,
FALSE
,
zone
);
move_to_field
(
target
,
setplayer
,
toplayer
,
LOCATION_SZONE
,
POS_FACEDOWN
,
FALSE
,
0
,
FALSE
,
zone
?
zone
:
0xff
);
return
FALSE
;
}
case
2
:
{
...
...
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