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
27e191e4
Commit
27e191e4
authored
Jul 03, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
58a842d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
field.h
field.h
+1
-0
processor.cpp
processor.cpp
+7
-0
No files found.
field.h
View file @
27e191e4
...
...
@@ -579,6 +579,7 @@ public:
#define CHAIN_DISABLE_ACTIVATE 0x01
#define CHAIN_DISABLE_EFFECT 0x02
#define CHAIN_HAND_EFFECT 0x04
#define CHAIN_CONTINUOUS_CARD 0x08
#define CHAININFO_CHAIN_COUNT 0x01
#define CHAININFO_TRIGGERING_EFFECT 0x02
#define CHAININFO_TRIGGERING_PLAYER 0x04
...
...
processor.cpp
View file @
27e191e4
...
...
@@ -4350,6 +4350,11 @@ int32 field::add_chain(uint16 step) {
&&
!
phandler
->
is_affected_by_effect
(
EFFECT_REMAIN_FIELD
))
phandler
->
set_status
(
STATUS_LEAVE_CONFIRMED
,
TRUE
);
}
if
((
phandler
->
data
.
type
&
(
TYPE_SPELL
+
TYPE_TRAP
))
&&
(
phandler
->
data
.
type
&
(
TYPE_CONTINUOUS
+
TYPE_FIELD
+
TYPE_EQUIP
+
TYPE_PENDULUM
))
&&
phandler
->
is_has_relation
(
clit
)
&&
phandler
->
current
.
location
==
LOCATION_SZONE
&&
!
peffect
->
is_flag
(
EFFECT_FLAG_FIELD_ONLY
))
clit
.
flag
|=
CHAIN_CONTINUOUS_CARD
;
core
.
phase_action
=
TRUE
;
if
(
clit
.
opinfos
.
count
(
0x200
)
&&
clit
.
opinfos
[
0x200
].
op_count
)
{
core
.
spsummon_rst
=
true
;
...
...
@@ -4611,6 +4616,8 @@ int32 field::solve_chain(uint16 step, uint32 chainend_arg1, uint32 chainend_arg2
cait
->
triggering_effect
->
operation
=
cait
->
replace_op
;
}
else
core
.
units
.
begin
()
->
arg4
=
0
;
if
((
cait
->
flag
&
CHAIN_CONTINUOUS_CARD
)
&&
!
pcard
->
is_has_relation
(
*
cait
))
return
FALSE
;
if
(
cait
->
triggering_effect
->
operation
)
{
core
.
sub_solving_event
.
push_back
(
cait
->
evt
);
add_process
(
PROCESSOR_EXECUTE_OPERATION
,
0
,
cait
->
triggering_effect
,
0
,
cait
->
triggering_player
,
0
);
...
...
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