Event Type and Description¶
Below is a list of all event types, description format, explanations, and recommended parsing strategies. Use this to understand and extract data from each event type:
| Event Type | Example Description | Format Template | Explanation & Structure | Parsing Strategy (Regex/Tokenization) |
|---|---|---|---|---|
| apply_passive_status | "Applying passive skills for Warrior." | Applying passive skills for {PLAYER}. |
Passive skills applied to a fighter at battle start. | Tokenize for fighter name |
| turn_start | "Turn meter of Assassin is full. Starting the action." | Turn meter of {PLAYER} is full. Starting the action. |
Fighter's turn meter is full; their turn begins. | Tokenize for fighter name |
| execute_skill | "Assassin executes Basic Attack." | {PLAYER} execute {SKILL}. |
Fighter executes a skill. | Regex: (\w+) execute (.+) |
| deal_damage | "Assassin dealt 165 damage to Warrior (Critical Hit) [835/1000]" | {PLAYER} dealt {VALUE} damage to {OPPONENT} {CRIT} [{HP}/{MAX_HP}]. |
Fighter deals damage to another, may include critical hit and HP info. | Regex: (\w+) dealt (\d+) damage to (\w+)( (Critical Hit))? [(\d+)/(\d+)]? |
| receive_damage | "Warrior received 120 damage from Assassin." | {PLAYER} received {VALUE} damage from {SOURCE}. |
Fighter receives damage from another. | Regex: (\w+) received (\d+) damage from (\w+) |
| heal | "Assassin healed Warrior for 50 HP." | {PLAYER} healed {OPPONENT} for {VALUE} HP. |
Fighter heals another. | Regex: (\w+) healed (\w+) for (\d+) HP |
| apply_status | "Warrior gains Attack Up." | {PLAYER} gains {STATUS}. |
Fighter gains a status effect (buff/debuff). | Regex: (\w+) gains (.+) |
| remove_status | "Assassin removed Poison from Warrior." | {PLAYER} removed {STATUS} from {OPPONENT}. |
Fighter removes a status effect from another. | Regex: (\w+) removed (.+) from (\w+) |
| energy_regeneration | "Assassin regenerated 18 energy." | {PLAYER} regenerated {VALUE} energy. |
Fighter regenerates energy. | Regex: (\w+) regenerated (\d+) energy |
| health_regeneration | "Assassin regenerated 16 health." | {PLAYER} regenerated {VALUE} health. |
Fighter regenerates health. | Regex: (\w+) regenerated (\d+) health |
| dot_damage | "Poison deals 20 damage to Warrior." | {STATUS} deals {VALUE} damage to {PLAYER}. |
Status effect deals damage over time. | Regex: (.+) deals (\d+) damage to (\w+) |
| shield_update | "Warrior's shield increased by 50." | {PLAYER}'s shield increased by {VALUE}. |
Fighter's shield value changes. | Regex: (\w+)'s shield increased by (\d+) |
| shield_absorption | "Warrior's shield absorbed 30 damage." | {PLAYER}'s shield absorbed {VALUE} damage. |
Shield absorbs damage. | Regex: (\w+)'s shield absorbed (\d+) damage |
| skill_missed | "Assassin missed Basic Attack on Warrior." | {PLAYER} missed {SKILL} on {OPPONENT}. |
Fighter's skill misses the target. | Regex: (\w+) missed (.+) on (\w+) |
| action_missed | "Assassin's action missed Warrior." | {PLAYER}'s action missed {OPPONENT}. |
Fighter's action misses the target. | Regex: (\w+)'s action missed (\w+) |
| replace_status | "Warrior replaced Poison with Regeneration." | {PLAYER} replaced {OLD_STATUS} with {NEW_STATUS}. |
Fighter replaces one status effect with another. | Regex: (\w+) replaced (.+) with (.+) |
| turn_end | "Assassin turn end." | {PLAYER} turn end. |
Fighter's turn ends. | Tokenize for fighter name |
| battle_end | "Battle ended. Warrior has 0 HP. Winner: assassin_001." | Battle ended. {WINNER} has {HP} HP left. Winner: {WINNER}. |
End of battle, shows winner, loser, and final HP. | Regex: Battle ended. (\w+) has (\d+) HP. Winner: (\w+). |