fix(battle): award Air Arcade mini-base score

Use the native health update identified in PR #10 to report enemy mini-base damage and destruction. Preserve fractional personal score across hits and use the selected mode to gate both the HUD reward and settlement.

Verified server and launcher types, MSVC compilation, Quirrel bytecode, and patch resolution on 2.61.0.37, 2.61.0.58, and 2.61.0.60. In-game acceptance is pending.

Co-authored-by: duduyagame <[email protected]>
This commit is contained in:
N0VAN0M4LYandduduyagame committed 2026-12-04 06:13:21 +08:00
1 parent 194417a388
commit 6d0abf9caf
19 files changed
+257 -27

No files matched your search

+6
View File
@@ -37,6 +37,7 @@ typedef struct LmpValueSpec {
#define SCORES "local_mp_scores"
#define KILLS "local_mp_kills"
#define EVENTS "local_mp_events"
#define ZONES "local_mp_zones"
#define NUKE "local_mp_nuke"
#define SUPPORT "local_mp_support"
#define DAMAGE_NOTICES "local_mp_damage_notifications"
@@ -44,6 +45,11 @@ typedef struct LmpValueSpec {
#define GROUND_AI "local_mp_ground_ai"
static const LmpValueSpec SPECS[] = {
A(ZONES, "apply_zone_damage", apply_zone_damage),
O(ZONES, "zone_damage_health.health", zone_health), O(ZONES, "zone_damage_health.max_health", zone_max_health),
O(ZONES, "zone_damage_team.team", zone_team),
O(ZONES, "zone_damage_airfield.flags", zone_flags), O(ZONES, "zone_damage_airfield.airfield_mask", zone_airfield_mask),
A(CORE, "do_respawn_player", do_respawn_player), O(CORE, "do_respawn_player.app_score_rules", app_score_rules),
A(CORE, "do_respawn_player.hero", hero),
A(CORE, "disabled_slots_mask.multiplayer", multiplayer), A(CORE, "disabled_slots_mask.app", app),