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
83a4f21f
Commit
83a4f21f
authored
Jun 03, 2024
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/IceYGO/windbot
parents
17365f29
eb5d8f48
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
Game/AI/DefaultExecutor.cs
Game/AI/DefaultExecutor.cs
+4
-3
Game/GameBehavior.cs
Game/GameBehavior.cs
+7
-0
WindBotInfo.cs
WindBotInfo.cs
+1
-1
No files found.
Game/AI/DefaultExecutor.cs
View file @
83a4f21f
...
...
@@ -190,8 +190,8 @@ namespace WindBot.Game.AI
public
const
int
PatricianOfDarkness
=
19153634
;
public
const
int
DictatorOfD
=
66961194
;
public
const
int
NovoxTheSilenforcerDiscipl
e
=
25801745
;
public
const
int
SilenforcingBarrier
=
98477480
;
public
const
int
LoThePrayersOfTheVoicelessVoic
e
=
25801745
;
public
const
int
BarrierOfTheVoicelessVoice
=
98477480
;
public
const
int
DiabellzeOfTheOriginalSin
=
53765052
;
public
const
int
PotOfExtravagance
=
49238328
;
...
...
@@ -448,7 +448,8 @@ namespace WindBot.Game.AI
if
(
defender
.
IsCode
(
_CardId
.
RescueACEHydrant
)
&&
!
defender
.
IsDisabled
()
&&
Enemy
.
GetMonsters
().
Any
(
monster
=>
monster
.
HasSetcode
(
_Setcode
.
RescueACE
)
&&
!
monster
.
IsCode
(
_CardId
.
RescueACEHydrant
)))
return
false
;
if
(
Enemy
.
HasInSpellZone
(
_CardId
.
SilenforcingBarrier
,
true
)
&&
Enemy
.
HasInMonstersZone
(
_CardId
.
NovoxTheSilenforcerDisciple
,
faceUp
:
true
)
&&
!
defender
.
HasType
(
CardType
.
Ritual
))
if
(
Enemy
.
HasInSpellZone
(
_CardId
.
BarrierOfTheVoicelessVoice
,
true
)
&&
Enemy
.
HasInMonstersZone
(
_CardId
.
LoThePrayersOfTheVoicelessVoice
,
faceUp
:
true
)
&&
Enemy
.
GetMonsters
().
Any
(
card
=>
card
.
HasType
(
CardType
.
Ritual
)
&&
card
.
IsFaceup
())
&&
!
defender
.
HasType
(
CardType
.
Ritual
))
return
false
;
return
true
;
...
...
Game/GameBehavior.cs
View file @
83a4f21f
...
...
@@ -1029,6 +1029,13 @@ namespace WindBot.Game
cards
.
Add
(
card
);
}
if
(
_select_hint
==
575
&&
cancelable
)
// HINTMSG_FIELD_FIRST
{
_select_hint
=
0
;
Connection
.
Send
(
CtosMessage
.
Response
,
-
1
);
return
;
}
IList
<
ClientCard
>
selected
=
func
(
cards
,
min
,
max
,
_select_hint
,
cancelable
);
_select_hint
=
0
;
...
...
WindBotInfo.cs
View file @
83a4f21f
...
...
@@ -24,7 +24,7 @@ namespace WindBot
Host
=
"127.0.0.1"
;
Port
=
7911
;
HostInfo
=
""
;
Version
=
0x136
0
;
Version
=
0x136
1
;
Hand
=
0
;
Debug
=
false
;
Chat
=
true
;
...
...
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