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
10339cf3
Commit
10339cf3
authored
Dec 31, 2011
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b5972974
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
gframe/network.h
gframe/network.h
+1
-0
ocgcore/ocgapi.cpp
ocgcore/ocgapi.cpp
+0
-2
script/c25165047.lua
script/c25165047.lua
+2
-0
script/c57281778.lua
script/c57281778.lua
+1
-1
No files found.
gframe/network.h
View file @
10339cf3
...
...
@@ -2,6 +2,7 @@
#define NETWORK_H
#include "config.h"
#include <event2/event.h>
#include <set>
#include <vector>
...
...
ocgcore/ocgapi.cpp
View file @
10339cf3
...
...
@@ -62,10 +62,8 @@ uint32 default_card_reader(uint32 code, card_data* data) {
return
0
;
}
uint32
default_message_handler
(
void
*
pduel
,
uint32
message_type
)
{
printf
(
"%s
\n
"
,
((
duel
*
)
pduel
)
->
strbuffer
);
return
0
;
}
extern
"C"
DECL_DLLEXPORT
ptr
create_duel
(
uint32
seed
)
{
duel
*
pduel
=
new
duel
();
duel_set
.
insert
(
pduel
);
...
...
script/c25165047.lua
View file @
10339cf3
...
...
@@ -23,6 +23,8 @@ function c25165047.initial_effect(c)
--Destroy replace
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e3
:
SetTarget
(
c25165047
.
desreptg
)
c
:
RegisterEffect
(
e3
)
...
...
script/c57281778.lua
View file @
10339cf3
...
...
@@ -15,7 +15,7 @@ function c57281778.descon(e,tp,eg,ep,ev,re,r,rp)
local
t
=
Duel
.
GetAttackTarget
()
if
ev
==
1
then
t
=
Duel
.
GetAttacker
()
end
e
:
SetLabelObject
(
t
)
return
t
:
IsRace
(
RACE_SPELLCASTER
+
RACE_WARRIOR
)
and
t
:
IsRelateToBattle
()
return
t
and
t
:
IsRace
(
RACE_SPELLCASTER
+
RACE_WARRIOR
)
and
t
:
IsRelateToBattle
()
end
function
c57281778
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetLabelObject
():
IsDestructable
()
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