Fix: add ExactSelf to TargetOwnership enum + resolve in AbilitySystem
`ExactSelf` was accepted by the admin builder dropdown but crashed on deserialization because the TargetOwnership enum was missing the value. - Added `ExactSelf` to `TargetOwnership` enum in Action.cs - BuildCandidates treats ExactSelf like Self/Owner (actor's player pool) - ResolveTargets post-filters to ctx.Source.InstanceId when ExactSelf 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:
@@ -32,7 +32,7 @@ public sealed class AffinityExpr
|
||||
|
||||
public enum TargetScope { Hand, Deck, Discard, Battlefield, Player, AnyZone }
|
||||
public enum TargetType { Unit, ArchSpirit, Spirit, SpiritToken, Ruin, Tile, Card, Player }
|
||||
public enum TargetOwnership { Self, Owner, Ally, Enemy, Any, Random, Target }
|
||||
public enum TargetOwnership { Self, ExactSelf, Owner, Ally, Enemy, Any, Random, Target }
|
||||
|
||||
public sealed class TargetCount
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user