1#textdomain wesnoth-ai
2[event]
3    name=preload
4    first_time_only=no
5    [lua]
6        code = << register_test('0003-simple_combat','Simple combat test'); >>
7    [/lua]
8[/event]
9
10[event]
11    name=0003-simple_combat
12    first_time_only=no
13
14    [message]
15        speaker=narrator
16        image=wesnoth-icon.png
17        message= _ "This situation should test the ability of AI to make an attack..."
18    [/message]
19    [unit]
20        side=2
21        x,y=20,7
22        type="Dwarvish Berserker"
23    [/unit]
24    [unit]
25        side=3
26        x,y=20,5
27        type="Dark Adept"
28        random_traits="no"
29        [modifications]
30            {TRAIT_RESILIENT}
31        [/modifications]
32    [/unit]
33    [modify_side]
34        side=3
35        switch_ai=$test_path_to_idle_ai
36    [/modify_side]
37[/event]
38