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
17d9dd15
Commit
17d9dd15
authored
Apr 05, 2020
by
DailyShana
Committed by
GitHub
Apr 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix disable shuffle check (#287)
parent
d0394f1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
processor.cpp
processor.cpp
+6
-3
No files found.
processor.cpp
View file @
17d9dd15
...
@@ -749,6 +749,7 @@ int32 field::execute_cost(uint16 step, effect * triggering_effect, uint8 trigger
...
@@ -749,6 +749,7 @@ int32 field::execute_cost(uint16 step, effect * triggering_effect, uint8 trigger
core
.
shuffle_hand_check
[
0
]
=
FALSE
;
core
.
shuffle_hand_check
[
0
]
=
FALSE
;
core
.
shuffle_hand_check
[
1
]
=
FALSE
;
core
.
shuffle_hand_check
[
1
]
=
FALSE
;
}
}
core
.
units
.
begin
()
->
arg2
=
core
.
shuffle_check_disabled
;
core
.
shuffle_check_disabled
=
FALSE
;
core
.
shuffle_check_disabled
=
FALSE
;
core
.
check_level
++
;
core
.
check_level
++
;
}
}
...
@@ -772,7 +773,7 @@ int32 field::execute_cost(uint16 step, effect * triggering_effect, uint8 trigger
...
@@ -772,7 +773,7 @@ int32 field::execute_cost(uint16 step, effect * triggering_effect, uint8 trigger
if
(
core
.
shuffle_deck_check
[
1
])
if
(
core
.
shuffle_deck_check
[
1
])
shuffle
(
1
,
LOCATION_DECK
);
shuffle
(
1
,
LOCATION_DECK
);
}
}
core
.
shuffle_check_disabled
=
FALSE
;
core
.
shuffle_check_disabled
=
core
.
units
.
begin
()
->
arg2
;
return
TRUE
;
return
TRUE
;
}
}
return
FALSE
;
return
FALSE
;
...
@@ -800,6 +801,7 @@ int32 field::execute_operation(uint16 step, effect * triggering_effect, uint8 tr
...
@@ -800,6 +801,7 @@ int32 field::execute_operation(uint16 step, effect * triggering_effect, uint8 tr
core
.
shuffle_hand_check
[
0
]
=
FALSE
;
core
.
shuffle_hand_check
[
0
]
=
FALSE
;
core
.
shuffle_hand_check
[
1
]
=
FALSE
;
core
.
shuffle_hand_check
[
1
]
=
FALSE
;
}
}
core
.
units
.
begin
()
->
arg2
=
core
.
shuffle_check_disabled
;
core
.
shuffle_check_disabled
=
FALSE
;
core
.
shuffle_check_disabled
=
FALSE
;
core
.
check_level
++
;
core
.
check_level
++
;
}
}
...
@@ -827,7 +829,7 @@ int32 field::execute_operation(uint16 step, effect * triggering_effect, uint8 tr
...
@@ -827,7 +829,7 @@ int32 field::execute_operation(uint16 step, effect * triggering_effect, uint8 tr
//cost[0].amount = 0;
//cost[0].amount = 0;
//cost[1].amount = 0;
//cost[1].amount = 0;
}
}
core
.
shuffle_check_disabled
=
FALSE
;
core
.
shuffle_check_disabled
=
core
.
units
.
begin
()
->
arg2
;
return
TRUE
;
return
TRUE
;
}
}
return
FALSE
;
return
FALSE
;
...
@@ -856,6 +858,7 @@ int32 field::execute_target(uint16 step, effect * triggering_effect, uint8 trigg
...
@@ -856,6 +858,7 @@ int32 field::execute_target(uint16 step, effect * triggering_effect, uint8 trigg
core
.
shuffle_hand_check
[
0
]
=
FALSE
;
core
.
shuffle_hand_check
[
0
]
=
FALSE
;
core
.
shuffle_hand_check
[
1
]
=
FALSE
;
core
.
shuffle_hand_check
[
1
]
=
FALSE
;
}
}
core
.
units
.
begin
()
->
arg2
=
core
.
shuffle_check_disabled
;
core
.
shuffle_check_disabled
=
FALSE
;
core
.
shuffle_check_disabled
=
FALSE
;
core
.
check_level
++
;
core
.
check_level
++
;
}
}
...
@@ -879,7 +882,7 @@ int32 field::execute_target(uint16 step, effect * triggering_effect, uint8 trigg
...
@@ -879,7 +882,7 @@ int32 field::execute_target(uint16 step, effect * triggering_effect, uint8 trigg
if
(
core
.
shuffle_deck_check
[
1
])
if
(
core
.
shuffle_deck_check
[
1
])
shuffle
(
1
,
LOCATION_DECK
);
shuffle
(
1
,
LOCATION_DECK
);
}
}
core
.
shuffle_check_disabled
=
FALSE
;
core
.
shuffle_check_disabled
=
core
.
units
.
begin
()
->
arg2
;
return
TRUE
;
return
TRUE
;
}
}
return
FALSE
;
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