Sending wired message when start fixed
This commit is contained in:
secminhr 2018-08-28 07:09:52 +00:00
parent f70d90ba77
commit 90e8610f43

View File

@ -9,7 +9,7 @@ abstract class Character {
abstract val id: Int
abstract val deck: Deck
var life: Int by Delegates.observable(20) {_, old, new ->
var life: Int by Delegates.observable(0) {_, old, new ->
val diff = abs(old-new)
if (new < old) {
println("${this.name} 受到 $diff 點傷害")