Files
myrzx_bot/analysis/DAMAGE_MOD.md
T

54 lines
2.9 KiB
Markdown

# Local battle modifications
V3 update (2026-11-07): the builds documented below are superseded. The old
stats patch has a reachable stack underflow and both old builds share a loader
patch that exceeds its declared operand stack capacity. See
[BATTLE_V3.md](BATTLE_V3.md) for repaired bytecode, diagnostic overlays and
the limits of verification. The previous signature/archive checks did not
establish that these methods were valid or executed successfully.
The supplied original APK is unchanged. Two independent packages were built;
their changes are not combined.
## Deliverables
- `牧羊人之心_1.9.68_伤害10倍_上限5万_修正版.apk`
- Player (team 1) attacks against enemy units (team 2): damage x10, capped at 50,000.
- The multiplier runs after `onHurt` controllers and before HP is deducted.
- SHA-256: `62fa3e5be9b6775a1e75dfde15dd5f48f74836163e5da6e9746222743a17962f`.
- `牧羊人之心_1.9.68_玩家属性2倍.apk`
- At `TeamCenter.getBattleTeamVo`, player battle-copy attack, defense, dexterity,
current/max HP, crit, self-heal, lifesteal, stun, poison, cooldown, sun fire,
moon heal, death explosion, and thorns values are doubled.
- This does not apply the separate damage x10 patch. Level, AP cost, skill
levels, and original character/save objects are unchanged.
- SHA-256: `85f5aa7238f1054d6bec6fafe801e858c14864f9f6d1858094336db90b0f2e54`.
Both packages retain `air.net.pixvi.myrzx` / `1.9.68`. Their Android loader
loads the packaged `MYRMain.app` rather than a previously updated copy in
application storage. Other resource updates and game saves are not deleted.
## Verification and limits
- FFDec re-read the modified methods and confirmed the intended call signatures.
- All final APK ZIP member CRC checks and `zipalign -c -p 4` passed.
- `apksigner verify --verbose --print-certs` passed for v1, v2, and v3.
- Apart from regenerated signature metadata, only `assets/MYRMain.app` and
`assets/MYRDyd.swf` differ from the original.
- No game battle was runtime-tested by the build process. Static verification
does not guarantee server acceptance or the absence of other anti-cheat checks.
- The old `牧羊人之心_1.9.68_伤害10倍_上限5万.apk` is not the corrected build.
- The local signing certificate is not the publisher's certificate. An
original-publisher installation cannot be directly updated with these builds.
Do not uninstall or clear data without considering save backup requirements.
## Reproduction
- `analysis/PatchBattleDamage.java`: targeted body replacement with explicit
`--damage`, `--stats`, or `--loader` mode and retained `MethodInfo` signatures.
- `analysis/BattleMon_beHurt_original.pcode`: damage body patch.
- `analysis/TeamCenter_player_stats_x2.pcode`: battle-stat body patch.
- `tools/repack_apk.py`: ZIP member replacement preserving unrelated entries.
The local private signing key is intentionally excluded by `.gitignore`.