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
2e838d6e
Commit
2e838d6e
authored
Jun 01, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a14cadfc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
gframe/event_handler.cpp
gframe/event_handler.cpp
+1
-1
ocgcore/operations.cpp
ocgcore/operations.cpp
+1
-1
ocgcore/playerop.cpp
ocgcore/playerop.cpp
+1
-1
script/c35480699.lua
script/c35480699.lua
+1
-1
system.conf
system.conf
+1
-1
No files found.
gframe/event_handler.cpp
View file @
2e838d6e
...
...
@@ -978,7 +978,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
}
case
MSG_SELECT_PLACE
:
case
MSG_SELECT_DISFIELD
:
{
if
(
!
(
hovered_location
&
LOCATION_ONFIELD
))
if
(
!
(
hovered_location
&
LOCATION_ONFIELD
)
||
hovered_sequence
==
5
)
break
;
int
flag
=
1
<<
(
hovered_sequence
+
(
hovered_controler
<<
4
)
+
((
hovered_location
==
LOCATION_MZONE
)
?
0
:
8
));
if
((
flag
&
selectable_field
)
>
0
)
{
...
...
ocgcore/operations.cpp
View file @
2e838d6e
...
...
@@ -2960,7 +2960,7 @@ int32 field::change_position(uint16 step, group * targets, effect * reason_effec
noflip
=
pcard
->
operation_param
>>
16
;
if
(
pcard
->
is_status
(
STATUS_SUMMONING
)
||
pcard
->
overlay_target
||
!
(
pcard
->
current
.
location
&
LOCATION_ONFIELD
)
||
!
pcard
->
is_affect_by_effect
(
reason_effect
)
||
npos
==
opos
|| ((opos & POS_FACEUP) && (npos & POS_FACEDOWN) && !pcard->is_capable_turn_set(reason_player))
||
(
!
(
pcard
->
data
.
type
&
TYPE_TOKEN
)
&&
(
opos
&
POS_FACEUP
)
&&
(
npos
&
POS_FACEDOWN
)
&&
!
pcard
->
is_capable_turn_set
(
reason_player
))
||
(
reason_effect
&&
pcard
->
is_affected_by_effect
(
EFFECT_CANNOT_CHANGE_POS_E
)))
{
targets
->
container
.
erase
(
pcard
);
}
else
{
...
...
ocgcore/playerop.cpp
View file @
2e838d6e
...
...
@@ -313,7 +313,7 @@ int32 field::select_place(uint16 step, uint8 playerid, uint32 flag, uint8 count)
p
=
returns
.
bvalue
[
pt
];
l
=
returns
.
bvalue
[
pt
+
1
];
s
=
returns
.
bvalue
[
pt
+
2
];
if
((
p
!=
0
&&
p
!=
1
)
||
(
l
!=
LOCATION_MZONE
&&
l
!=
LOCATION_SZONE
)
if
((
p
!=
0
&&
p
!=
1
)
||
(
l
!=
LOCATION_MZONE
&&
l
!=
LOCATION_SZONE
)
||
s
>=
5
||
((
1
<<
s
)
&
(
flag
>>
((
p
==
playerid
?
0
:
16
)
+
(
l
==
LOCATION_MZONE
?
0
:
8
)))))
{
pduel
->
write_buffer8
(
MSG_RETRY
);
return
FALSE
;
...
...
script/c35480699.lua
View file @
2e838d6e
...
...
@@ -19,7 +19,7 @@ function c35480699.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c35480699
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c35480699
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENCE
)
end
...
...
system.conf
View file @
2e838d6e
...
...
@@ -9,5 +9,5 @@ lastdeck = test
textfont
=
c
:/
windows
/
fonts
/
simsun
.
ttc
14
numfont
=
c
:/
windows
/
fonts
/
arialbd
.
ttf
serverport
=
7911
lastip
=
192
.
168
.
3
.
235
lastip
=
192
.
168
.
2
.
100
lastport
=
7911
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