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
1d11840d
Commit
1d11840d
authored
Jan 31, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
stop decrease the counter for EFFECT_EXTRA_RELEASE_SUM effect when canceling tribute summon
parent
0a34f5dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
operations.cpp
operations.cpp
+4
-2
No files found.
operations.cpp
View file @
1d11840d
...
...
@@ -4625,8 +4625,7 @@ int32 field::select_tribute_cards(int16 step, uint8 playerid, uint8 cancelable,
for
(
int32
i
=
0
;
i
<
returns
.
bvalue
[
0
];
++
i
)
{
card
*
pcard
=
core
.
select_cards
[
returns
.
bvalue
[
i
+
1
]];
core
.
operated_set
.
insert
(
pcard
);
effect
*
peffect
=
pcard
->
is_affected_by_effect
(
EFFECT_EXTRA_RELEASE_SUM
);
peffect
->
dec_count
();
core
.
units
.
begin
()
->
peffect
=
pcard
->
is_affected_by_effect
(
EFFECT_EXTRA_RELEASE_SUM
);
}
return
FALSE
;
}
...
...
@@ -4691,6 +4690,9 @@ int32 field::select_tribute_cards(int16 step, uint8 playerid, uint8 cancelable,
core
.
select_cards
.
push_back
(
*
cit
);
returns
.
bvalue
[
i
+
1
]
=
i
;
}
effect
*
peffect
=
core
.
units
.
begin
()
->
peffect
;
if
(
peffect
)
peffect
->
dec_count
();
return
TRUE
;
}
}
...
...
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