DNF台服自定义apc斗蛐蛐归纳

目录结构

 

action.ai

#PVF_File

[ai pattern]
    [think]
        [void]
            `is target in attack area()`    150.0    150.0    100.0    100.0
        [true]
    
        [think]
            [void]
                `check random()`    30    100
            [true]
            [return str]
                `a`
            [false]
        
            [think]
                [void]
                    `check random()`    30    100
                [true]
                [return str]
                    `s`
                [false]
            
                [think]
                    [void]
                        `check random()`    30    100
                    [true]
                    [return str]
                        `d`
                    [false]
                
                    [think]
                        [void]
                            `check random()`    30    100
                        [true]
                        [return str]
                            `f`
                        [false]
                    
                        [think]
                            [void]
                                `check random()`    30    100
                            [true]
                            [return str]
                                `g`
                            [false]
                        
                            [think]
                                [void]
                                    `check random()`    30    100
                                [true]
                                [return str]
                                    `h`
                                [false]
                                [return str]
                                    `a`
                            [/think]
    [/think]
    [/think]
    [/think]
    [/think]
    [/think]
    [false]
    [return]
        -1
    [/think]
[/ai pattern]

 

a.key

#PVF_File

[input]
    ``    30
    `time`    100

[input]

[state check]
    `target current direction`    200
    `time`    20

[loop start]
    5

[input]
    `target current direction`    200
    `time`    20

[input]
    `a`    500
    `time`    20

[input]
    `s`    500
    `time`    20

[input]
    `d`    500
    `time`    20

[state check]
    `target current direction`    200
    `time`    20

[loop end]

[loop start]
    6

[input]
    `x`    100
    `time`    100

[loop end]

 

s.key

#PVF_File

[input]
    ``    30
    `time`    100

[input]

[state check]
    `target current direction`    200
    `time`    20

[loop start]
    5

[input]
    `target current direction`    200
    `time`    20

[input]
    `s`    500
    `time`    20

[input]
    `z`    100
    `time`    100

[input]
    `d`    500
    `time`    20

[input]
    `f`    500
    `time`    20

[state check]
    `target current direction`    200
    `time`    20

[loop end]

 

.....

 

h.key

#PVF_File

[input]
    ``    30
    `time`    100

[input]

[state check]
    `target current direction`    200
    `time`    20

[input]
    `target current direction`    200
    `time`    20

[input]
    `h`    500
    `time`    20

[loop start]
    3

[input]
    `x`    50
    `time`    100

[input]
    `x`    50
    `time`    100

[input]
    `x`    50
    `time`    100

[input]
    `x`    50
    `time`    100

[input]
    `z`    100
    `time`    100

[loop end]

 

posted @ 2024-08-25 17:20  herry菌  阅读(44)  评论(0编辑  收藏  举报