+
+ @if (isUnit)
{
- var filtered = FilteredPrevTierCards.ToList();
- @if (filtered.Count > 0)
- {
-
- @foreach (var c in filtered)
- {
- var cap = c;
-
- }
- else if (_card.CardType == CardType.Terramorpha)
- {
-
-
-
-
-
-
- }
- else
- {
-
No additional stats for @_card.CardType cards.
- }
- }
-
-
- else if (_activeTab == "Abilities")
- {
-
-
- @if (_card.CardType is CardType.Repentance or CardType.Instinct or CardType.Terramorpha)
- {
- Effects (Action[] array) for @_card.CardType cards.
- }
- else
- {
- Abilities (AbilityDefinition[] array) for @_card.CardType cards.
- }
-
-
-
- }
-
-
- else if (_activeTab == "Assets")
- {
-
-
-
3D Model Config
-
-
-
-
Null = 1.0 (no change)
-
-
-
-
- _card.ModelTintColor = e.Value?.ToString()" />
-
- @if (!string.IsNullOrWhiteSpace(_card.ModelTintColor))
- {
- _card.ModelTintColor = null">
-
-
- }
-
-
Multiplicative hex tint. Null = white (no tint).
-
-
-
-
Static Assets
-
- @if (_uploadError != null)
- {
-
@_uploadError
- }
-
-
- @foreach (var asset in _card.Assets)
- {
- var capturedAsset = asset;
- var mvId = $"mv_{asset.Id:N}";
-
-
-
-
- @asset.AssetType
- RemoveAsset(capturedAsset)">
-
-
-
-
-
-
-
-
-
- @if (asset.AssetType == CardAssetType.Model3D)
- {
-
-
-
-
-
-
-
-
- @if (!string.IsNullOrEmpty(asset.CdnUrl))
- {
-
-
-
- @if (_assetAnimations.TryGetValue(asset.Id, out var anims) && anims.Count > 0)
+
+
+
+
- }
- }
-
-
- @if (asset.AssetType == CardAssetType.Art2D && !string.IsNullOrEmpty(asset.CdnUrl))
- {
-

- }
-
-
-
-
+
+ }
+ else if (isEffectCard)
+ {
+
+ @_card.CardType cards have no unit stats. They are the ability itself —
+ the card is consumed on channeling and resolves its AbilitiesJson.
+
+
+ _card.RequiresLos = (bool)(e.Value ?? false)" />
+
-
-
+ }
+
- }
-
-
- @foreach (var t in Enum.GetValues())
+
+ }
+
+
+
-
Animation Bindings
-
-
- Add Animation
-
+
+
+
+
+
-
Unit Sound Effects
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
3D Model Config
+
+
+
+
Null = 1.0 (no change)
+
+
+
+
+ _card.ModelTintColor = e.Value?.ToString()" />
+
+ @if (!string.IsNullOrWhiteSpace(_card.ModelTintColor))
+ {
+ _card.ModelTintColor = null">
+
+
+ }
+
+
Multiplicative hex tint. Null = white (no tint).
+
+
+
+
Static Assets
+
+ @if (_uploadError != null)
+ {
+
@_uploadError
+ }
+
+
+ @foreach (var asset in _card.Assets)
+ {
+ var capturedAsset = asset;
+ var mvId = $"mv_{asset.Id:N}";
+
+
+
+
+ @asset.AssetType
+ RemoveAsset(capturedAsset)">
+
+
+
+
+
+
+
+ @if (asset.AssetType == CardAssetType.Model3D)
+ {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @if (!string.IsNullOrEmpty(asset.CdnUrl))
+ {
+
+
+
+ @if (_assetAnimations.TryGetValue(asset.Id, out var anims) && anims.Count > 0)
+ {
+ SetModelAnimAsync(capturedAsset.Id, mvId, e.Value?.ToString() ?? string.Empty)">
+
+ @foreach (var anim in anims)
+ {
+
+ }
+
+ }
+ else
+ {
+ await InitModelViewerAsync(capturedAsset.Id, mvId)">
+ Load animations
+
+ }
+
+ }
+ }
+
+ @if (asset.AssetType == CardAssetType.Art2D && !string.IsNullOrEmpty(asset.CdnUrl))
+ {
+

+ }
+
+
+
+
+
+
+
+
+
+ }
+
+
+ @foreach (var t in Enum.GetValues())
+ {
+ AddAsset(t)">
+ @t
+
+ }
+
+
+
+
+
Animation Bindings
+
+
+ Add Animation
+
+
+
Unit Sound Effects
+
+
+
- }
+
+
}
@@ -673,7 +752,7 @@ else
}
-
+