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