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
REIKAI
ygopro
Commits
73c32635
Commit
73c32635
authored
Dec 30, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3245c21b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
gframe/single_duel.cpp
gframe/single_duel.cpp
+1
-1
ocgcore/field.cpp
ocgcore/field.cpp
+0
-2
ocgcore/processor.cpp
ocgcore/processor.cpp
+1
-1
script/c12444060.lua
script/c12444060.lua
+1
-1
No files found.
gframe/single_duel.cpp
View file @
73c32635
...
...
@@ -564,11 +564,11 @@ int SingleDuel::Analyze(char* msgbuffer, unsigned int len) {
case
1
:
case
2
:
case
3
:
case
4
:
case
5
:
{
NetServer
::
SendBufferToPlayer
(
players
[
player
],
STOC_GAME_MSG
,
offset
,
pbuf
-
offset
);
break
;
}
case
4
:
case
6
:
case
7
:
case
8
:
...
...
ocgcore/field.cpp
View file @
73c32635
...
...
@@ -1894,7 +1894,6 @@ int32 field::is_player_can_spsummon(uint8 playerid) {
if
(
!
eset
[
i
]
->
target
)
return
FALSE
;
}
eset
.
clear
();
return
TRUE
;
}
int32
field
::
is_player_can_spsummon
(
effect
*
peffect
,
uint32
sumtype
,
uint8
sumpos
,
uint8
playerid
,
uint8
toplayer
,
card
*
pcard
)
{
...
...
@@ -1916,7 +1915,6 @@ int32 field::is_player_can_spsummon(effect * peffect, uint32 sumtype, uint8 sump
if
(
pduel
->
lua
->
check_condition
(
eset
[
i
]
->
target
,
7
))
return
FALSE
;
}
eset
.
clear
();
if
(
!
check_spsummon_once
(
pcard
,
playerid
))
return
FALSE
;
if
(
!
check_spsummon_counter
(
playerid
))
...
...
ocgcore/processor.cpp
View file @
73c32635
...
...
@@ -625,7 +625,7 @@ int32 field::process() {
pduel
->
lua
->
add_param
(
returns
.
ivalue
[
0
],
PARAM_TYPE_INT
);
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
HINT_OPSELECTED
);
pduel
->
write_buffer8
(
1
-
it
->
arg1
);
pduel
->
write_buffer8
(
it
->
arg1
);
pduel
->
write_buffer32
(
core
.
select_options
[
returns
.
ivalue
[
0
]]);
core
.
units
.
pop_front
();
}
...
...
script/c12444060.lua
View file @
73c32635
...
...
@@ -7,6 +7,7 @@ function c12444060.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
0x11e8
)
e1
:
SetCountLimit
(
1
,
12444060
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCost
(
c12444060
.
cost
)
e1
:
SetTarget
(
c12444060
.
target
)
e1
:
SetOperation
(
c12444060
.
activate
)
...
...
@@ -32,7 +33,6 @@ function c12444060.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
12444060
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c12444060
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x97
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
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