Fix crashes, add ModifyAttackRange effects, ArchSpirit swap in deck editor

- Bazaar Deck tab crash: null-safe float conversion for usdPrice in store_item_row.gd
- Leaderboard crash: freed-object guard in _on_leaderboard_ok (is_instance_valid check)
- Add ModifyMinAttackRangeEffect / ModifyMaxAttackRangeEffect with clamp-to-0 and correct reversal tracking
- AbilityBuilder: add new range effects to Stat Modification group + _amountOnlyTypes
- collection.set_arch_spirit: new handler, request record, and service registration
- Deck editor: show Tier-1 commander row with Change button + ArchSpirit picker panel

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-03-25 11:25:44 -04:00
co-authored by Claude Happy
parent 9c42e5c1c8
commit 2a15bd2eb3
9 changed files with 276 additions and 6 deletions
@@ -50,7 +50,8 @@ func setup(item: Dictionary, fallback_art: String = "") -> void:
price_label.text = "◆ %d OP" % int(item.get("originPointPrice", 0))
var usd: float = float(item.get("usdPrice", 0.0))
var usd_raw: Variant = item.get("usdPrice", null)
var usd: float = float(usd_raw) if usd_raw != null else 0.0
if usd > 0.0:
usd_label.text = "$%.2f (coming soon)" % usd
usd_label.visible = true