BattleFlowEngine

battle 主流程入口。

当前阶段先只接入:

  • 命中结算

  • residual 结算

Inheritors

Functions

Link copied to clipboard
abstract fun resolveMoveAction(snapshot: BattleRuntimeSnapshot, moveId: String, attackerId: String, targetId: String, accuracy: Int? = null, evasion: Int? = null, basePower: Int, damage: Int, attributes: Map<String, Any?> = emptyMap()): MoveResolutionResult
Link copied to clipboard
abstract fun resolveMoveHit(snapshot: BattleRuntimeSnapshot, moveId: String, attackerId: String, targetId: String, attributes: Map<String, Any?> = emptyMap()): BattleRuntimeSnapshot
Link copied to clipboard