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
a1f57c52
Commit
a1f57c52
authored
Jul 11, 2016
by
edo9300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added EFFECT_TRIPLE_TRIBUTE
parent
4ba2a90f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
effect.h
effect.h
+1
-0
field.cpp
field.cpp
+9
-3
No files found.
effect.h
View file @
a1f57c52
...
...
@@ -311,6 +311,7 @@ inline effect_flag operator|(effect_flag flag1, effect_flag flag2)
#define EFFECT_EXTRA_RELEASE 153
#define EFFECT_TRIBUTE_LIMIT 154
#define EFFECT_EXTRA_RELEASE_SUM 155
#define EFFECT_TRIPLE_TRIBUTE 156
#define EFFECT_PUBLIC 160
#define EFFECT_COUNTER_PERMIT 0x10000
#define EFFECT_COUNTER_LIMIT 0x20000
...
...
field.cpp
View file @
a1f57c52
...
...
@@ -1216,7 +1216,9 @@ int32 field::get_summon_release_list(card* target, card_set* release_list, card_
continue
;
if
(
release_list
)
release_list
->
insert
(
pcard
);
if
(
pcard
->
is_affected_by_effect
(
EFFECT_DOUBLE_TRIBUTE
,
target
))
if
(
pcard
->
is_affected_by_effect
(
EFFECT_TRIPLE_TRIBUTE
,
target
))
pcard
->
operation_param
=
3
;
else
if
(
pcard
->
is_affected_by_effect
(
EFFECT_DOUBLE_TRIBUTE
,
target
))
pcard
->
operation_param
=
2
;
else
pcard
->
operation_param
=
1
;
...
...
@@ -1233,7 +1235,9 @@ int32 field::get_summon_release_list(card* target, card_set* release_list, card_
if
(
ex
||
pcard
->
is_affected_by_effect
(
EFFECT_EXTRA_RELEASE
))
{
if
(
ex_list
)
ex_list
->
insert
(
pcard
);
if
(
pcard
->
is_affected_by_effect
(
EFFECT_DOUBLE_TRIBUTE
,
target
))
if
(
pcard
->
is_affected_by_effect
(
EFFECT_TRIPLE_TRIBUTE
,
target
))
pcard
->
operation_param
=
3
;
else
if
(
pcard
->
is_affected_by_effect
(
EFFECT_DOUBLE_TRIBUTE
,
target
))
pcard
->
operation_param
=
2
;
else
pcard
->
operation_param
=
1
;
...
...
@@ -1244,7 +1248,9 @@ int32 field::get_summon_release_list(card* target, card_set* release_list, card_
continue
;
if
(
ex_list_sum
)
ex_list_sum
->
insert
(
pcard
);
if
(
pcard
->
is_affected_by_effect
(
EFFECT_DOUBLE_TRIBUTE
,
target
))
if
(
pcard
->
is_affected_by_effect
(
EFFECT_TRIPLE_TRIBUTE
,
target
))
pcard
->
operation_param
=
3
;
else
if
(
pcard
->
is_affected_by_effect
(
EFFECT_DOUBLE_TRIBUTE
,
target
))
pcard
->
operation_param
=
2
;
else
pcard
->
operation_param
=
1
;
...
...
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