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
53649187
Commit
53649187
authored
Sep 14, 2019
by
mycard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/purerosefallen/ygopro-core
into 2pick
parents
6f219bec
df9a1624
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
339 additions
and
19 deletions
+339
-19
LICENSE
LICENSE
+334
-17
operations.cpp
operations.cpp
+5
-2
No files found.
LICENSE
View file @
53649187
This diff is collapsed.
Click to expand it.
operations.cpp
View file @
53649187
...
@@ -2890,8 +2890,11 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card* target, uin
...
@@ -2890,8 +2890,11 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card* target, uin
pcard
->
current
.
reason_effect
=
peffect
;
pcard
->
current
.
reason_effect
=
peffect
;
pcard
->
current
.
reason_player
=
sumplayer
;
pcard
->
current
.
reason_player
=
sumplayer
;
pcard
->
summon_player
=
sumplayer
;
pcard
->
summon_player
=
sumplayer
;
pcard
->
summon_info
=
(
peffect
->
get_value
(
pcard
)
&
0xff00ffff
)
|
SUMMON_TYPE_SPECIAL
|
((
uint32
)
pcard
->
current
.
location
<<
16
);
std
::
vector
<
int32
>
retval
;
uint32
zone
=
0xff
;
peffect
->
get_value
(
pcard
,
0
,
&
retval
);
pcard
->
summon_info
=
retval
.
size
()
>
0
?
retval
[
0
]
:
0
;
uint32
zone
=
retval
.
size
()
>
1
?
retval
[
1
]
:
0xff
;
pcard
->
summon_info
=
(
pcard
->
summon_info
&
0xff00ffff
)
|
SUMMON_TYPE_SPECIAL
|
((
uint32
)
pcard
->
current
.
location
<<
16
);
uint32
flag1
,
flag2
;
uint32
flag1
,
flag2
;
int32
ct1
=
get_tofield_count
(
pcard
,
sumplayer
,
LOCATION_MZONE
,
sumplayer
,
LOCATION_REASON_TOFIELD
,
zone
,
&
flag1
);
int32
ct1
=
get_tofield_count
(
pcard
,
sumplayer
,
LOCATION_MZONE
,
sumplayer
,
LOCATION_REASON_TOFIELD
,
zone
,
&
flag1
);
int32
ct2
=
get_spsummonable_count_fromex
(
pcard
,
sumplayer
,
sumplayer
,
zone
,
&
flag2
);
int32
ct2
=
get_spsummonable_count_fromex
(
pcard
,
sumplayer
,
sumplayer
,
zone
,
&
flag2
);
...
...
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