自动回气与回血代码(删除即可取下 或添加):
[statedef -3]下加入
[State -3]
Type = PowerAdd ← 回气
Traigerall = Alive ← 活着的时候
Trigger1 = (GameTime%5) = 1 ← 每5F(一秒60F)
Value = 2 ← 回气量2 (1000点一格气)
[statedef -2]下加入
[state -2]
type = lifeadd
triggerall=life<=500
trigger1 = timemod = 5,0
value = 2
生命小于500时回血,每秒2点
.[state -2]
type = lifeadd
triggerall=power<=0
trigger1 = timemod = 5,0
value = 2
能量没有时回气,每秒2点
[State -2,]
type = Lifeadd
trigger1 = (gametime%5) = 0
value = 每秒回的血数量
注:可在不同情况下加入-1 看条件而定
[statedef -3]下加入
[State -3]
Type = PowerAdd ← 回气
Traigerall = Alive ← 活着的时候
Trigger1 = (GameTime%5) = 1 ← 每5F(一秒60F)
Value = 2 ← 回气量2 (1000点一格气)
[statedef -2]下加入
[state -2]
type = lifeadd
triggerall=life<=500
trigger1 = timemod = 5,0
value = 2
生命小于500时回血,每秒2点
.[state -2]
type = lifeadd
triggerall=power<=0
trigger1 = timemod = 5,0
value = 2
能量没有时回气,每秒2点
[State -2,]
type = Lifeadd
trigger1 = (gametime%5) = 0
value = 每秒回的血数量
注:可在不同情况下加入-1 看条件而定