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
59863fd6
Commit
59863fd6
authored
Jun 01, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
custom ACTIVITY_ATTACK
parent
eb499896
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
libduel.cpp
libduel.cpp
+1
-0
processor.cpp
processor.cpp
+1
-0
No files found.
libduel.cpp
View file @
59863fd6
...
...
@@ -1210,6 +1210,7 @@ int32 scriptlib::duel_change_attack_target(lua_State *L) {
else
pduel
->
game_field
->
core
.
opp_mzone
[
i
]
=
0
;
}
check_card_counter
(
core
.
attacker
,
5
,
infos
.
turn_player
);
if
(
target
)
{
pduel
->
game_field
->
raise_single_event
(
target
,
0
,
EVENT_BE_BATTLE_TARGET
,
0
,
REASON_REPLACE
,
0
,
1
-
turnp
,
0
);
pduel
->
game_field
->
raise_event
(
target
,
EVENT_BE_BATTLE_TARGET
,
0
,
REASON_REPLACE
,
0
,
1
-
turnp
,
0
);
...
...
processor.cpp
View file @
59863fd6
...
...
@@ -3626,6 +3626,7 @@ int32 field::process_damage_step(uint16 step) {
core
.
units
.
begin
()
->
step
=
2
;
return
FALSE
;
}
check_card_counter
(
core
.
attacker
,
5
,
infos
.
turn_player
);
pduel
->
write_buffer8
(
MSG_ATTACK
);
pduel
->
write_buffer32
(
core
.
attacker
->
get_info_location
());
pduel
->
write_buffer32
(
core
.
attack_target
->
get_info_location
());
...
...
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