Extends ResolveValue to support dynamic references to the resolved target's
properties (SpCost, StCost, Damage, Health, Defense, MP). Also adds Self.SpCost
and Self.StCost.
Usage in ability JSON:
{"Ref": "Target.SpCost"} — current action's target's SP cost
{"Ref": "Action0.Target.SpCost"} — cross-action: action 0's target's SP cost
Enables effects like "return target to hand and refund its channel cost":
Action 0: Target spirit → ReturnToHand
Action 1: Target Owner (Player) → ModifySP {"Ref": "Action0.Target.SpCost"}
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>