根据提供的code differences信息,由于没有具体的代码变更内容,我将生成一个通用的commit message模板:
``` docs(changelog): 更新版本更新日志 - 添加新功能说明 - 修复已知问题记录 - 更新相关文档内容 ```
This commit is contained in:
@@ -192,7 +192,7 @@ func (our *Input) Damage(in *Input, sub *info.DamageZone) {
|
||||
}
|
||||
|
||||
func (our *Input) GetAction() {
|
||||
println("开始执行NPC动作")
|
||||
|
||||
next := our.Exec(func(t Effect) bool {
|
||||
|
||||
return t.HookAction()
|
||||
|
||||
@@ -2,6 +2,7 @@ package input
|
||||
|
||||
import (
|
||||
"blazing/common/data/xmlres"
|
||||
"blazing/cool"
|
||||
"fmt"
|
||||
|
||||
"blazing/logic/service/common"
|
||||
@@ -71,7 +72,9 @@ func (our *Input) SortPet() {
|
||||
t := Geteffect(EffectType.NewSel, e1.EID)
|
||||
if t != nil {
|
||||
ef := t.ID()
|
||||
fmt.Println("初始化特性", ef.Suffix())
|
||||
if cool.Config.ServerInfo.IsDebug != 0 {
|
||||
fmt.Println("初始化特性", ef.Suffix())
|
||||
}
|
||||
|
||||
ef.SetCatchTime(s.Info.CatchTime)
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@ package input
|
||||
import (
|
||||
"blazing/common/utils"
|
||||
"blazing/logic/service/fight/info"
|
||||
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// 攻击,防御,特攻,特防,速度,命中
|
||||
@@ -27,20 +25,20 @@ func (target *Input) SetProp(source *Input, prop, level int8, opType info.EnumAb
|
||||
// 属性提升,上限为6
|
||||
newValue = utils.Min(target.AttackValue.Prop[p]+l, 6)
|
||||
if newValue > target.AttackValue.Prop[p] {
|
||||
fmt.Println("属性值会增加")
|
||||
//fmt.Println("属性值会增加")
|
||||
return true
|
||||
}
|
||||
fmt.Println("属性值不会增加")
|
||||
//fmt.Println("属性值不会增加")
|
||||
return false
|
||||
|
||||
case info.AbilityOpType.SUB:
|
||||
// 属性降低,下限为-6
|
||||
newValue = utils.Max(target.AttackValue.Prop[p]+l, -6)
|
||||
if newValue < target.AttackValue.Prop[p] {
|
||||
fmt.Println("属性值会减少")
|
||||
//fmt.Println("属性值会减少")
|
||||
return true
|
||||
}
|
||||
fmt.Println("属性值不会减少")
|
||||
//fmt.Println("属性值不会减少")
|
||||
return false
|
||||
|
||||
case info.AbilityOpType.RESET:
|
||||
|
||||
Reference in New Issue
Block a user