Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
799770e
Parse new fight_version 2 format for arena fights
the-marenga Jul 27, 2026
f4d1530
Parse equipment data in multi-fight responses (companion dungeons)
the-marenga Jul 27, 2026
ee06114
Add FortressArcher and FortressMage fighter types
the-marenga Jul 27, 2026
c12d064
Group fortress fields into FortressResult struct with split stone/wood
the-marenga Jul 27, 2026
56c96b2
Add FightExtra enum for fight-type-specific metadata (fortress, under…
the-marenga Jul 27, 2026
7361d0f
Split enemies_defeated into archers_killed and mages_killed
the-marenga Jul 27, 2026
0a63ac1
Preserve minion action type on block/evade in fight version 2 parsing
the-marenga Jul 27, 2026
8dea41c
Add Crit action type, split from Attack (0=Attack, 1=Crit)
the-marenga Jul 27, 2026
a9c3d8d
Rework fight parsing with dynamic stride detection and minion state
the-marenga Jul 27, 2026
9273600
Fix fortress fighter ID ranges and rename Pillager to Soldier
the-marenga Jul 27, 2026
6790a4e
Add action types (10/14/100/101) and FighterState enum
the-marenga Jul 27, 2026
9012485
Add PlagueDoctor action types (17-20) and Poison active effect
the-marenga Jul 27, 2026
88eb51a
chore: fix all clippy warnings — use .cget()/.skip()/try_from() inste…
the-marenga Jul 27, 2026
431ec15
refactor: clean up arena.rs — clamp_u32 helper, deduplicated parse_ac…
the-marenga Jul 27, 2026
52da721
refactor: rename SummonedMinion → Minion and remove duplicate enum fr…
the-marenga Jul 27, 2026
774250b
fix(arena): robustify fight.r parsing
the-marenga Jul 27, 2026
5531ea2
fix: log fight parse errors instead of propagating them
the-marenga Jul 27, 2026
c130ac4
chore: remove pd_fight example
the-marenga Jul 27, 2026
58349de
Rename Replay cmd
the-marenga Jul 27, 2026
66b758e
Fmt
the-marenga Jul 27, 2026
45e7c96
fmt
the-marenga Jul 27, 2026
b2f275d
Add misisng FightActionTypes
the-marenga Jul 27, 2026
8a4f37b
remove equipment parsing
the-marenga Jul 27, 2026
4667f20
Remove dead fight_no binding left after equipment parsing removal
the-marenga Aug 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,11 @@ pub enum Command {
FortressSetCAEnemy {
msg_id: u32,
},
/// Views the replay of a combat log entry
ReplayFight {
/// The id of the message
msg_id: u32,
},
/// Upgrades the Hall of Knights to the next level
FortressUpgradeHallOfKnights,
/// Upgrades the given unit in the fortress using the smith
Expand Down Expand Up @@ -1393,7 +1398,10 @@ impl Command {
format!("FortressEnemy:{}", usize::from(*pay))
}
Command::FortressSetCAEnemy { msg_id } => {
format!("FortressEnemy:0/{}", *msg_id)
format!("FortressEnemy:0/{msg_id}")
}
Command::ReplayFight { msg_id } => {
format!("PlayerCombatLogView:{msg_id}")
}
Command::FortressUpgradeHallOfKnights => {
format!("FortressGroupBonusUpgrade:")
Expand Down
Loading