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
c1a9814f
Commit
c1a9814f
authored
Jun 11, 2016
by
nekrozar
Committed by
DailyShana
Jun 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge #45
parent
aada13bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
card.cpp
card.cpp
+4
-4
No files found.
card.cpp
View file @
c1a9814f
...
@@ -1475,9 +1475,9 @@ void card::reset(uint32 id, uint32 reset_type) {
...
@@ -1475,9 +1475,9 @@ void card::reset(uint32 id, uint32 reset_type) {
if
(
rrm
->
second
&
0xffff0000
&
id
)
if
(
rrm
->
second
&
0xffff0000
&
id
)
relations
.
erase
(
rrm
);
relations
.
erase
(
rrm
);
}
}
if
(
id
&
0x
4
7c0000
)
if
(
id
&
0x
c
7c0000
)
clear_relate_effect
();
clear_relate_effect
();
if
(
id
&
0x
5
fc0000
)
{
if
(
id
&
0x
d
fc0000
)
{
indestructable_effects
.
clear
();
indestructable_effects
.
clear
();
announced_cards
.
clear
();
announced_cards
.
clear
();
attacked_cards
.
clear
();
attacked_cards
.
clear
();
...
@@ -1485,7 +1485,7 @@ void card::reset(uint32 id, uint32 reset_type) {
...
@@ -1485,7 +1485,7 @@ void card::reset(uint32 id, uint32 reset_type) {
attacked_count
=
0
;
attacked_count
=
0
;
attack_all_target
=
TRUE
;
attack_all_target
=
TRUE
;
}
}
if
(
id
&
0x
5
fe0000
)
{
if
(
id
&
0x
d
fe0000
)
{
battled_cards
.
clear
();
battled_cards
.
clear
();
reset_effect_count
();
reset_effect_count
();
auto
pr
=
field_effect
.
equal_range
(
EFFECT_DISABLE_FIELD
);
auto
pr
=
field_effect
.
equal_range
(
EFFECT_DISABLE_FIELD
);
...
@@ -1493,7 +1493,7 @@ void card::reset(uint32 id, uint32 reset_type) {
...
@@ -1493,7 +1493,7 @@ void card::reset(uint32 id, uint32 reset_type) {
pr
.
first
->
second
->
value
=
0
;
pr
.
first
->
second
->
value
=
0
;
set_status
(
STATUS_UNION
,
FALSE
);
set_status
(
STATUS_UNION
,
FALSE
);
}
}
if
(
id
&
0x
5
7e0000
)
{
if
(
id
&
0x
d
7e0000
)
{
counters
.
clear
();
counters
.
clear
();
for
(
auto
cit
=
effect_target_owner
.
begin
();
cit
!=
effect_target_owner
.
end
();
++
cit
)
for
(
auto
cit
=
effect_target_owner
.
begin
();
cit
!=
effect_target_owner
.
end
();
++
cit
)
(
*
cit
)
->
effect_target_cards
.
erase
(
this
);
(
*
cit
)
->
effect_target_cards
.
erase
(
this
);
...
...
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