Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
88502290
Commit
88502290
authored
Jul 17, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ebd4c1ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
ocgcore/field.cpp
ocgcore/field.cpp
+1
-0
ocgcore/libduel.cpp
ocgcore/libduel.cpp
+1
-0
ocgcore/processor.cpp
ocgcore/processor.cpp
+1
-0
No files found.
ocgcore/field.cpp
View file @
88502290
...
...
@@ -61,6 +61,7 @@ field::field(duel* pduel) {
core
.
opp_mzone
[
i
]
=
0
;
core
.
summoning_card
=
0
;
core
.
summon_depth
=
0
;
core
.
summon_cancelable
=
FALSE
;
core
.
chain_limit
=
0
;
core
.
chain_limit_p
=
0
;
core
.
chain_solving
=
FALSE
;
...
...
ocgcore/libduel.cpp
View file @
88502290
...
...
@@ -299,6 +299,7 @@ int32 scriptlib::duel_setm(lua_State *L) {
if
(
lua_gettop
(
L
)
>
4
)
min_tribute
=
lua_tointeger
(
L
,
5
);
duel
*
pduel
=
pcard
->
pduel
;
pduel
->
game_field
->
core
.
summon_cancelable
=
FALSE
;
pduel
->
game_field
->
add_process
(
PROCESSOR_MSET
,
0
,
peffect
,
(
group
*
)
pcard
,
playerid
,
ignore_count
+
(
min_tribute
<<
8
));
return
lua_yield
(
L
,
0
);
}
...
...
ocgcore/processor.cpp
View file @
88502290
...
...
@@ -2786,6 +2786,7 @@ int32 field::process_idle_command(uint16 step) {
}
case
8
:
{
card
*
target
=
core
.
msetable_cards
[
returns
.
ivalue
[
0
]
>>
16
];
core
.
summon_cancelable
=
TRUE
;
add_process
(
PROCESSOR_MSET
,
0
,
0
,
(
group
*
)
target
,
target
->
current
.
controler
,
0
);
core
.
units
.
begin
()
->
step
=
-
1
;
return
FALSE
;
...
...
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