Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
Windbot-408
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
神之吹息
Windbot-408
Commits
8321f8cd
Commit
8321f8cd
authored
Oct 23, 2023
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加火球/滑槽发动操作,LP小于1000时对话
parent
c372c0c4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
1 deletion
+25
-1
BotWrapper/bot.conf
BotWrapper/bot.conf
+6
-1
Dialogs/fapaiji.zh-CN.json
Dialogs/fapaiji.zh-CN.json
+3
-0
Game/AI/Decks/LuckyExecutor.cs
Game/AI/Decks/LuckyExecutor.cs
+10
-0
Game/AI/DefaultExecutor.cs
Game/AI/DefaultExecutor.cs
+6
-0
No files found.
BotWrapper/bot.conf
View file @
8321f8cd
...
...
@@ -42,4 +42,9 @@ AI_LV3 SUPPORT_MASTER_RULE_2020
!复制梁龙-闪刀姬
Name
=复制梁龙
Deck
=
SkyStriker
Dialog
=
anothercopy
.
zh
-
CN
旧式闪刀姬卡组。
AI_LV3
SUPPORT_NEW_MASTER_RULE
SUPPORT_MASTER_RULE_2020
\ No newline at end of file
AI_LV3
SUPPORT_NEW_MASTER_RULE
SUPPORT_MASTER_RULE_2020
!发牌姬-发牌姬
Name
=发牌姬
Deck
=
Lucky
Dialog
=
fapaiji
.
zh
-
CN
失控发牌姬。
AI_LV3
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
SUPPORT_MASTER_RULE_2020
\ No newline at end of file
Dialogs/fapaiji.zh-CN.json
View file @
8321f8cd
...
...
@@ -120,5 +120,8 @@
"每一步都是未知的数学方程式,我已解锁其中的答案。{0}!"
,
"{0},粉碎这个计谋!"
,
"我一直在计算着每一步。你的行动只是我战略的一部分。"
],
"custom"
:
[
"绝地仍有生机,死战方可破敌!"
]
}
\ No newline at end of file
Game/AI/Decks/LuckyExecutor.cs
View file @
8321f8cd
...
...
@@ -82,6 +82,10 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Summon
,
_CardId
.
RightArmofTheForbiddenOne
,
JustDontIt
);
AddExecutor
(
ExecutorType
.
Summon
,
_CardId
.
ExodiaTheForbiddenOne
,
JustDontIt
);
}
private
enum
CustomMessage
{
InDanger
}
private
List
<
int
>
HintMsgForEnemy
=
new
List
<
int
>
{
...
...
@@ -217,6 +221,12 @@ namespace WindBot.Game.AI.Decks
return
0
;
}
public
override
void
OnNewTurn
()
{
if
(
Bot
.
LifePoints
<=
1000
)
AI
.
SendCustomChat
((
int
)
CustomMessage
.
InDanger
);
base
.
OnNewTurn
();
}
private
bool
ImFeelingLucky
()
{
return
Program
.
Rand
.
Next
(
10
)
>=
5
&&
DefaultDontChainMyself
();
...
...
Game/AI/DefaultExecutor.cs
View file @
8321f8cd
...
...
@@ -127,6 +127,10 @@ namespace WindBot.Game.AI
public
const
int
DivineArsenalAAZEUS_SkyThunder
=
90448279
;
public
const
int
RescueACEHydrant
=
37617348
;
public
const
int
Hinotama
=
46130346
;
public
const
int
TrapDustshoot
=
64697231
;
}
protected
class
_Setcode
...
...
@@ -141,6 +145,8 @@ namespace WindBot.Game.AI
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
VaylantzWorld_ShinraBansho
,
DefaultVaylantzWorld_ShinraBansho
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
VaylantzWorld_KonigWissen
,
DefaultVaylantzWorld_KonigWissen
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
SantaClaws
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
Hinotama
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
TrapDustshoot
);
}
/// <summary>
...
...
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