OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8828b6
)
Damageに問題があるときのログを詳細にした
author
masakih
<masakih@users.sourceforge.jp>
Thu, 16 Mar 2017 15:08:22 +0000
(
00:08
+0900)
committer
masakih
<masakih@users.sourceforge.jp>
Thu, 16 Mar 2017 15:08:22 +0000
(
00:08
+0900)
KCD/CalculateDamageCommand.swift
patch
|
blob
|
history
diff --git
a/KCD/CalculateDamageCommand.swift
b/KCD/CalculateDamageCommand.swift
index
3937a14
..
51009ab
100644
(file)
--- a/
KCD/CalculateDamageCommand.swift
+++ b/
KCD/CalculateDamageCommand.swift
@@
-92,7
+92,7
@@
class CalculateDamageCommand: JSONCommand {
private func applyDamage() {
let totalDamages = store.sortedDamagesById()
guard totalDamages.count == 12
- else { return print("Damages count is invalid") }
+ else { return print("Damages count is invalid
. count is \(totalDamages.count).
") }
let aStore = ServerDataStore.oneTimeEditor()
totalDamages.forEach {
guard let ship = aStore.ship(byId: $0.shipID)