Decode RTINIT providers 17 and 52
This commit is contained in:
@@ -367,6 +367,24 @@ MOVEMENT_PROVIDER_PARAMETER_SCHEMAS = {
|
||||
"Pillar exists within the configured route-step radius"
|
||||
),
|
||||
},
|
||||
17: {
|
||||
"behavior": "route_toward_lowest_hp_reachable_normal_attack_target",
|
||||
"parameter_fields": {},
|
||||
"target_selection": (
|
||||
"require a usable normal attack, build the acting entity's "
|
||||
"movement-limited reach grid, and retain active foreign-faction "
|
||||
"entities whose occupied tile remains element-effective after "
|
||||
"SETMVWORK filtering and costs no more than current FS; sort by "
|
||||
"current HP ascending, preserving source order among ties, then "
|
||||
"use the first candidate for which SETROUTE produces "
|
||||
"a route"
|
||||
),
|
||||
"completion": (
|
||||
"advance the current step's progress counter and produce movement "
|
||||
"result state 1 after routing toward the lowest-current-HP "
|
||||
"reachable normal-attack target"
|
||||
),
|
||||
},
|
||||
51: {
|
||||
"behavior": "select_effective_attack_target_and_action",
|
||||
"parameter_fields": {},
|
||||
@@ -391,6 +409,29 @@ MOVEMENT_PROVIDER_PARAMETER_SCHEMAS = {
|
||||
"movement route is produced"
|
||||
),
|
||||
},
|
||||
52: {
|
||||
"behavior": "select_lowest_hp_effective_attack_target_and_action",
|
||||
"parameter_fields": {},
|
||||
"target_selection": (
|
||||
"require a usable nonzero attack-range band, scan active foreign-"
|
||||
"faction entities inside the ATSEEK range grid, and retain only "
|
||||
"the equal-lowest-current-HP targets for which at least one "
|
||||
"allowed normal-attack/equipped-skill element has positive "
|
||||
"effectiveness against the target's defense element; choose "
|
||||
"randomly among those HP ties"
|
||||
),
|
||||
"action_selection": (
|
||||
"reload the chosen target's actual ATSEEK range band, collect the "
|
||||
"effective actions enabled there (0 means normal attack; nonzero "
|
||||
"values are equipped skill ids), choose randomly, and store both "
|
||||
"the target entity and selected action"
|
||||
),
|
||||
"completion": (
|
||||
"advance the current step's progress counter and produce immediate-"
|
||||
"battle result state 2 when a target/action pair is selected; no "
|
||||
"movement route is produced"
|
||||
),
|
||||
},
|
||||
}
|
||||
|
||||
UNIT_STAT_COLUMNS = (
|
||||
|
||||
Reference in New Issue
Block a user