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
wyykak
ygopro
Commits
4965567f
Commit
4965567f
authored
May 02, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c873a83c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
gframe/game.cpp
gframe/game.cpp
+2
-2
script/c18605135.lua
script/c18605135.lua
+7
-2
No files found.
gframe/game.cpp
View file @
4965567f
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
#include <dirent.h>
#include <dirent.h>
#endif
#endif
const
unsigned
short
PRO_VERSION
=
0x127
0
;
const
unsigned
short
PRO_VERSION
=
0x127
1
;
namespace
ygo
{
namespace
ygo
{
...
@@ -789,7 +789,7 @@ void Game::AddChatMsg(wchar_t* msg, int player) {
...
@@ -789,7 +789,7 @@ void Game::AddChatMsg(wchar_t* msg, int player) {
chatMsg
[
0
].
append
(
L"[Script error:] "
);
chatMsg
[
0
].
append
(
L"[Script error:] "
);
break
;
break
;
default:
//from watcher or unknown
default:
//from watcher or unknown
chatMsg
[
0
].
append
(
L"[
***
]: "
);
chatMsg
[
0
].
append
(
L"[
---
]: "
);
}
}
chatMsg
[
0
].
append
(
msg
);
chatMsg
[
0
].
append
(
msg
);
...
...
script/c18605135.lua
View file @
4965567f
...
@@ -24,12 +24,17 @@ function c18605135.initial_effect(c)
...
@@ -24,12 +24,17 @@ function c18605135.initial_effect(c)
e3
:
SetCondition
(
c18605135
.
sdcon
)
e3
:
SetCondition
(
c18605135
.
sdcon
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c18605135
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c18605135
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18605135
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetEnvironment
()
==
22702055
return
Duel
.
IsExistingMatchingCard
(
c18605135
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
or
Duel
.
GetEnvironment
()
==
22702055
end
end
function
c18605135
.
abdcon
(
e
)
function
c18605135
.
abdcon
(
e
)
return
Duel
.
GetAttackTarget
()
==
nil
or
Duel
.
GetAttackTarget
():
IsAttackPos
()
or
Duel
.
GetAttacker
():
GetAttack
()
>
Duel
.
GetAttackTarget
():
GetDefence
()
return
Duel
.
GetAttackTarget
()
==
nil
or
Duel
.
GetAttackTarget
():
IsAttackPos
()
or
Duel
.
GetAttacker
():
GetAttack
()
>
Duel
.
GetAttackTarget
():
GetDefence
()
end
end
function
c18605135
.
sdcon
(
e
)
function
c18605135
.
sdcon
(
e
)
return
Duel
.
GetEnvironment
()
~=
22702055
return
Duel
.
IsExistingMatchingCard
(
c18605135
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
or
Duel
.
GetEnvironment
()
==
22702055
end
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