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
5870c2d9
Commit
5870c2d9
authored
Apr 05, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor format fixes
parent
cfc60c2b
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
54 deletions
+53
-54
Dialogs/kiwi.zh-TW.json
Dialogs/kiwi.zh-TW.json
+1
-2
Game/AI/Decks/BlackwingExecutor.cs
Game/AI/Decks/BlackwingExecutor.cs
+1
-1
Game/AI/Decks/CyberDragonExecutor.cs
Game/AI/Decks/CyberDragonExecutor.cs
+1
-1
Game/AI/Decks/LightswornShaddoldinosourExecutor.cs
Game/AI/Decks/LightswornShaddoldinosourExecutor.cs
+44
-44
Game/AI/Decks/NekrozExecutor.cs
Game/AI/Decks/NekrozExecutor.cs
+4
-4
Game/AI/Decks/QliphortExecutor.cs
Game/AI/Decks/QliphortExecutor.cs
+1
-1
Game/GameAI.cs
Game/GameAI.cs
+1
-1
No files found.
Dialogs/kiwi.zh-
CN
.json
→
Dialogs/kiwi.zh-
TW
.json
View file @
5870c2d9
...
@@ -9,8 +9,7 @@
...
@@ -9,8 +9,7 @@
"duelstart"
:
[
"duelstart"
:
[
"這只是AI,打贏不要太高興阿。"
,
"這只是AI,打贏不要太高興阿。"
,
"十分致謝233服讓我們有遊戲可以玩,別忘記去拜訪他們。"
,
"十分致謝233服讓我們有遊戲可以玩,別忘記去拜訪他們。"
,
"反主流學院請洽NOVA。"
,
"反主流學院請洽NOVA。"
],
],
"newturn"
:
[
"newturn"
:
[
"到我的回合了,抽牌!"
,
"到我的回合了,抽牌!"
,
...
...
Game/AI/Decks/BlackwingExecutor.cs
View file @
5870c2d9
...
@@ -43,7 +43,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -43,7 +43,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
DarkHole
,
DefaultDarkHole
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
DarkHole
,
DefaultDarkHole
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
Raigeki
,
DefaultRaigeki
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
Raigeki
,
DefaultRaigeki
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
BlackWhirlwind
,
BlackWhirlwindEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
BlackWhirlwind
,
BlackWhirlwindEffect
);
AddExecutor
(
ExecutorType
.
SpSummon
,
CardId
.
KrisTheCrackOfDawn
);
AddExecutor
(
ExecutorType
.
SpSummon
,
CardId
.
KrisTheCrackOfDawn
);
AddExecutor
(
ExecutorType
.
SummonOrSet
,
CardId
.
KrisTheCrackOfDawn
);
AddExecutor
(
ExecutorType
.
SummonOrSet
,
CardId
.
KrisTheCrackOfDawn
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
SiroccoTheDawn
,
SiroccoTheDawnSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
SiroccoTheDawn
,
SiroccoTheDawnSummon
);
...
...
Game/AI/Decks/CyberDragonExecutor.cs
View file @
5870c2d9
...
@@ -129,7 +129,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -129,7 +129,7 @@ namespace WindBot.Game.AI.Decks
if
(
bestMy
==
null
||
!
AI
.
Utils
.
IsOneEnemyBetterThanValue
(
bestMy
.
Attack
,
false
))
if
(
bestMy
==
null
||
!
AI
.
Utils
.
IsOneEnemyBetterThanValue
(
bestMy
.
Attack
,
false
))
return
false
;
return
false
;
else
else
AI
.
SelectCard
(
Enemy
.
MonsterZone
.
GetHighestAttackMonster
());
AI
.
SelectCard
(
Enemy
.
MonsterZone
.
GetHighestAttackMonster
());
return
true
;
return
true
;
}
}
...
...
Game/AI/Decks/LightswornShaddoldinosourExecutor.cs
View file @
5870c2d9
This diff is collapsed.
Click to expand it.
Game/AI/Decks/NekrozExecutor.cs
View file @
5870c2d9
...
@@ -9,7 +9,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -9,7 +9,7 @@ namespace WindBot.Game.AI.Decks
// NOT FINISHED YET
// NOT FINISHED YET
[
Deck
(
"Nekroz"
,
"AI_Nekroz"
,
"NotFinished"
)]
[
Deck
(
"Nekroz"
,
"AI_Nekroz"
,
"NotFinished"
)]
public
class
NekrozExecutor
:
DefaultExecutor
public
class
NekrozExecutor
:
DefaultExecutor
{
{
public
class
CardId
public
class
CardId
{
{
public
const
int
DancePrincess
=
52738610
;
public
const
int
DancePrincess
=
52738610
;
...
@@ -45,7 +45,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -45,7 +45,7 @@ namespace WindBot.Game.AI.Decks
public
NekrozExecutor
(
GameAI
ai
,
Duel
duel
)
public
NekrozExecutor
(
GameAI
ai
,
Duel
duel
)
:
base
(
ai
,
duel
)
:
base
(
ai
,
duel
)
{
{
NekrozRituelCard
.
Add
(
CardId
.
Clausolas
);
NekrozRituelCard
.
Add
(
CardId
.
Clausolas
);
NekrozRituelCard
.
Add
(
CardId
.
Unicore
);
NekrozRituelCard
.
Add
(
CardId
.
Unicore
);
NekrozRituelCard
.
Add
(
CardId
.
DecisiveArmor
);
NekrozRituelCard
.
Add
(
CardId
.
DecisiveArmor
);
NekrozRituelCard
.
Add
(
CardId
.
Brionac
);
NekrozRituelCard
.
Add
(
CardId
.
Brionac
);
...
@@ -103,7 +103,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -103,7 +103,7 @@ namespace WindBot.Game.AI.Decks
private
bool
ThousandHandsSummon
()
private
bool
ThousandHandsSummon
()
{
{
if
(!
Bot
.
HasInHand
(
NekrozRituelCard
)
||
Bot
.
HasInHand
(
CardId
.
Shurit
)
||
!
Bot
.
HasInHand
(
NekrozSpellCard
))
if
(!
Bot
.
HasInHand
(
NekrozRituelCard
)
||
Bot
.
HasInHand
(
CardId
.
Shurit
)
||
!
Bot
.
HasInHand
(
NekrozSpellCard
))
return
true
;
return
true
;
foreach
(
ClientCard
Card
in
Bot
.
Hand
)
foreach
(
ClientCard
Card
in
Bot
.
Hand
)
if
(
Card
!=
null
&&
Card
.
Id
==
CardId
.
Kaleidoscope
&&
!
Bot
.
HasInHand
(
CardId
.
Unicore
))
if
(
Card
!=
null
&&
Card
.
Id
==
CardId
.
Kaleidoscope
&&
!
Bot
.
HasInHand
(
CardId
.
Unicore
))
...
@@ -175,7 +175,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -175,7 +175,7 @@ namespace WindBot.Game.AI.Decks
}
}
private
bool
GungnirEffect
()
private
bool
GungnirEffect
()
{
{
if
(
AI
.
Utils
.
IsOneEnemyBetter
(
true
)
&&
Duel
.
Phase
==
DuelPhase
.
Main1
)
if
(
AI
.
Utils
.
IsOneEnemyBetter
(
true
)
&&
Duel
.
Phase
==
DuelPhase
.
Main1
)
{
{
AI
.
SelectCard
(
Enemy
.
GetMonsters
().
GetHighestAttackMonster
());
AI
.
SelectCard
(
Enemy
.
GetMonsters
().
GetHighestAttackMonster
());
...
...
Game/AI/Decks/QliphortExecutor.cs
View file @
5870c2d9
...
@@ -191,7 +191,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -191,7 +191,7 @@ namespace WindBot.Game.AI.Decks
}
}
return
false
;
return
false
;
}
}
private
bool
TrapSetUnique
()
private
bool
TrapSetUnique
()
{
{
foreach
(
ClientCard
card
in
Bot
.
GetSpells
())
foreach
(
ClientCard
card
in
Bot
.
GetSpells
())
...
...
Game/GameAI.cs
View file @
5870c2d9
...
@@ -703,7 +703,7 @@ namespace WindBot.Game
...
@@ -703,7 +703,7 @@ namespace WindBot.Game
{
{
m_thirdSelector
=
new
CardSelector
(
loc
);
m_thirdSelector
=
new
CardSelector
(
loc
);
}
}
public
void
SelectMaterials
(
ClientCard
card
)
public
void
SelectMaterials
(
ClientCard
card
)
{
{
m_materialSelector
=
new
CardSelector
(
card
);
m_materialSelector
=
new
CardSelector
(
card
);
...
...
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