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
79d4c158
Commit
79d4c158
authored
Jan 29, 2024
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove STATUS_FUTURE_FUSION
parent
a3640355
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
22 deletions
+24
-22
card.h
card.h
+2
-0
common.h
common.h
+20
-20
operations.cpp
operations.cpp
+2
-2
No files found.
card.h
View file @
79d4c158
...
...
@@ -407,6 +407,8 @@ public:
#define SUMMON_VALUE_CUSTOM_TYPE 0x0000ffff
constexpr
uint32
DEFAULT_SUMMON_TYPE
=
SUMMON_VALUE_MAIN_TYPE
|
SUMMON_VALUE_SUB_TYPE
|
SUMMON_VALUE_CUSTOM_TYPE
;
#define SUMMON_VALUE_FUTURE_FUSION 0x18
//Counter
#define COUNTER_WITHOUT_PERMIT 0x1000
//#define COUNTER_NEED_ENABLE 0x2000
...
...
common.h
View file @
79d4c158
...
...
@@ -180,27 +180,27 @@ struct card_sort {
#define REASONS_PROCEDURE (REASON_SYNCHRO | REASON_XYZ | REASON_LINK)
//Status
#define STATUS_DISABLED 0x0001
//
#define STATUS_TO_ENABLE 0x0002
//
#define STATUS_TO_DISABLE 0x0004
//
#define STATUS_PROC_COMPLETE 0x0008
//
#define STATUS_SET_TURN 0x0010
//
#define STATUS_NO_LEVEL 0x0020
//
#define STATUS_BATTLE_RESULT 0x0040
//
#define STATUS_SPSUMMON_STEP 0x0080
//
#define STATUS_FORM_CHANGED 0x0100
//
#define STATUS_SUMMONING 0x0200
//
#define STATUS_EFFECT_ENABLED 0x0400
//
#define STATUS_SUMMON_TURN 0x0800
//
#define STATUS_DESTROY_CONFIRMED 0x1000
//
#define STATUS_LEAVE_CONFIRMED 0x2000
//
#define STATUS_BATTLE_DESTROYED 0x4000
//
#define STATUS_COPYING_EFFECT 0x8000
//
#define STATUS_CHAINING 0x10000
//
#define STATUS_SUMMON_DISABLED 0x20000
//
#define STATUS_ACTIVATE_DISABLED 0x40000
//
#define STATUS_DISABLED 0x0001
#define STATUS_TO_ENABLE 0x0002
#define STATUS_TO_DISABLE 0x0004
#define STATUS_PROC_COMPLETE 0x0008
#define STATUS_SET_TURN 0x0010
#define STATUS_NO_LEVEL 0x0020
#define STATUS_BATTLE_RESULT 0x0040
#define STATUS_SPSUMMON_STEP 0x0080
#define STATUS_FORM_CHANGED 0x0100
#define STATUS_SUMMONING 0x0200
#define STATUS_EFFECT_ENABLED 0x0400
#define STATUS_SUMMON_TURN 0x0800
#define STATUS_DESTROY_CONFIRMED 0x1000
#define STATUS_LEAVE_CONFIRMED 0x2000
#define STATUS_BATTLE_DESTROYED 0x4000
#define STATUS_COPYING_EFFECT 0x8000
#define STATUS_CHAINING 0x10000
#define STATUS_SUMMON_DISABLED 0x20000
#define STATUS_ACTIVATE_DISABLED 0x40000
#define STATUS_EFFECT_REPLACED 0x80000
#define STATUS_FUTURE_FUSION 0x100000
//
#define STATUS_FUTURE_FUSION 0x100000
#define STATUS_ATTACK_CANCELED 0x200000
#define STATUS_INITIALIZING 0x400000
#define STATUS_TO_HAND_WITHOUT_CONFIRM 0x800000
...
...
operations.cpp
View file @
79d4c158
...
...
@@ -3352,7 +3352,8 @@ int32 field::special_summon(uint16 step, effect* reason_effect, uint8 reason_pla
if
(
!
(
pcard
->
current
.
position
&
POS_FACEDOWN
))
raise_single_event
(
pcard
,
0
,
EVENT_SPSUMMON_SUCCESS
,
pcard
->
current
.
reason_effect
,
0
,
pcard
->
current
.
reason_player
,
pcard
->
summon_player
,
0
);
int32
summontype
=
pcard
->
summon_info
&
(
SUMMON_VALUE_MAIN_TYPE
|
SUMMON_VALUE_SUB_TYPE
);
if
(
summontype
&&
pcard
->
material_cards
.
size
()
&&
!
pcard
->
is_status
(
STATUS_FUTURE_FUSION
))
{
int32
custom_type
=
pcard
->
summon_info
&
SUMMON_VALUE_CUSTOM_TYPE
;
if
(
summontype
&&
pcard
->
material_cards
.
size
()
&&
custom_type
!=
SUMMON_VALUE_FUTURE_FUSION
)
{
int32
matreason
=
0
;
if
(
summontype
==
SUMMON_TYPE_FUSION
)
matreason
=
REASON_FUSION
;
...
...
@@ -3366,7 +3367,6 @@ int32 field::special_summon(uint16 step, effect* reason_effect, uint8 reason_pla
raise_single_event
(
mcard
,
&
targets
->
container
,
EVENT_BE_MATERIAL
,
pcard
->
current
.
reason_effect
,
matreason
,
pcard
->
current
.
reason_player
,
pcard
->
summon_player
,
0
);
raise_event
(
&
(
pcard
->
material_cards
),
EVENT_BE_MATERIAL
,
reason_effect
,
matreason
,
reason_player
,
pcard
->
summon_player
,
0
);
}
pcard
->
set_status
(
STATUS_FUTURE_FUSION
,
FALSE
);
}
process_single_event
();
process_instant_event
();
...
...
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