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
48108221
Commit
48108221
authored
Jun 03, 2024
by
wind2009
Committed by
GitHub
Jun 03, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix attack target for Voiceless Voice (#195)
parent
ba5985d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Game/AI/DefaultExecutor.cs
Game/AI/DefaultExecutor.cs
+4
-3
No files found.
Game/AI/DefaultExecutor.cs
View file @
48108221
...
@@ -190,8 +190,8 @@ namespace WindBot.Game.AI
...
@@ -190,8 +190,8 @@ namespace WindBot.Game.AI
public
const
int
PatricianOfDarkness
=
19153634
;
public
const
int
PatricianOfDarkness
=
19153634
;
public
const
int
DictatorOfD
=
66961194
;
public
const
int
DictatorOfD
=
66961194
;
public
const
int
NovoxTheSilenforcerDiscipl
e
=
25801745
;
public
const
int
LoThePrayersOfTheVoicelessVoic
e
=
25801745
;
public
const
int
SilenforcingBarrier
=
98477480
;
public
const
int
BarrierOfTheVoicelessVoice
=
98477480
;
public
const
int
DiabellzeOfTheOriginalSin
=
53765052
;
public
const
int
DiabellzeOfTheOriginalSin
=
53765052
;
public
const
int
PotOfExtravagance
=
49238328
;
public
const
int
PotOfExtravagance
=
49238328
;
...
@@ -448,7 +448,8 @@ namespace WindBot.Game.AI
...
@@ -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
)))
if
(
defender
.
IsCode
(
_CardId
.
RescueACEHydrant
)
&&
!
defender
.
IsDisabled
()
&&
Enemy
.
GetMonsters
().
Any
(
monster
=>
monster
.
HasSetcode
(
_Setcode
.
RescueACE
)
&&
!
monster
.
IsCode
(
_CardId
.
RescueACEHydrant
)))
return
false
;
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
false
;
return
true
;
return
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