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
973e13c2
Commit
973e13c2
authored
Mar 12, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
76f90cdf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
ocgcore/processor.cpp
ocgcore/processor.cpp
+15
-4
script/c9365703.lua
script/c9365703.lua
+1
-1
No files found.
ocgcore/processor.cpp
View file @
973e13c2
...
@@ -1743,6 +1743,7 @@ int32 field::process_point_event(int16 step, int32 special, int32 skip_new) {
...
@@ -1743,6 +1743,7 @@ int32 field::process_point_event(int16 step, int32 special, int32 skip_new) {
for(cait = core.current_chain.begin(); cait != core.current_chain.end(); ++cait)
for(cait = core.current_chain.begin(); cait != core.current_chain.end(); ++cait)
cait->triggering_effect->handler->set_status(STATUS_CHAINING, FALSE);
cait->triggering_effect->handler->set_status(STATUS_CHAINING, FALSE);
add_process(PROCESSOR_SOLVE_CHAIN, 0, 0, 0, skip_new, 0);
add_process(PROCESSOR_SOLVE_CHAIN, 0, 0, 0, skip_new, 0);
return FALSE;
} else {
} else {
core.used_event.splice(core.used_event.end(), core.point_event);
core.used_event.splice(core.used_event.end(), core.point_event);
if(core.chain_limit_p) {
if(core.chain_limit_p) {
...
@@ -1750,10 +1751,14 @@ int32 field::process_point_event(int16 step, int32 special, int32 skip_new) {
...
@@ -1750,10 +1751,14 @@ int32 field::process_point_event(int16 step, int32 special, int32 skip_new) {
core.chain_limit_p = 0;
core.chain_limit_p = 0;
}
}
reset_chain();
reset_chain();
}
returns.ivalue[0] = FALSE;
return TRUE;
return TRUE;
}
}
}
}
case 10:
returns.ivalue[0] = TRUE;
return TRUE;
}
return TRUE;
return TRUE;
}
}
int32 field::process_quick_effect(int16 step, int32 special, uint8 priority) {
int32 field::process_quick_effect(int16 step, int32 special, uint8 priority) {
...
@@ -2612,7 +2617,8 @@ int32 field::process_battle_command(uint16 step) {
...
@@ -2612,7 +2617,8 @@ int32 field::process_battle_command(uint16 step) {
pduel->write_buffer8(MSG_ATTACK_DISABLED);
pduel->write_buffer8(MSG_ATTACK_DISABLED);
core.attacker->set_status(STATUS_ATTACK_CANCELED, TRUE);
core.attacker->set_status(STATUS_ATTACK_CANCELED, TRUE);
}
}
if
(
is_player_affected_by_effect
(
infos
.
turn_player
,
EFFECT_SKIP_BP
))
{
effect* peffect;
if(peffect = is_player_affected_by_effect(infos.turn_player, EFFECT_SKIP_BP)) {
reset_phase(PHASE_DAMAGE);
reset_phase(PHASE_DAMAGE);
if(core.attacker->fieldid == afid) {
if(core.attacker->fieldid == afid) {
if(!atk_disabled) {
if(!atk_disabled) {
...
@@ -2626,8 +2632,13 @@ int32 field::process_battle_command(uint16 step) {
...
@@ -2626,8 +2632,13 @@ int32 field::process_battle_command(uint16 step) {
}
}
core.units.begin()->step = 29;
core.units.begin()->step = 29;
core.units.begin()->arg1 = 2;
core.units.begin()->arg1 = 2;
if(!peffect->value)
add_process(PROCESSOR_PHASE_EVENT, 0, 0, 0, PHASE_BATTLE, 0);
add_process(PROCESSOR_PHASE_EVENT, 0, 0, 0, PHASE_BATTLE, 0);
else {
core.hint_timing[infos.turn_player] = 0;
reset_phase(PHASE_BATTLE);
adjust_all();
adjust_all();
}
return FALSE;
return FALSE;
}
}
if(atk_disabled || !core.attacker->is_capable_attack() || core.attacker->is_status(STATUS_ATTACK_CANCELED)
if(atk_disabled || !core.attacker->is_capable_attack() || core.attacker->is_status(STATUS_ATTACK_CANCELED)
...
...
script/c9365703.lua
View file @
973e13c2
--ス
プレンディッド·ローズ
--ス
ピード·ウォリアー
function
c9365703
.
initial_effect
(
c
)
function
c9365703
.
initial_effect
(
c
)
--summon success
--summon success
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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