BallResolution

data class BallResolution(val directSuccess: Boolean = false, val multiplier: Double = 1.0, val flatCaptureRateBonus: Int = 0, val note: String? = null)

球策略解析结果。

某些球是倍率修正,某些球是平坦捕获率修正,例如 heavy-ballmaster-ball 这类直接成功的球则通过 directSuccess 表达。

Constructors

Link copied to clipboard
constructor(directSuccess: Boolean = false, multiplier: Double = 1.0, flatCaptureRateBonus: Int = 0, note: String? = null)

Properties

Link copied to clipboard

球本身是否绕过后续公式,直接成功。

Link copied to clipboard

球提供的平坦捕获率修正。

Link copied to clipboard

球的倍率修正。

Link copied to clipboard
val note: String?

解析备注,方便调用方记录来源。