Fixing Client, Repentance was trying to use abilitiesJson vs effectsJson, invalid types on attributes as well
This commit is contained in:
@@ -10,7 +10,9 @@
|
|||||||
"Bash(python3:*)",
|
"Bash(python3:*)",
|
||||||
"Bash(node:*)",
|
"Bash(node:*)",
|
||||||
"Bash(dotnet ef database update:*)",
|
"Bash(dotnet ef database update:*)",
|
||||||
"Bash(dotnet ef migrations list:*)"
|
"Bash(dotnet ef migrations list:*)",
|
||||||
|
"Bash(ls -la \"C:\\\\GameDev\\\\SOR\\\\Server\\\\src\\\\SOR.Content\\\\Handlers\"\" 2>/dev/null || echo \"Directory not found \")",
|
||||||
|
"Bash(ls -la \"C:\\\\GameDev\\\\SOR\\\\Server\\\\src\\\\SOR.Cdn\"\" | grep -i \"cdnclient|httpclient \")"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://d3ogdcxh06tvs
|
||||||
@@ -79,8 +79,8 @@ func _setup_ui() -> void:
|
|||||||
"random"
|
"random"
|
||||||
]
|
]
|
||||||
for i in range(btns.size()):
|
for i in range(btns.size()):
|
||||||
var b := btns[i]
|
var b : Variant = btns[i]
|
||||||
var pref := prefs[i]
|
var pref : Variant = prefs[i]
|
||||||
b.pressed.connect(func():
|
b.pressed.connect(func():
|
||||||
_first_turn_pref = pref
|
_first_turn_pref = pref
|
||||||
_update_first_turn_buttons())
|
_update_first_turn_buttons())
|
||||||
|
|||||||
@@ -2490,10 +2490,10 @@ func _on_hand_card_clicked(iid: String, _panel: PanelContainer) -> void:
|
|||||||
if _mode in [Mode.CARD_FROM_HAND, Mode.TERRAMORPHA_SELECT] or \
|
if _mode in [Mode.CARD_FROM_HAND, Mode.TERRAMORPHA_SELECT] or \
|
||||||
(_mode == Mode.ABILITY_TARGET and not _ability_card_id.is_empty()):
|
(_mode == Mode.ABILITY_TARGET and not _ability_card_id.is_empty()):
|
||||||
_set_mode(Mode.NONE)
|
_set_mode(Mode.NONE)
|
||||||
# Parse abilitiesJson for the first Active ability.
|
# Parse effectsJson for the first Active ability.
|
||||||
var abs_raw : String = card.get("abilitiesJson", "")
|
var abs_raw : String = card.get("effectsJson", "")
|
||||||
if not abs_raw.is_empty():
|
if not abs_raw.is_empty():
|
||||||
var parsed_variant := JSON.parse_string(abs_raw)
|
var parsed_variant : Array = JSON.parse_string(abs_raw)
|
||||||
if parsed_variant is Array:
|
if parsed_variant is Array:
|
||||||
var parsed : Array = _normalize_keys(parsed_variant)
|
var parsed : Array = _normalize_keys(parsed_variant)
|
||||||
for ab_var: Variant in parsed:
|
for ab_var: Variant in parsed:
|
||||||
|
|||||||
Reference in New Issue
Block a user