简单粗暴helper型飞道检测完美优化版

;这里写到helper里,

;一般就是你的AI辅助,也就是你人物的大脑

;为了避免受0的影响控制器不执行 

;常识执行1个打开的控制器

[State ]

type = Null

trigger1 = 1

ignorehitpause = 1

[State ]

type = Helper

trigger1 = roundstate=2&&!numhelper(1)

helpertype = normal

name = "飞道检测"

ID = 1

stateno = 9996

pos = 0,0

postype = p1

facing = 1

keyctrl = 0

ownpal = 1

supermovetime = 999999999

pausemovetime = 999999999

size.xscale = 1

size.yscale = 1

ignorehitpause = 1

[state ]  ;helper飞道探查

type = null

triggerall = 1||var(1):=0

trigger1 = playeridexist(floor(fvar(1)))

trigger2 = playeridexist(floor(fvar(1)))

trigger3 = playeridexist(floor(fvar(1)))

trigger4 = playeridexist(floor(fvar(1)))

trigger5 = playeridexist(floor(fvar(1)))

trigger6 = playeridexist(floor(fvar(1)))

trigger7 = playeridexist(floor(fvar(1)))

trigger8 = playeridexist(floor(fvar(1)))

trigger9 = playeridexist(floor(fvar(1)))

trigger10 = playeridexist(floor(fvar(1)))

trigger11 = playeridexist(floor(fvar(1)))

trigger12 = playeridexist(floor(fvar(1)))

trigger13 = playeridexist(floor(fvar(1)))

trigger14 = playeridexist(floor(fvar(1)))

trigger15 = playeridexist(floor(fvar(1)))

trigger16 = playeridexist(floor(fvar(1)))

trigger17 = playeridexist(floor(fvar(1)))

trigger18 = playeridexist(floor(fvar(1)))

trigger19 = playeridexist(floor(fvar(1)))

trigger20 = playeridexist(floor(fvar(1)))

trigger21 = playeridexist(floor(fvar(1)))

trigger22 = playeridexist(floor(fvar(1)))

trigger23 = playeridexist(floor(fvar(1)))

trigger24 = playeridexist(floor(fvar(1)))

trigger25 = playeridexist(floor(fvar(1)))

trigger26 = playeridexist(floor(fvar(1)))

trigger27 = playeridexist(floor(fvar(1)))

trigger28 = playeridexist(floor(fvar(1)))

trigger29 = playeridexist(floor(fvar(1)))

trigger30 = playeridexist(floor(fvar(1)))

trigger31 = playeridexist(floor(fvar(1)))

trigger32 = playeridexist(floor(fvar(1)))

trigger33 = playeridexist(floor(fvar(1)))

trigger34 = playeridexist(floor(fvar(1)))

trigger35 = playeridexist(floor(fvar(1)))

trigger36 = playeridexist(floor(fvar(1)))

trigger37 = playeridexist(floor(fvar(1)))

trigger38 = playeridexist(floor(fvar(1)))

trigger39 = playeridexist(floor(fvar(1)))

trigger40 = playeridexist(floor(fvar(1)))

trigger41 = playeridexist(floor(fvar(1)))

trigger42 = playeridexist(floor(fvar(1)))

trigger43 = playeridexist(floor(fvar(1)))

trigger44 = playeridexist(floor(fvar(1)))

trigger45 = playeridexist(floor(fvar(1)))

trigger46 = playeridexist(floor(fvar(1)))

trigger47 = playeridexist(floor(fvar(1)))

trigger48 = playeridexist(floor(fvar(1)))

trigger49 = playeridexist(floor(fvar(1)))

trigger1 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger2 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger3 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger4 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger5 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger6 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger7 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger8 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger9 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger10 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger11 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger12 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger13 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger14 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger15 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger16 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger17 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger18 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger19 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger20 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger21 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger22 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger23 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger24 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger25 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger26 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger27 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger28 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger29 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger30 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger31 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger32 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger33 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger34 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger35 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger36 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger37 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger38 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger39 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger40 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger41 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger42 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger43 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger44 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger45 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger46 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger47 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger48 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger49 = playerid(floor(fvar(1))),ishelper&&playerid(floor(fvar(1))),teamside!=teamside&&playerid(floor(fvar(1))),hitdefattr=sac,aa,at,ap&&playerid(floor(fvar(1))),movetype = A

