adae8cfc43ed847a45db364a4ccc0a14bd0a1c1b
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>
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%