1. 实现NewSel114免疫瞬杀特性逻辑 2. 完善NewSel113异常状态伤害锁定逻辑 3. 修复Effect13技能效果添加错误 4. 优化ParasiticSeed状态切换处理 5. 移除无用TODO注释和废弃代码
26 lines
735 B
Go
26 lines
735 B
Go
package effect
|
||
|
||
import (
|
||
"blazing/logic/service/fight/action"
|
||
"blazing/logic/service/fight/input"
|
||
)
|
||
|
||
// 14. 若遇到天敌, 则战斗开始时连续害怕 n 回合;(a1: n)
|
||
// TODO: 实现若遇到天敌, 则战斗开始时连续害怕 n 回合;(a1: n)的核心逻辑
|
||
type NewSel14 struct {
|
||
NewSel0
|
||
conut int
|
||
}
|
||
|
||
func (e *NewSel14) TurnStart(fattack *action.SelectSkillAction, sattack *action.SelectSkillAction) {
|
||
// TODO: 实现若遇到天敌, 则战斗开始时连续害怕 n 回合;(a1: n)的核心逻辑
|
||
if e.ID().GetCatchTime() != e.Ctx().Our.CurrentPet.Info.CatchTime {
|
||
return
|
||
}
|
||
|
||
//xmlres.PetMAP[e.Ctx().Our.CurrentPet.ID].SpAtk
|
||
}
|
||
func init() {
|
||
input.InitEffect(input.EffectType.NewSel, 14, &NewSel14{})
|
||
}
|