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
9b7de117
Commit
9b7de117
authored
Jun 23, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ZwLionArms
parent
0c575bba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
Game/AI/Decks/ZexalWeaponsExecutor.cs
Game/AI/Decks/ZexalWeaponsExecutor.cs
+3
-2
Game/ClientCard.cs
Game/ClientCard.cs
+7
-1
No files found.
Game/AI/Decks/ZexalWeaponsExecutor.cs
View file @
9b7de117
...
...
@@ -117,9 +117,10 @@ namespace DevBot.Game.AI.Decks
private
bool
ZwLionArms
()
{
if
(
ActivateDescription
==
(
int
)
CardId
.
ZwLionArms
*
16
+
0
||
ActivateDescription
==
(
int
)
CardId
.
ZwLionArms
*
16
+
1
)
if
(
ActivateDescription
==
(
int
)
CardId
.
ZwLionArms
*
16
+
0
)
return
true
;
if
(
ActivateDescription
==
(
int
)
CardId
.
ZwLionArms
*
16
+
1
)
return
!
Card
.
IsDisabled
();
return
false
;
}
...
...
Game/ClientCard.cs
View file @
9b7de117
...
...
@@ -27,6 +27,7 @@ namespace WindBot.Game
public
List
<
int
>
Overlays
{
get
;
private
set
;
}
public
int
Owner
{
get
;
private
set
;
}
public
int
Controller
{
get
;
private
set
;
}
public
int
Disabled
{
get
;
private
set
;
}
public
int
[]
ActionIndex
{
get
;
set
;
}
public
IDictionary
<
int
,
int
>
ActionActivateIndex
{
get
;
private
set
;
}
...
...
@@ -115,7 +116,7 @@ namespace WindBot.Game
if
((
flag
&
(
int
)
Query
.
Owner
)
!=
0
)
Owner
=
duel
.
GetLocalPlayer
(
packet
.
ReadInt32
());
if
((
flag
&
(
int
)
Query
.
IsDisabled
)
!=
0
)
packet
.
ReadInt32
();
Disabled
=
packet
.
ReadInt32
();
if
((
flag
&
(
int
)
Query
.
IsPublic
)
!=
0
)
packet
.
ReadInt32
();
if
((
flag
&
(
int
)
Query
.
LScale
)
!=
0
)
...
...
@@ -174,6 +175,11 @@ namespace WindBot.Game
return
HasPosition
(
CardPosition
.
Defence
);
}
public
bool
IsDisabled
()
{
return
(
Disabled
!=
0
);
}
public
int
GetDefensePower
()
{
return
IsAttack
()
?
Attack
:
Defense
;
...
...
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