#textdomain wesnoth-ai
[event]
    name=preload
    first_time_only=no
    [lua]
        code = << register_test('0003-simple_combat','Simple combat test'); >>
    [/lua]
[/event]

[event]
    name=0003-simple_combat
    first_time_only=no

    [message]
        speaker=narrator
        image=wesnoth-icon.png
        message= _ "This situation should test the ability of AI to make an attack..."
    [/message]
    [unit]
        side=2
        x,y=20,7
        type="Dwarvish Berserker"
    [/unit]
    [unit]
        side=3
        x,y=20,5
        type="Dark Adept"
        random_traits="no"
        [modifications]
            {TRAIT_RESILIENT}
        [/modifications]
    [/unit]
    [modify_side]
        side=3
        switch_ai=$test_path_to_idle_ai
    [/modify_side]
[/event]
