- 新增 NewSel12 效果:实现特定条件下增加属性的功能 - 新增 NewSel36 效果:实现按回合轮换属性顺序出招的去血逻辑 - 修改 NewSel37 效果:限制仅对红伤生效 - 修改 NewSel39 和 NewSel40 效果:方法名从 Damage_Floor 改为 Damage_DIV_ex - 新增 NewSel44 效果:实现重生逻辑,恢复
27 lines
512 B
Go
27 lines
512 B
Go
package effect
|
|
|
|
import (
|
|
"blazing/logic/service/fight/info"
|
|
"blazing/logic/service/fight/input"
|
|
)
|
|
|
|
// T84. 属性技能无效
|
|
type NewSel84 struct {
|
|
NewSel0
|
|
}
|
|
|
|
func (e *NewSel84) Skill_Hit_ex() bool {
|
|
if e.ID().GetCatchTime() != e.Ctx().Our.CurrentPet.Info.CatchTime {
|
|
return true
|
|
}
|
|
|
|
if e.Ctx().SkillEntity.Category() != info.Category.STATUS {
|
|
return true
|
|
}
|
|
e.Ctx().Opp.EffectCache = make([]input.Effect, 0)
|
|
return true
|
|
}
|
|
func init() {
|
|
input.InitEffect(input.EffectType.NewSel, 84, &NewSel84{})
|
|
}
|