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
fa576273
Commit
fa576273
authored
Jan 29, 2024
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
negate summon without moving
parent
79d4c158
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
operations.cpp
operations.cpp
+4
-4
No files found.
operations.cpp
View file @
fa576273
...
...
@@ -1909,7 +1909,7 @@ int32 field::summon(uint16 step, uint8 sumplayer, card* target, effect* proc, ui
delete
peset
;
core
.
units
.
begin
()
->
ptr2
=
0
;
}
if
(
target
->
current
.
location
==
LOCATION_MZONE
)
if
(
target
->
is_status
(
STATUS_SUMMON_DISABLED
)
&&
target
->
current
.
location
==
LOCATION_MZONE
)
send_to
(
target
,
0
,
REASON_RULE
,
PLAYER_NONE
,
sumplayer
,
LOCATION_GRAVE
,
0
,
0
);
adjust_instant
();
add_process
(
PROCESSOR_POINT_EVENT
,
0
,
0
,
0
,
FALSE
,
0
);
...
...
@@ -2018,7 +2018,7 @@ int32 field::flip_summon(uint16 step, uint8 sumplayer, card * target, uint32 act
delete
peset
;
core
.
units
.
begin
()
->
ptr1
=
0
;
}
if
(
target
->
current
.
location
==
LOCATION_MZONE
)
if
(
target
->
is_status
(
STATUS_SUMMON_DISABLED
)
&&
target
->
current
.
location
==
LOCATION_MZONE
)
send_to
(
target
,
0
,
REASON_RULE
,
PLAYER_NONE
,
sumplayer
,
LOCATION_GRAVE
,
0
,
0
);
add_process
(
PROCESSOR_POINT_EVENT
,
0
,
0
,
0
,
FALSE
,
0
);
return
TRUE
;
...
...
@@ -2900,7 +2900,7 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card* target, uin
delete
peset
;
core
.
units
.
begin
()
->
ptr1
=
0
;
}
if
(
target
->
current
.
location
==
LOCATION_MZONE
)
if
(
target
->
is_status
(
STATUS_SUMMON_DISABLED
)
&&
target
->
current
.
location
==
LOCATION_MZONE
)
send_to
(
target
,
0
,
REASON_RULE
,
PLAYER_NONE
,
sumplayer
,
LOCATION_GRAVE
,
0
,
0
);
adjust_instant
();
add_process
(
PROCESSOR_POINT_EVENT
,
0
,
0
,
0
,
FALSE
,
0
);
...
...
@@ -3084,7 +3084,7 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card* target, uin
card
*
pcard
=
*
cit
;
if
(
!
pcard
->
is_status
(
STATUS_SUMMONING
))
{
cit
=
pgroup
->
container
.
erase
(
cit
);
if
(
pcard
->
current
.
location
==
LOCATION_MZONE
)
if
(
pcard
->
is_status
(
STATUS_SUMMON_DISABLED
)
&&
pcard
->
current
.
location
==
LOCATION_MZONE
)
cset
.
insert
(
pcard
);
}
else
...
...
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