Add disarm attack lock tactic
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user