feat(mana): 魔力虹吸多来源(Core base + 卡组 meta.mana_leech 求和,换杖重算)

This commit is contained in:
2026-07-21 15:16:37 +08:00
parent 6b60f6e073
commit b55e6eaadf
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -37,6 +37,7 @@ func _core_from_dict(cid: String, d: Dictionary) -> CoreDefinition:
c.edges = d.get("edges", [])
c.base_mana_max = float(d.get("mana_max", 100.0))
c.base_mana_regen = float(d.get("mana_regen", 5.0))
c.base_mana_leech = float(d.get("mana_leech", 0.0))
return c
## 默认装备(combat_test 等用):wand_basic + 第一个 ACTION 法术