trigger1 = var(1):=1

trigger2 = var(1):=1

trigger3 = var(1):=1

trigger4 = var(1):=1

trigger5 = var(1):=1

trigger6 = var(1):=1

trigger7 = var(1):=1

trigger8 = var(1):=1

trigger9 = var(1):=1

trigger10 = var(1):=1

trigger11 = var(1):=1

trigger12 = var(1):=1

trigger13 = var(1):=1

trigger14 = var(1):=1

trigger15 = var(1):=1

trigger16 = var(1):=1

trigger17 = var(1):=1

trigger18 = var(1):=1

trigger19 = var(1):=1

trigger20 = var(1):=1

trigger21 = var(1):=1

trigger22 = var(1):=1

trigger23 = var(1):=1

trigger24 = var(1):=1

trigger25 = var(1):=1

trigger26 = var(1):=1

trigger27 = var(1):=1

trigger28 = var(1):=1

trigger29 = var(1):=1

trigger30 = var(1):=1

trigger31 = var(1):=1

trigger32 = var(1):=1

trigger33 = var(1):=1

trigger34 = var(1):=1

trigger35 = var(1):=1

trigger36 = var(1):=1

trigger37 = var(1):=1

trigger38 = var(1):=1

trigger39 = var(1):=1

trigger40 = var(1):=1

trigger41 = var(1):=1

trigger42 = var(1):=1

trigger43 = var(1):=1

trigger44 = var(1):=1

trigger45 = var(1):=1

trigger46 = var(1):=1

trigger47 = var(1):=1

trigger48 = var(1):=1

trigger49 = var(1):=1

trigger1 = 0

trigger2 = 0

trigger3 = 0

trigger4 = 0

trigger5 = 0

trigger6 = 0

trigger7 = 0

trigger8 = 0

trigger9 = 0

trigger10 = 0

trigger11 = 0

trigger12 = 0

trigger13 = 0

trigger14 = 0

trigger15 = 0

trigger16 = 0

trigger17 = 0

trigger18 = 0

trigger19 = 0

trigger20 = 0

trigger21 = 0

trigger22 = 0

trigger23 = 0

trigger24 = 0

trigger25 = 0

trigger26 = 0

trigger27 = 0

trigger28 = 0

trigger29 = 0

trigger30 = 0

trigger31 = 0

trigger32 = 0

trigger33 = 0

trigger34 = 0

trigger35 = 0

trigger36 = 0

trigger37 = 0

trigger38 = 0

trigger39 = 0

trigger40 = 0

trigger41 = 0

trigger42 = 0

trigger43 = 0

trigger44 = 0

trigger45 = 0

trigger46 = 0

trigger47 = 0

trigger48 = 0

trigger49 = 0

ignorehitpause = 1




;然后这里是helper状态

;飞道检测 -注意看变量是否被占用,自己更换

[Statedef 9996]

type = U

movetype = U

physics = U

[State ]

type = StateTypeSet

trigger1 = 1

statetype = A

movetype = I

physics = N

ignorehitpause = 1

[State ]

type = Null

trigger1 = 1||var(50):=stateno

ignorehitpause = 1

[State ]

type = ChangeAnim

trigger1 = anim != 9999

value = 9999

ignorehitpause = 1

[State ]

type = ParentVarSet

trigger1 = 1

fvar(1) = id+1

ignorehitpause = 1

[State ]

type = Null

trigger1 = 1||var(1):=var(2)

trigger1 = 1||var(2):=EnemyNear(floor(root,fvar(0))),numhelper+root,numhelper+root,numenemy

ignorehitpause = 1

[State ]

type = DestroySelf

trigger1 = var(1)>0&&var(2)>0&&var(1)!=var(2)

ignorehitpause = 1

[State ]

type = Null

trigger1 = 1||var(0):=var(0)+1

ignorehitpause = 1

[state ]

type = screenbound

trigger1 = 1

value = 0

ignorehitpause = 1

[state ]

type = playerpush

trigger1 = 1

value = 0

ignorehitpause = 1

[state ]

type = ctrlset

trigger1 = 1

value = 0

ignorehitpause = 1



暂无评论
根据相关规定,发布评论前必须绑定手机前往绑定
你,确定要这么做吗?
正在处理中...