Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
be2a5f47
Commit
be2a5f47
authored
Apr 10, 2015
by
Matt Lowe
Browse files
Creatures can now have power less than -1
Addresses issue from #934
parent
db23d3c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/server_card.cpp
View file @
be2a5f47
...
@@ -87,8 +87,6 @@ void Server_Card::setPT(const QString &_pt)
...
@@ -87,8 +87,6 @@ void Server_Card::setPT(const QString &_pt)
if
(
p1
.
isEmpty
()
||
p2
.
isEmpty
())
if
(
p1
.
isEmpty
()
||
p2
.
isEmpty
())
return
;
return
;
if
((
p1
[
0
]
==
'+'
)
||
(
p2
[
0
]
==
'+'
))
{
if
((
p1
[
0
]
==
'+'
)
||
(
p2
[
0
]
==
'+'
))
{
if
(
power
<
0
)
power
=
0
;
if
(
toughness
<
0
)
if
(
toughness
<
0
)
toughness
=
0
;
toughness
=
0
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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