refactor: 重构战斗效果实现
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
22
logic/service/fight/effect/494.go
Normal file
22
logic/service/fight/effect/494.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package effect
|
||||
|
||||
import (
|
||||
"blazing/logic/service/fight/input"
|
||||
"blazing/logic/service/fight/node"
|
||||
)
|
||||
|
||||
// 494 - 无视对手能力提升状态
|
||||
type Effect494 struct {
|
||||
node.EffectNode
|
||||
}
|
||||
|
||||
func (e *Effect494) CalculatePre() bool {
|
||||
|
||||
e.Ctx().Opp.Prop = [6]int8{}
|
||||
return true
|
||||
}
|
||||
|
||||
func init() {
|
||||
input.InitEffect(input.EffectType.Skill, 494, &Effect494{})
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user