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
e2b98d5c
Commit
e2b98d5c
authored
Nov 22, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Fluorohydride/ygopro-core
parents
d7d50a64
dca14bd9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
operations.cpp
operations.cpp
+1
-2
processor.cpp
processor.cpp
+2
-2
No files found.
operations.cpp
View file @
e2b98d5c
...
@@ -2954,7 +2954,6 @@ int32 field::special_summon_step(uint16 step, group* targets, card* target, uint
...
@@ -2954,7 +2954,6 @@ int32 field::special_summon_step(uint16 step, group* targets, card* target, uint
core
.
special_summoning
.
insert
(
target
);
core
.
special_summoning
.
insert
(
target
);
target
->
enable_field_effect
(
false
);
target
->
enable_field_effect
(
false
);
check_card_counter
(
target
,
3
,
target
->
summon_player
);
check_card_counter
(
target
,
3
,
target
->
summon_player
);
uint32
move_player
=
(
target
->
data
.
type
&
TYPE_TOKEN
)
?
target
->
owner
:
target
->
summon_player
;
if
(
targets
&&
core
.
duel_rule
>=
4
)
{
if
(
targets
&&
core
.
duel_rule
>=
4
)
{
uint32
flag1
,
flag2
;
uint32
flag1
,
flag2
;
int32
ct1
=
get_tofield_count
(
target
,
playerid
,
LOCATION_MZONE
,
target
->
summon_player
,
LOCATION_REASON_TOFIELD
,
zone
,
&
flag1
);
int32
ct1
=
get_tofield_count
(
target
,
playerid
,
LOCATION_MZONE
,
target
->
summon_player
,
LOCATION_REASON_TOFIELD
,
zone
,
&
flag1
);
...
@@ -2973,7 +2972,7 @@ int32 field::special_summon_step(uint16 step, group* targets, card* target, uint
...
@@ -2973,7 +2972,7 @@ int32 field::special_summon_step(uint16 step, group* targets, card* target, uint
zone
&=
flag1
;
zone
&=
flag1
;
}
}
}
}
move_to_field
(
target
,
move
_player
,
playerid
,
LOCATION_MZONE
,
positions
,
FALSE
,
0
,
FALSE
,
zone
);
move_to_field
(
target
,
target
->
summon
_player
,
playerid
,
LOCATION_MZONE
,
positions
,
FALSE
,
0
,
FALSE
,
zone
);
return
FALSE
;
return
FALSE
;
}
}
case
2
:
{
case
2
:
{
...
...
processor.cpp
View file @
e2b98d5c
...
@@ -1455,7 +1455,7 @@ int32 field::process_phase_event(int16 step, int32 phase) {
...
@@ -1455,7 +1455,7 @@ int32 field::process_phase_event(int16 step, int32 phase) {
continue
;
continue
;
peffect
->
id
=
infos
.
field_id
++
;
peffect
->
id
=
infos
.
field_id
++
;
newchain
.
triggering_effect
=
peffect
;
newchain
.
triggering_effect
=
peffect
;
if
(
check_hint_timing
(
peffect
))
if
(
check_hint_timing
(
peffect
)
||
get_cteffect
(
peffect
,
check_player
,
FALSE
)
)
core
.
spe_effect
[
check_player
]
++
;
core
.
spe_effect
[
check_player
]
++
;
core
.
select_chains
.
push_back
(
newchain
);
core
.
select_chains
.
push_back
(
newchain
);
fc_count
++
;
fc_count
++
;
...
@@ -2153,7 +2153,7 @@ int32 field::process_quick_effect(int16 step, int32 skip_freechain, uint8 priori
...
@@ -2153,7 +2153,7 @@ int32 field::process_quick_effect(int16 step, int32 skip_freechain, uint8 priori
newchain
.
set_triggering_place
(
phandler
);
newchain
.
set_triggering_place
(
phandler
);
newchain
.
triggering_player
=
priority
;
newchain
.
triggering_player
=
priority
;
core
.
select_chains
.
push_back
(
newchain
);
core
.
select_chains
.
push_back
(
newchain
);
if
(
check_hint_timing
(
peffect
))
if
(
check_hint_timing
(
peffect
)
||
get_cteffect
(
peffect
,
priority
,
FALSE
)
)
core
.
spe_effect
[
priority
]
++
;
core
.
spe_effect
[
priority
]
++
;
}
}
}
}
...
...
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