128 lines
3.3 KiB
JavaScript
128 lines
3.3 KiB
JavaScript
var AIEnum={
|
|
Delay:1,
|
|
Shot:2,//follow tankpos
|
|
MoveToPlayer:3,
|
|
Moveby:4,// x y
|
|
Moveto:5,// x y
|
|
Emote:6,
|
|
God:7,
|
|
wincheck:8,//
|
|
createloot:9,//
|
|
sethp:10,
|
|
wudi:11,
|
|
dir:12,
|
|
|
|
}
|
|
var DeadConfig = {
|
|
1001:[160012,0,0,1],
|
|
1002:[160032,0,0,1],//
|
|
1003:[160050,0,0,1],
|
|
}
|
|
var DressConfig = {
|
|
1001:[5,0,0,0],//
|
|
1002:[3,0,0,0],//
|
|
1003:[4,0,0,0],//
|
|
1004:[2,0,0,0],//
|
|
1005:[6,0,0,0],//
|
|
1006:[4,0,0,0],//
|
|
}
|
|
|
|
|
|
var AIConfig = {
|
|
1001:[//
|
|
//{tp:AIEnum.wudi,prama:true},
|
|
//{tp:AIEnum.sethp,prama:30},
|
|
{tp:AIEnum.MoveToPlayer,prama:150},
|
|
{tp:AIEnum.God,prama:80},
|
|
//{tp:AIEnum.Delay,prama:2},
|
|
//{tp:AIEnum.wudi,prama:false},
|
|
{tp:AIEnum.Delay,prama:999},
|
|
],
|
|
1002:[//
|
|
{tp:AIEnum.wudi,prama:true},
|
|
//{tp:AIEnum.sethp,prama:80},
|
|
//{tp:AIEnum.MoveToPlayer,prama:160},
|
|
//{tp:AIEnum.dir,x:1,y:1},
|
|
{tp:AIEnum.Delay,prama:3},
|
|
{tp:AIEnum.MoveToPlayer,prama:250},
|
|
{tp:AIEnum.createloot,prama:[160031,0,0,1]},
|
|
{tp:AIEnum.Shot,prama:1},
|
|
{tp:AIEnum.wudi,prama:false},
|
|
{tp:AIEnum.Shot,prama:2},
|
|
{tp:AIEnum.Delay,prama:1},
|
|
{tp:AIEnum.Shot,prama:2},
|
|
{tp:AIEnum.Moveby,x:100,y:0},
|
|
],
|
|
1003:[//
|
|
//{tp:AIEnum.wudi,prama:true},
|
|
//{tp:AIEnum.sethp,prama:80},
|
|
//{tp:AIEnum.wudi,prama:true},
|
|
{tp:AIEnum.Moveto,x:1708,y:1046},
|
|
//{tp:AIEnum.MoveToPlayer,prama:80},
|
|
//{tp:AIEnum.Moveby,x:80,y:-60},
|
|
//{tp:AIEnum.wudi,prama:false},
|
|
//{tp:AIEnum.createloot,prama:[60041,0,0,1]},
|
|
//{tp:AIEnum.wudi,prama:false},
|
|
{tp:AIEnum.Delay,prama:0.1},
|
|
{tp:AIEnum.Emote,prama:5,id:2},
|
|
{tp:AIEnum.Moveby,x:50,y:-40},
|
|
{tp:AIEnum.Delay,prama:0.1},
|
|
{tp:AIEnum.Emote,prama:5,id:3},
|
|
{tp:AIEnum.Moveby,x:70,y:-80},
|
|
{tp:AIEnum.Delay,prama:99},
|
|
],
|
|
1004:[
|
|
{tp:AIEnum.wudi,prama:true},
|
|
{tp:AIEnum.Delay,prama:0.5},
|
|
{tp:AIEnum.Moveto,x:1686,y:1100},
|
|
{tp:AIEnum.MoveToPlayer,prama:100},
|
|
{tp:AIEnum.God,prama:40},
|
|
{tp:AIEnum.createloot,prama:[160060,0,0,1]},
|
|
{tp:AIEnum.wudi,prama:false},
|
|
{tp:AIEnum.wincheck},
|
|
{tp:AIEnum.Delay,prama:0.1},
|
|
{tp:AIEnum.Emote,prama:5,id:2},
|
|
{tp:AIEnum.Delay,prama:0.1},
|
|
|
|
|
|
],
|
|
1005:[
|
|
{tp:AIEnum.Delay,prama:0.5},
|
|
{tp:AIEnum.Moveto,x:1682,y:1232},
|
|
{tp:AIEnum.MoveToPlayer,prama:100},
|
|
{tp:AIEnum.wincheck},
|
|
{tp:AIEnum.God,prama:40},
|
|
{tp:AIEnum.Delay,prama:0.5},
|
|
{tp:AIEnum.Emote,prama:5,id:4},
|
|
{tp:AIEnum.Delay,prama:0.1},
|
|
|
|
],
|
|
1006:[
|
|
{tp:AIEnum.Delay,prama:0.5},
|
|
{tp:AIEnum.Moveto,x:1799,y:1248},
|
|
{tp:AIEnum.MoveToPlayer,prama:100},
|
|
{tp:AIEnum.God,prama:40},
|
|
{tp:AIEnum.Delay,prama:0.5},
|
|
{tp:AIEnum.Emote,prama:5,id:2},
|
|
{tp:AIEnum.Delay,prama:0.1},
|
|
{tp:AIEnum.wincheck},
|
|
]
|
|
//1001:[
|
|
// {tp:AIEnum.Delay,prama:3},
|
|
// {tp:AIEnum.MoveToPlayer,prama:100},
|
|
// {tp:AIEnum.Shot,prama:5},
|
|
// {tp:AIEnum.Moveby,x:100,y:0},
|
|
// {tp:AIEnum.Delay,prama:1},
|
|
// {tp:AIEnum.Emote,prama:3,id:1},
|
|
// {tp:AIEnum.God,prama:30},
|
|
// {tp:AIEnum.createloot,prama:[70001,80,10,1]},
|
|
// {tp:AIEnum.wincheck},
|
|
//]
|
|
}
|
|
|
|
module.exports = {
|
|
cfg:AIConfig,
|
|
enum:AIEnum,
|
|
deadConfig:DeadConfig,
|
|
dressConfig:DressConfig
|
|
}; |