Refine combo charge controls
This commit is contained in:
@@ -34,7 +34,9 @@ func _init() -> void:
|
||||
|
||||
window.record("W")
|
||||
var resolved: Dictionary = resolver_script.resolve(window)
|
||||
_expect_bool(resolved.is_empty(), true, "W alone should not resolve a skill")
|
||||
_expect_string(str(resolved.get("id", "")), "skill_w", "W alone skill")
|
||||
_expect_string(str(resolved.get("animation", "")), "warrior_w", "W should play row 6 animation")
|
||||
_expect_bool(bool(resolved.get("clear_window", true)), false, "W skill should not clear window")
|
||||
window.record("A")
|
||||
resolved = resolver_script.resolve(window)
|
||||
_expect_string(str(resolved.get("id", "")), "skill_wa", "W+A skill")
|
||||
@@ -50,7 +52,7 @@ func _init() -> void:
|
||||
|
||||
window.record("W")
|
||||
resolved = resolver_script.resolve(window)
|
||||
_expect_bool(resolved.is_empty(), true, "W alone should not resolve before mirrored W+D")
|
||||
_expect_string(str(resolved.get("id", "")), "skill_w", "W alone before mirrored W+D")
|
||||
window.record("D")
|
||||
resolved = resolver_script.resolve(window)
|
||||
_expect_string(str(resolved.get("id", "")), "skill_wd", "W+D should mirror W+A skill")
|
||||
|
||||
Reference in New Issue
Block a user