本人搞凶恶的节选一下我自己的即死投
movetype = H
ctrl = 0
velset = 0,0
[State ]
type = selfState
trigger1 = name="YagModel" ;保险,改成自己名字
value = 120
ignorehitpause = 1
[State ]
type = changestate;destroyself
trigger1 = ishelper
trigger1 = movereversed
value = 80000;我的混线处理状态号,如果不需要这个就把进来的helper全部消除用destroyself
ignorehitpause = 1
[state ]
type=hitby
trigger1=!ishelper;如果是敌方本体
value=SCA,AA,AT,AP;无敌解除
ignorehitpause=1
[State ]
type = changeanim2;注意区别,进来的是敌方如果想让敌方调用我们的动画就使用changanim2,用他自己的就changeanim
trigger1 = 1
value = 100045;我方巨大篮框
ignorehitpause = 1
[State ]
type = removeExplod;消除火花,不消除可能出问题
trigger1 = 1
id = -1
ignorehitpause = 1
[State ]
type = lifeset;即死
trigger1 = 1
value = 0
ignorehitpause = 1
[State ]
type = lifeadd
trigger1 = 1
value = -root,lifemax
ignorehitpause = 1
[State 0, HitFallDamage]
type = HitFallDamage;受到下落伤害
trigger1 = 1
ignorehitpause = 1
[state ]
type = selfstate
trigger1 = !ishelper&&!ailve;死了
value = 5150;扔到他自己的死亡状态
ignorehitpause = 1