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
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
HiiragiGuardians
windbot
Commits
f4966efc
Commit
f4966efc
authored
Apr 28, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/IceYGO/windbot
parents
60252a31
61d40754
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
300 additions
and
78 deletions
+300
-78
Game/AI/Decks/OrcustExecutor.cs
Game/AI/Decks/OrcustExecutor.cs
+275
-72
Game/AI/Decks/Rank5Executor.cs
Game/AI/Decks/Rank5Executor.cs
+3
-2
Game/AI/Decks/ZexalWeaponsExecutor.cs
Game/AI/Decks/ZexalWeaponsExecutor.cs
+17
-4
Game/GameBehavior.cs
Game/GameBehavior.cs
+5
-0
No files found.
Game/AI/Decks/OrcustExecutor.cs
View file @
f4966efc
This diff is collapsed.
Click to expand it.
Game/AI/Decks/Rank5Executor.cs
View file @
f4966efc
...
...
@@ -220,8 +220,9 @@ namespace WindBot.Game.AI.Decks
{
CardId
.
WindUpSoldier
,
CardId
.
StarDrawing
,
CardId
.
ChronomalyGoldenJet
})
||
(
Bot
.
HasInHand
(
CardId
.
MistArchfiend
)
&&
NeedLV5
()))
CardId
.
ChronomalyGoldenJet
,
CardId
.
MistArchfiend
}))
{
NormalSummoned
=
false
;
DoubleSummonUsed
=
true
;
...
...
Game/AI/Decks/ZexalWeaponsExecutor.cs
View file @
f4966efc
...
...
@@ -79,9 +79,9 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
Number61Volcasaurus
);
// Weapons
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ZwTornadoBringer
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ZwLightningBlade
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ZwAsuraStrike
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ZwTornadoBringer
,
ZwWeapon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ZwLightningBlade
,
ZwWeapon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ZwAsuraStrike
,
ZwWeapon
);
// Special summons
...
...
@@ -122,6 +122,13 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
SolemnStrike
,
DefaultSolemnStrike
);
}
private
int
ZwCount
=
0
;
public
override
void
OnNewTurn
()
{
ZwCount
=
0
;
}
public
override
bool
OnSelectHand
()
{
return
false
;
...
...
@@ -164,10 +171,16 @@ namespace WindBot.Game.AI.Decks
if
(
ActivateDescription
==
Util
.
GetStringId
(
CardId
.
ZwLionArms
,
0
))
return
true
;
if
(
ActivateDescription
==
Util
.
GetStringId
(
CardId
.
ZwLionArms
,
1
))
return
!
Card
.
IsDisabled
();
return
!
Card
.
IsDisabled
()
&&
ZwWeapon
()
;
return
false
;
}
private
bool
ZwWeapon
()
{
ZwCount
++;
return
ZwCount
<
10
;
}
private
bool
ReinforcementOfTheArmy
()
{
AI
.
SelectCard
(
...
...
Game/GameBehavior.cs
View file @
f4966efc
...
...
@@ -506,6 +506,11 @@ namespace WindBot.Game
_duel
.
Fields
[
1
].
BattlingMonster
=
null
;
_duel
.
Fields
[
0
].
UnderAttack
=
false
;
_duel
.
Fields
[
1
].
UnderAttack
=
false
;
List
<
ClientCard
>
monsters
=
_duel
.
Fields
[
0
].
GetMonsters
();
foreach
(
ClientCard
monster
in
monsters
)
{
monster
.
Attacked
=
false
;
}
_select_hint
=
0
;
_ai
.
OnNewPhase
();
}
...
...
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