executeResolvedEffect

fun executeResolvedEffect(session: BattleSession, effectId: String, actorUnitId: String, targetUnitId: String, accuracy: Int?, evasion: Int?, basePower: Int, damage: Int, attributes: Map<String, Any?>): MoveResolutionResult

执行一个已经具备目标信息的 effect。

Return

effect 结算完成后的聚合结果。

Parameters

session

当前 battle session。

effectId

当前执行的 effect 标识。

actorUnitId

行动发起者单位标识。

targetUnitId

调用方提供的目标单位标识。

accuracy

命中值输入。

evasion

回避值输入。

basePower

基础威力输入。

damage

基础伤害输入。

attributes

透传给 battle flow 的扩展属性。