战斗修改

This commit is contained in:
2025-09-29 02:40:35 +08:00
parent 7df70f2375
commit 91d0d29ec9
28 changed files with 332 additions and 281 deletions

View File

@@ -1,6 +1,7 @@
package node
import (
"blazing/logic/service/fight/info"
"blazing/logic/service/fight/input"
)
@@ -29,20 +30,24 @@ func (this *EffectNode) Alive() bool {
return !this.notAlive
}
func (e *EffectNode) GetInput() *input.Input {
func (this *EffectNode) NotALive() {
this.notAlive = true
return e.Input
}
func (this *EffectNode) GetOwner() bool {
func (e *EffectNode) NotALive() {
return this.Owner
e.notAlive = true
}
func (this *EffectNode) SetOwner(b bool) {
func (e *EffectNode) GetOwner() bool {
this.Owner = b
return e.Owner
}
func (e *EffectNode) SetOwner(b bool) {
e.Owner = b
}
func (this *EffectNode) Stack(t ...int) int {
@@ -89,3 +94,9 @@ func (this *EffectNode) AttackTime(*input.Input, *input.Input) bool {
return true
}
func (e *EffectNode) EFFect_Befer() {
}
func (e *EffectNode) Prop_Befer(in *input.Input, prop int8, level int8, ptype info.EnumAbilityOpType) bool {
return true
}