feat(item): 优化购买金币商品逻辑并完善宠物属性计算

- 购买金币商品时增加失败回滚机制,确保扣除金币与实际获得物品一致
- 使用 `CalculatePetPane` 替代 `Update` 方法以正确刷新宠物面板数据
- 精简地图热度统计逻辑,移除并发安全库依赖,改用普通 map 配合原子操作
- 移除 Space 结构体中冗余的 SuperValue 字段,直接通过 map 统计地图人数
- 更新地图配置文件中的怪物分布信息,调整部分怪物等级和数量配置
```
This commit is contained in:
2025-11-25 21:10:52 +08:00
parent 6455455992
commit f682abe537
8 changed files with 36 additions and 52 deletions

1
public/config/210.xml Symbolic link
View File

@@ -0,0 +1 @@
E:/newcode/flash/out/resource/xml/210.xml

View File

@@ -7827,15 +7827,15 @@ eg:
<Map ID="737" Name="深海禁地" InitX="300" InitY="100">
<Monsters>
<Monster ID="2186" Lv="13 16"/>
<Monster ID="2186" Lv="13 16"/>
<Monster ID="2186" Lv="13 16"/>
<Monster ID="2186" Lv="20 23"/>
<Monster ID="2186 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0" Lv="13 16"/>
<Monster ID="108" Lv="20 23"/>
<Monster ID="108" Lv="20 23"/>
<Monster ID="108" Lv="20 23"/>
<Monster ID="108" Lv="20 20"/>
<Monster ID="108" Lv="20 20"/>
<Monster ID="108" Lv="20 20"/>
<Monster ID="108" Lv="20 20"/>
<Monster ID="108" Lv="20 20"/>
<Monster ID="2186" Lv="20 20"/>
<Monster ID="2186" Lv="20 20"/>
<Monster ID="2186" Lv="20 20"/>
<Monster ID="2186" Lv="20 20"/>
</Monsters>
<Bosses>
<Boss AppearTime="13 13" AppearStartMin="0" AppearEndMin="7" BossVisible="0" Name="巨齿鲨">