Add disarm attack lock tactic

This commit is contained in:
2026-06-18 10:32:32 +09:00
parent b15c5f6869
commit cbfc221782
11 changed files with 68 additions and 26 deletions

View File

@@ -799,8 +799,8 @@ function Check-Skill-Definitions() {
Fail "Skill $skillId action_lock effect must have a stable status."
}
$action = [string](Get-Prop $effect "action" "")
if ($action -ne "skill" -and $action -ne "move") {
Fail "Skill $skillId action_lock effect currently supports only action=skill or action=move."
if ($action -ne "skill" -and $action -ne "move" -and $action -ne "attack") {
Fail "Skill $skillId action_lock effect currently supports only action=skill, action=move, or action=attack."
}
if ([int](Get-Prop $effect "duration_turns" 1) -le 0) {
Fail "Skill $skillId action_lock effect must have positive duration_turns."