11ebdc40d70175960dbb50311101d14fdacdd056
Client (game_screen.gd): - Fix crash when clicking a unit with null abilitiesJson: server sends the key with a null value, so dict.get(key,default) returns null — guard both uses (_show_ability_panel and _on_hold_timer_fired) with explicit null check. - Add double-click on battlefield units to open a full CardDetailPopup showing name, affinity, stats, and ability descriptions. Popup is instantiated once in _ready() and reused; aliases movementPoints/abilities keys as expected. Server (Filters.cs / AbilitySystem.cs): - IsSelf filter now matches by CardDefinitionId (definition-level: any copy of the same card). This is the appropriate semantic for "self" as a type scope. - IsExactSelf filter added: matches by InstanceId (instance-level: only this specific unit on the battlefield). Use this to prevent duplicate-instance trigger bleed where two copies of a card both fire when only one acted. - TriggerMatches now accepts the evaluating FieldCard and forwards its InstanceId to Own() for all ownership checks. - Own() gains "ExactSelf" scope: fires only when occ.Data.SourceId matches the evaluating unit's InstanceId — eliminating the definition-level bleed bug. 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>
Description
No description provided
53 MiB
Languages
C#
52.7%
HTML
24.9%
GDScript
21.2%
CSS
0.8%
Python
0.3%
Other
0.1%