23 lines
500 B
Go
23 lines
500 B
Go
|
|
package effect
|
|||
|
|
|
|||
|
|
import (
|
|||
|
|
"blazing/logic/service/fight/input"
|
|||
|
|
"blazing/logic/service/fight/node"
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
// 486 - 下n回合若自身选择使用技能则无视对手能力提升状态
|
|||
|
|
type Effect486 struct {
|
|||
|
|
node.EffectNode
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (e *Effect486) OnSkill() bool {
|
|||
|
|
// 设置标志,接下来n回合内无视对手能力提升
|
|||
|
|
e.Ctx().Our.IgnoreOpponentPositiveBuffsForNDuration(int(e.Args()[0].IntPart()))
|
|||
|
|
|
|||
|
|
return true
|
|||
|
|
}
|
|||
|
|
func init() {
|
|||
|
|
input.InitEffect(input.EffectType.Skill, 486, &Effect486{})
|
|||
|
|
|
|||
|
|
}
|