Files
bl/logic/service/fight/input/attr.go

20 lines
297 B
Go
Raw Normal View History

package input
func (u *Input) Death() {
u.CurrentPet.Info.Hp = 0
//todo 待实现死亡effet
}
// 1是添加-1是减少0是清除
func (u *Input) SetProp(prop, level int) {
//todo 待交互
u.AttackValue.Prop[prop] = u.AttackValue.Prop[prop] + int8(level)
//todo 待交互
}