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:
@@ -43,6 +43,8 @@ func _load_page(page: int) -> void:
|
||||
|
||||
|
||||
func _on_leaderboard_ok(p: Variant) -> void:
|
||||
if not is_instance_valid(self) or not is_inside_tree():
|
||||
return
|
||||
loading_lbl.visible = false
|
||||
var d := p as Dictionary
|
||||
var entries : Array = d.get("entries", []) as Array
|
||||
|
||||
Reference in New Issue
Block a user