Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
d3ea820c
Commit
d3ea820c
authored
Oct 27, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sound Effect for Anifriends indestructable
parent
a1e809fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
ocgcore/operations.cpp
ocgcore/operations.cpp
+24
-0
ocgcore/processor.cpp
ocgcore/processor.cpp
+12
-0
No files found.
ocgcore/operations.cpp
View file @
d3ea820c
...
...
@@ -3180,6 +3180,12 @@ int32 field::destroy(uint16 step, group * targets, effect * reason_effect, uint3
pduel
->
write_buffer8
(
HINT_CARD
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
((
*
eit
)
->
owner
->
data
.
code
);
if
((
*
eit
)
->
description
)
{
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
12
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
((
*
eit
)
->
description
);
}
}
operation_replace
(
EFFECT_DESTROY_REPLACE
,
5
,
targets
);
return
FALSE
;
...
...
@@ -3284,6 +3290,12 @@ int32 field::destroy(uint16 step, group * targets, effect * reason_effect, uint3
pduel
->
write_buffer8
(
HINT_CARD
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
eset
[
i
]
->
owner
->
data
.
code
);
if
(
eset
[
i
]
->
description
)
{
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
12
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
eset
[
i
]
->
description
);
}
indes
=
true
;
break
;
}
...
...
@@ -3314,6 +3326,12 @@ int32 field::destroy(uint16 step, group * targets, effect * reason_effect, uint3
pduel
->
write_buffer8
(
HINT_CARD
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
eset
[
i
]
->
owner
->
data
.
code
);
if
(
eset
[
i
]
->
description
)
{
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
12
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
eset
[
i
]
->
description
);
}
indes
=
true
;
}
}
else
{
...
...
@@ -3328,6 +3346,12 @@ int32 field::destroy(uint16 step, group * targets, effect * reason_effect, uint3
pduel
->
write_buffer8
(
HINT_CARD
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
eset
[
i
]
->
owner
->
data
.
code
);
if
(
eset
[
i
]
->
description
)
{
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
12
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
eset
[
i
]
->
description
);
}
indes
=
true
;
}
}
...
...
ocgcore/processor.cpp
View file @
d3ea820c
...
...
@@ -3377,6 +3377,12 @@ int32 field::process_battle_command(uint16 step) {
pduel
->
write_buffer8
(
HINT_CARD
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
indestructable_effect
->
owner
->
data
.
code
);
if
(
indestructable_effect
->
description
)
{
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
12
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
indestructable_effect
->
description
);
}
bd
[
0
]
=
FALSE
;
}
else
core
.
attacker
->
set_status
(
STATUS_BATTLE_RESULT
,
TRUE
);
...
...
@@ -3388,6 +3394,12 @@ int32 field::process_battle_command(uint16 step) {
pduel
->
write_buffer8
(
HINT_CARD
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
indestructable_effect
->
owner
->
data
.
code
);
if
(
indestructable_effect
->
description
)
{
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
12
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
indestructable_effect
->
description
);
}
bd
[
1
]
=
FALSE
;
}
else
core
.
attack_target
->
set_status
(
STATUS_BATTLE_RESULT
,
TRUE
);
...
...
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