Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
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
FF
YGOProUnity_V2
Commits
3fac010b
You need to sign in or sign up before continuing.
Commit
3fac010b
authored
Sep 04, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update SC ot
parent
f9d23dbf
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
30 deletions
+38
-30
Assets/SibylSystem/ResourceManagers/GameStringHelper.cs
Assets/SibylSystem/ResourceManagers/GameStringHelper.cs
+8
-16
Assets/SibylSystem/Room/Room.cs
Assets/SibylSystem/Room/Room.cs
+4
-1
Assets/SibylSystem/deckManager/DeckManager.cs
Assets/SibylSystem/deckManager/DeckManager.cs
+10
-8
Assets/YGOSharp/CardsManager.cs
Assets/YGOSharp/CardsManager.cs
+1
-1
config/strings.conf
config/strings.conf
+15
-4
No files found.
Assets/SibylSystem/ResourceManagers/GameStringHelper.cs
View file @
3fac010b
...
@@ -159,22 +159,14 @@ public class GameStringHelper
...
@@ -159,22 +159,14 @@ public class GameStringHelper
public
static
string
getName
(
Card
card
)
public
static
string
getName
(
Card
card
)
{
{
var
limitot
=
""
;
var
limitot
=
""
;
switch
(
card
.
Ot
)
if
((
card
.
Ot
&
0x1
)
>
0
)
{
limitot
+=
"[OCG]"
;
case
1
:
if
((
card
.
Ot
&
0x2
)
>
0
)
limitot
=
"[OCG] "
;
limitot
+=
"[TCG]"
;
break
;
if
((
card
.
Ot
&
0x4
)
>
0
)
case
2
:
limitot
+=
"[Custom]"
;
limitot
=
"[TCG] "
;
if
((
card
.
Ot
&
0x8
)
>
0
)
break
;
limitot
+=
InterString
.
Get
(
"[简中]"
);
case
3
:
limitot
=
"[OCG/TCG] "
;
break
;
case
4
:
limitot
=
"[Anime] "
;
break
;
}
var
re
=
""
;
var
re
=
""
;
try
try
{
{
...
...
Assets/SibylSystem/Room/Room.cs
View file @
3fac010b
...
@@ -658,7 +658,10 @@ public class Room : WindowServantSP
...
@@ -658,7 +658,10 @@ public class Room : WindowServantSP
description
+=
InterString
.
Get
(
"禁限卡表:[?]"
,
BanlistManager
.
GetName
(
lflist
))
+
"\r\n"
;
description
+=
InterString
.
Get
(
"禁限卡表:[?]"
,
BanlistManager
.
GetName
(
lflist
))
+
"\r\n"
;
if
(
rule
==
0
)
description
+=
InterString
.
Get
(
"(OCG卡池)"
)
+
"\r\n"
;
if
(
rule
==
0
)
description
+=
InterString
.
Get
(
"(OCG卡池)"
)
+
"\r\n"
;
if
(
rule
==
1
)
description
+=
InterString
.
Get
(
"(TCG卡池)"
)
+
"\r\n"
;
if
(
rule
==
1
)
description
+=
InterString
.
Get
(
"(TCG卡池)"
)
+
"\r\n"
;
if
(
rule
==
2
)
description
+=
InterString
.
Get
(
"(混合卡池)"
)
+
"\r\n"
;
if
(
rule
==
2
)
description
+=
InterString
.
Get
(
"(简中卡池)"
)
+
"\r\n"
;
if
(
rule
==
3
)
description
+=
InterString
.
Get
(
"(自制卡卡池)"
)
+
"\r\n"
;
if
(
rule
==
4
)
description
+=
InterString
.
Get
(
"(无独有卡卡池)"
)
+
"\r\n"
;
if
(
rule
==
5
)
description
+=
InterString
.
Get
(
"(混合卡池)"
)
+
"\r\n"
;
if
(
no_check_deck
)
description
+=
InterString
.
Get
(
"*不检查卡组"
)
+
"\r\n"
;
if
(
no_check_deck
)
description
+=
InterString
.
Get
(
"*不检查卡组"
)
+
"\r\n"
;
if
(
no_shuffle_deck
)
description
+=
InterString
.
Get
(
"*不洗牌"
)
+
"\r\n"
;
if
(
no_shuffle_deck
)
description
+=
InterString
.
Get
(
"*不洗牌"
)
+
"\r\n"
;
description
+=
InterString
.
Get
(
"LP:[?]"
,
start_lp
.
ToString
())
+
" "
;
description
+=
InterString
.
Get
(
"LP:[?]"
,
start_lp
.
ToString
())
+
" "
;
...
...
Assets/SibylSystem/deckManager/DeckManager.cs
View file @
3fac010b
...
@@ -776,10 +776,11 @@ public class DeckManager : ServantWithCardDescription
...
@@ -776,10 +776,11 @@ public class DeckManager : ServantWithCardDescription
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1316
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1316
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1317
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1317
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1318
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1318
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1240
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1481
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1241
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1482
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1242
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1483
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1243
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1484
));
UIPopupList_ban
.
AddItem
(
GameStringManager
.
get_unsafe
(
1485
));
clearAll
();
clearAll
();
UIHelper
.
registEvent
(
UIPopupList_main
.
gameObject
,
onUIPopupList_main
);
UIHelper
.
registEvent
(
UIPopupList_main
.
gameObject
,
onUIPopupList_main
);
UIHelper
.
registEvent
(
UIPopupList_second
.
gameObject
,
onUIPopupList_second
);
UIHelper
.
registEvent
(
UIPopupList_second
.
gameObject
,
onUIPopupList_second
);
...
@@ -1418,10 +1419,11 @@ public class DeckManager : ServantWithCardDescription
...
@@ -1418,10 +1419,11 @@ public class DeckManager : ServantWithCardDescription
private
int
getOT
()
private
int
getOT
()
{
{
var
returnValue
=
-
233
;
var
returnValue
=
-
233
;
if
(
UIPopupList_ban
.
value
==
GameStringManager
.
get_unsafe
(
1240
))
returnValue
=
1
;
if
(
UIPopupList_ban
.
value
==
GameStringManager
.
get_unsafe
(
1481
))
returnValue
=
1
;
if
(
UIPopupList_ban
.
value
==
GameStringManager
.
get_unsafe
(
1241
))
returnValue
=
2
;
if
(
UIPopupList_ban
.
value
==
GameStringManager
.
get_unsafe
(
1482
))
returnValue
=
2
;
if
(
UIPopupList_ban
.
value
==
GameStringManager
.
get_unsafe
(
1242
))
returnValue
=
3
;
if
(
UIPopupList_ban
.
value
==
GameStringManager
.
get_unsafe
(
1483
))
returnValue
=
8
;
if
(
UIPopupList_ban
.
value
==
GameStringManager
.
get_unsafe
(
1243
))
returnValue
=
4
;
if
(
UIPopupList_ban
.
value
==
GameStringManager
.
get_unsafe
(
1484
))
returnValue
=
4
;
if
(
UIPopupList_ban
.
value
==
GameStringManager
.
get_unsafe
(
1485
))
returnValue
=
3
;
return
returnValue
;
return
returnValue
;
}
}
...
...
Assets/YGOSharp/CardsManager.cs
View file @
3fac010b
...
@@ -161,7 +161,7 @@ namespace YGOSharp
...
@@ -161,7 +161,7 @@ namespace YGOSharp
if
(
getBAN
==
-
233
||
banlist
==
null
||
if
(
getBAN
==
-
233
||
banlist
==
null
||
banlist
.
GetQuantity
(
card
.
Id
)
==
getBAN
)
banlist
.
GetQuantity
(
card
.
Id
)
==
getBAN
)
{
{
if
(
getOT
==
-
233
||
getOT
==
card
.
Ot
)
if
(
getOT
==
-
233
||
(
getOT
&
card
.
Ot
)
==
getOT
)
{
{
if
(
getPack
==
""
||
card
.
packFullName
==
getPack
)
if
(
getPack
==
""
||
card
.
packFullName
==
getPack
)
{
{
...
...
config/strings.conf
View file @
3fac010b
...
@@ -261,6 +261,9 @@
...
@@ -261,6 +261,9 @@
!
system
1164
同调召唤
!
system
1164
同调召唤
!
system
1165
超量召唤
!
system
1165
超量召唤
!
system
1166
连接召唤
!
system
1166
连接召唤
!
system
1167
上级召唤
!
system
1168
仪式召唤
!
system
1169
融合召唤
!
system
1190
加入手卡
!
system
1190
加入手卡
!
system
1191
送去墓地
!
system
1191
送去墓地
!
system
1192
除外
!
system
1192
除外
...
@@ -298,10 +301,6 @@
...
@@ -298,10 +301,6 @@
!
system
1235
主机密码:
!
system
1235
主机密码:
!
system
1236
规则:
!
system
1236
规则:
!
system
1237
每回合时间:
!
system
1237
每回合时间:
!
system
1240
OCG
!
system
1241
TCG
!
system
1242
OCG&TCG
!
system
1243
自定义卡片
!
system
1244
单局模式
!
system
1244
单局模式
!
system
1245
比赛模式
!
system
1245
比赛模式
!
system
1246
TAG
!
system
1246
TAG
...
@@ -412,6 +411,7 @@
...
@@ -412,6 +411,7 @@
!
system
1365
重命名失败,可能存在同名文件
!
system
1365
重命名失败,可能存在同名文件
!
system
1366
自动保存录像
!
system
1366
自动保存录像
!
system
1367
录像已自动保存为%
ls
.
yrp
!
system
1367
录像已自动保存为%
ls
.
yrp
!
system
1369
提取卡组
!
system
1370
星数↑
!
system
1370
星数↑
!
system
1371
攻击↑
!
system
1371
攻击↑
!
system
1372
守备↑
!
system
1372
守备↑
...
@@ -459,6 +459,7 @@
...
@@ -459,6 +459,7 @@
!
system
1429
选择的位置不符合条件。
!
system
1429
选择的位置不符合条件。
!
system
1430
选择的表示形式不符合条件。
!
system
1430
选择的表示形式不符合条件。
!
system
1431
选择的指示物不符合条件。
!
system
1431
选择的指示物不符合条件。
!
system
1432
「%
ls
」不允许在当前设定下使用。
!
system
1440
关闭大图
!
system
1440
关闭大图
!
system
1441
放大
!
system
1441
放大
!
system
1442
缩小
!
system
1442
缩小
...
@@ -484,6 +485,12 @@
...
@@ -484,6 +485,12 @@
!
system
1474
已存在同名分类
!
system
1474
已存在同名分类
!
system
1475
已存在同名卡组
!
system
1475
已存在同名卡组
!
system
1476
删除失败
!
system
1476
删除失败
!
system
1481
OCG
!
system
1482
TCG
!
system
1483
简体中文
!
system
1484
自定义卡片
!
system
1485
无独有卡
!
system
1486
所有卡片
!
system
1500
决斗结束。
!
system
1500
决斗结束。
!
system
1501
录像结束。
!
system
1501
录像结束。
!
system
1502
连接已断开。
!
system
1502
连接已断开。
...
@@ -1107,3 +1114,7 @@
...
@@ -1107,3 +1114,7 @@
!
setname
0
x16c
冰水 氷水
!
setname
0
x16c
冰水 氷水
!
setname
0
x16d
随风旅鸟 ふわんだりぃず
!
setname
0
x16d
随风旅鸟 ふわんだりぃず
!
setname
0
x16e
拓扑 トポロジック
!
setname
0
x16e
拓扑 トポロジック
!
setname
0
x16f
许珀里翁 ヒュペリオン
!
setname
0
x170
甲虫骑兵
Beetrooper
!
setname
0
x171
朋克
P
.
U
.
N
.
K
.
!
setname
0
x172
救祓少女 エクソシスター
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