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
xiaoye
windbot
Commits
684ac7e1
Commit
684ac7e1
authored
Apr 27, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix OnSelectEffectYn missing desc
parent
046c0bec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
Game/GameAI.cs
Game/GameAI.cs
+1
-1
Game/GameBehavior.cs
Game/GameBehavior.cs
+8
-0
No files found.
Game/GameAI.cs
View file @
684ac7e1
...
...
@@ -371,7 +371,7 @@ namespace WindBot.Game
{
foreach
(
CardExecutor
exec
in
Executor
.
Executors
)
{
if
(
ShouldExecute
(
exec
,
card
,
ExecutorType
.
Activate
))
if
(
ShouldExecute
(
exec
,
card
,
ExecutorType
.
Activate
,
desc
))
return
true
;
}
return
false
;
...
...
Game/GameBehavior.cs
View file @
684ac7e1
...
...
@@ -1115,6 +1115,14 @@ namespace WindBot.Game
packet
.
ReadByte
();
int
desc
=
packet
.
ReadInt32
();
if
(
desc
==
0
||
desc
==
221
)
{
// 0: phase trigger effect
// 221: trigger effect
// for compatibility
desc
=
-
1
;
}
ClientCard
card
=
_duel
.
GetCard
(
player
,
loc
,
seq
);
if
(
card
==
null
)
{
...
...
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