mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 13:01:13 +00:00
23 lines
1.1 KiB
INI
23 lines
1.1 KiB
INI
#textdomain wesnoth
|
|
|
|
[ai]
|
|
id=default_ai_poisoning
|
|
description= Default AI with poisoning formula
|
|
version=10703
|
|
[stage]
|
|
engine=cpp
|
|
name=testing_ai_default::candidate_action_evaluation_loop #this is candidate action evaluation loop stage
|
|
[candidate_action] #it consists of several candidate actions
|
|
engine=fai # fai engine is temporary disabled, it will be enabled real soon. Note that the rest of parameters are parsed by formula ai engine
|
|
name=poisoner #this paramerer (and the rest of them), are specific to fai engine
|
|
type=attack
|
|
[filter]
|
|
me="filter( input, 'me', filter(me.attacks,'att',filter(att.special,'spe',contains_string(spe,'poison'))))"
|
|
target="filter( input, 'target', target.undead = 0 and target.hitpoints > 5 and index_of('poisoned',keys(target.states)) = -1)"
|
|
[/filter]
|
|
evaluation="{ai/formula/poisoner_eval.fai}"
|
|
action="{ai/formula/poisoner_attack.fai}"
|
|
[/candidate_action]
|
|
[/stage]
|
|
[/ai]
|