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
9acf492c
Commit
9acf492c
authored
Mar 11, 2022
by
Chrono-Genex
Committed by
GitHub
Mar 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add EFFECT_LIMIT_SPECIAL_SUMMON_POSITION (#438)
parent
5bf31c7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
card.cpp
card.cpp
+1
-1
effect.h
effect.h
+1
-0
No files found.
card.cpp
View file @
9acf492c
...
@@ -3285,7 +3285,7 @@ uint8 card::get_spsummonable_position(effect* reason_effect, uint32 sumtype, uin
...
@@ -3285,7 +3285,7 @@ uint8 card::get_spsummonable_position(effect* reason_effect, uint32 sumtype, uin
continue
;
continue
;
if
((
data
.
type
&
(
TYPE_TOKEN
|
TYPE_LINK
))
&&
(
positions
[
p
]
&
POS_FACEDOWN
))
if
((
data
.
type
&
(
TYPE_TOKEN
|
TYPE_LINK
))
&&
(
positions
[
p
]
&
POS_FACEDOWN
))
continue
;
continue
;
pduel
->
game_field
->
filter_player_effect
(
sumplayer
,
EFFECT_
CANNOT_SPECIAL_SUMM
ON
,
&
eset
);
pduel
->
game_field
->
filter_player_effect
(
sumplayer
,
EFFECT_
LIMIT_SPECIAL_SUMMON_POSITI
ON
,
&
eset
);
for
(
int32
i
=
0
;
i
<
eset
.
size
();
++
i
)
{
for
(
int32
i
=
0
;
i
<
eset
.
size
();
++
i
)
{
if
(
!
eset
[
i
]
->
target
)
if
(
!
eset
[
i
]
->
target
)
continue
;
continue
;
...
...
effect.h
View file @
9acf492c
...
@@ -463,6 +463,7 @@ inline effect_flag operator|(effect_flag flag1, effect_flag flag2)
...
@@ -463,6 +463,7 @@ inline effect_flag operator|(effect_flag flag1, effect_flag flag2)
#define EFFECT_CHANGE_GRAVE_ATTRIBUTE 365
#define EFFECT_CHANGE_GRAVE_ATTRIBUTE 365
#define EFFECT_CHANGE_GRAVE_RACE 366
#define EFFECT_CHANGE_GRAVE_RACE 366
#define EFFECT_ACTIVATION_COUNT_LIMIT 367
#define EFFECT_ACTIVATION_COUNT_LIMIT 367
#define EFFECT_LIMIT_SPECIAL_SUMMON_POSITION 368
#define EVENT_STARTUP 1000
#define EVENT_STARTUP 1000
#define EVENT_FLIP 1001
#define EVENT_FLIP 1001
...
...
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