arterial.battle.close
Event of Soukoku no Arterial’s base mod arterial-base, declared in its events/battle.toml.
A battle is decided, before any of its outcome is applied: on a win the rewards and the experience come next (arterial.experience.award), on a loss the offer to fight again. Raised at each try.
It is raised before the instruction of arterial.battle.after_phases. A Lua mod subscribes to it by name (the Lua guide).
| Field | Cell | Type | A handler may |
|---|---|---|---|
ctx.battle | battle_id | int | read it |
ctx.result | battle_result | int | read it |
ctx.opponent | current_opponent_id | int | read it |