【自作】简易时止型gametime%x=0式回复抑制模板(包含简易敌回复频率调查)
[Statedef -2];敌回复频率调查部分写在这
......
[State 0, VarSet]
type = VarSet
trigger1 = !ishelper
var(b) = var(a)
ignorehitpause = 1
[State 0, VarSet]
type = VarSet
trigger1 = !ishelper
var(a) = enemynear,life
ignorehitpause = 1
[State 0, VarSet]
type = VarSet
triggerall = !ishelper
trigger1 = var(a) > var(b)
trigger1 = var(b) > 0
trigger1 = !var(c)
var(c) = gametime - 1
ignorehitpause = 1
......
[Statedef XXXXXX];时止解除用helper(回复抑制写在这)
......
[State ]
type = Pause
triggerall = IsHelper
trigger1 = root,var(c) > 0
trigger1 = (gametime + 1)%(root,var(c)) = 0
time = 2
movetime = 2
ignorehitpause = 1
[State ]
type = Superpause
triggerall = IsHelper
trigger1 = root,var(c) > 0
trigger1 = (gametime + 1)%(root,var(c)) = 0
anim = -1
time = 2
movetime = 2
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1
......
;原理:无时止解除的player被时止时不执行控制器但gametime依然随时间增加,故此。