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
223576fd
Commit
223576fd
authored
Jun 27, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RESET_MSCHANGE for trap monster
parent
54f3e946
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
operations.cpp
operations.cpp
+2
-1
No files found.
operations.cpp
View file @
223576fd
...
@@ -3844,7 +3844,8 @@ int32 field::move_to_field(uint16 step, card * target, uint32 enable, uint32 ret
...
@@ -3844,7 +3844,8 @@ int32 field::move_to_field(uint16 step, card * target, uint32 enable, uint32 ret
resetflag
|=
RESET_TOFIELD
;
resetflag
|=
RESET_TOFIELD
;
if
(
target
->
current
.
location
&
LOCATION_ONFIELD
)
if
(
target
->
current
.
location
&
LOCATION_ONFIELD
)
resetflag
|=
RESET_LEAVE
;
resetflag
|=
RESET_LEAVE
;
if
((
location
&
LOCATION_ONFIELD
)
&&
(
target
->
current
.
location
&
LOCATION_ONFIELD
))
effect
*
peffect
=
target
->
is_affected_by_effect
(
EFFECT_PRE_MONSTER
);
if
((
location
&
LOCATION_ONFIELD
)
&&
(
target
->
current
.
location
&
LOCATION_ONFIELD
)
&&
!
(
peffect
&&
(
peffect
->
value
&
TYPE_TRAP
)))
resetflag
|=
RESET_MSCHANGE
;
resetflag
|=
RESET_MSCHANGE
;
target
->
reset
(
resetflag
,
RESET_EVENT
);
target
->
reset
(
resetflag
,
RESET_EVENT
);
}
}
...
...
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