fix(cheatenabler): restore mecha and fleet invincibility

Patch the native mecha damage and shield consumers so an inlined Player.invincible getter cannot bypass protection. Replace the fleet damage matcher with target-type prefixes to cover both space paths.

Synchronize the English and Chinese documentation without changing version 2.4.8.
This commit is contained in:
soarqin committed 2026-11-04 20:46:44 +08:00
1 parent 2eae91fa18
commit 64a23e9772
3 files changed
+35 -20

No files matched your search

+3 -1
View File
@@ -75,7 +75,8 @@
* Keep the highest-production shells and remove the others
* Duplicate the highest-production shells with a configurable shell count
* Mecha/Combat:
* Mecha and Drones/Fleets invicible
* Mecha and Drones/Fleets invincible
* Protects mecha HP and energy shields, ground combat drones, and space fleets, including when enabled during combat.
* Buildings invicible
* Enable warp without space warpers
* Teleport to outer space
@@ -180,6 +181,7 @@ The item icon selects the output; no hotkey is needed.
* 从发电量最高的壳复制戴森壳,可设置壳面数量
* 机甲/战斗:
* 机甲和战斗无人机无敌
* 保护机甲耐久度和能量护盾、地面战斗无人机和太空编队,战斗中开启同样生效。
* 建筑无敌
* 无需空间翘曲器即可曲速飞行
* 传送到外太空