Fixing Deck rules on server....
This commit is contained in:
@@ -257,7 +257,7 @@ func _load_deck_contents() -> void:
|
||||
func _on_deck_response(payload: Variant) -> void:
|
||||
_deck_loading_lbl.visible = false
|
||||
var p := payload as Dictionary
|
||||
var deck_raw := p.get("deck", null)
|
||||
var deck_raw : Variant = p.get("deck", null)
|
||||
if deck_raw == null or typeof(deck_raw) != TYPE_DICTIONARY:
|
||||
push_warning("DeckEditor: missing deck in response")
|
||||
return
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://bxbvry7ph16jy
|
||||
@@ -10,10 +10,10 @@ public static class DeckRules
|
||||
public const int MinDeckSize = 20;
|
||||
|
||||
/// <summary>Maximum number of non-ArchSpirit cards in a deck.</summary>
|
||||
public const int MaxDeckSize = 40;
|
||||
public const int MaxDeckSize = 120;
|
||||
|
||||
/// <summary>Maximum copies of any single card definition in a deck.</summary>
|
||||
public const int MaxCopiesPerCard = 4;
|
||||
public const int MaxCopiesPerCard = 99;
|
||||
|
||||
/// <summary>Maximum number of decks a single player may own.</summary>
|
||||
public const int MaxDecksPerPlayer = 20;
|
||||
|
||||
Reference in New Issue
Block a user