Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
windbot
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
windbot
Commits
2dafb41a
Commit
2dafb41a
authored
Sep 09, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
378b87ad
7ecec005
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
2 deletions
+39
-2
BotWrapper/bot.conf
BotWrapper/bot.conf
+21
-1
Game/AI/Enums/Floodgate.cs
Game/AI/Enums/Floodgate.cs
+3
-1
Game/ClientCard.cs
Game/ClientCard.cs
+15
-0
No files found.
BotWrapper/bot.conf
View file @
2dafb41a
...
...
@@ -69,10 +69,15 @@ Name=尼亚 Deck=Trickstar Dialog=near.zh-CN
淘气仙星卡组。
AI_LV3
SUPPORT_NEW_MASTER_RULE
!尼亚-幻变骚灵
Name
=尼亚
Deck
=
Altergeist
Dialog
=
near
.
zh
-
CN
幻变骚灵卡组。
AI_LV3
SUPPORT_NEW_MASTER_RULE
!永远之魂-削血
Name
=永远之魂
Deck
=
Burn
Dialog
=
soul
.
zh
-
CN
老式削血卡组。
AI_LV1
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
!永远之魂-青蛙
Name
=永远之魂
Deck
=
Frog
Dialog
=
soul
.
zh
-
CN
...
...
@@ -144,6 +149,16 @@ Name=奇異果 Deck=LightswornShaddoldinosour Dialog=kiwi.zh-TW
光道影依恐龙卡组。
AI_LV3
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
!
MAX
龍果
Name
=
MAX
龍果
Deck
=
BlueEyesMaxDragon
Dialog
=
kiwi
.
zh
-
TW
青眼混沌极龙卡组。
AI_LV2
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
!幻煌果
Name
=幻煌果
Deck
=
Phantasm
Dialog
=
kiwi
.
zh
-
TW
幻煌龙卡组。
AI_LV3
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
!燃血鬥士
Name
=燃血鬥士
Deck
=
ChainBurn
Dialog
=
kiwi
.
zh
-
TW
连锁烧卡组。
...
...
@@ -154,6 +169,11 @@ Name=彩音 Deck=SkyStriker Dialog=ayane.zh-CN
纯闪刀姬卡组。
AI_LV3
SUPPORT_NEW_MASTER_RULE
!報社鬥士
Name
=報社鬥士
Deck
=
GrenMajuThunderBoarder
Dialog
=
kiwi
.
zh
-
TW
红莲雷王滑板卡组。
AI_LV3
SUPPORT_NEW_MASTER_RULE
!彩音-黑魔术师
Name
=彩音
Deck
=
DarkMagician
Dialog
=
ayane
.
zh
-
CN
黑魔术师卡组。
...
...
Game/AI/Enums/Floodgate.cs
View file @
2dafb41a
...
...
@@ -78,6 +78,8 @@
SuperboltThunderDragon
=
15291624
,
ThunderDragonLord
=
41685633
,
CyberDragonInfinity
=
10443957
,
ImperialCustom
=
9995766
ImperialCustom
=
9995766
,
InspectorBoarder
=
15397015
}
}
Game/ClientCard.cs
View file @
2dafb41a
...
...
@@ -247,6 +247,21 @@ namespace WindBot.Game
return
(
Attribute
&
(
int
)
attribute
)
!=
0
;
}
public
bool
HasSetcode
(
int
setcode
)
{
if
(
Data
==
null
)
return
false
;
long
setcodes
=
Data
.
Setcode
;
int
settype
=
setcode
&
0xfff
;
int
setsubtype
=
setcode
&
0xf000
;
while
(
setcodes
>
0
)
{
long
check_setcode
=
setcodes
&
0xffff
;
setcodes
>>=
16
;
if
((
check_setcode
&
0xfff
)
==
settype
&&
(
check_setcode
&
0xf000
&
setsubtype
)
==
setsubtype
)
return
true
;
}
return
false
;
}
public
bool
IsMonster
()
{
return
HasType
(
CardType
.
Monster
);
...
...
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