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
088737d4
Commit
088737d4
authored
Jun 26, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7ab64171
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
ocgcore/processor.cpp
ocgcore/processor.cpp
+1
-0
script/c25789292.lua
script/c25789292.lua
+4
-0
script/c26412047.lua
script/c26412047.lua
+1
-1
No files found.
ocgcore/processor.cpp
View file @
088737d4
...
...
@@ -2863,6 +2863,7 @@ int32 field::process_battle_command(uint16 step) {
}
case
20
:
{
infos
.
phase
=
PHASE_DAMAGE
;
core
.
chain_attack
=
FALSE
;
pduel
->
write_buffer8
(
MSG_DAMAGE_STEP_START
);
core
.
units
.
begin
()
->
arg1
=
FALSE
;
core
.
damage_calculated
=
FALSE
;
...
...
script/c25789292.lua
View file @
088737d4
...
...
@@ -7,10 +7,14 @@ function c25789292.initial_effect(c)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMING_DAMAGE_STEP
+
0x1c0
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
c25789292
.
condition
)
e1
:
SetTarget
(
c25789292
.
target
)
e1
:
SetOperation
(
c25789292
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
c25789292
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
end
function
c25789292
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
script/c26412047.lua
View file @
088737d4
...
...
@@ -10,7 +10,7 @@ function c26412047.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c26412047
.
filter
(
c
)
return
c
:
Is
Faceup
(
)
and
c
:
IsDestructable
()
return
c
:
Is
Position
(
POS_FACEUP_ATTACK
)
and
c
:
IsDestructable
()
end
function
c26412047
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c26412047
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
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