今日消耗体力转换活动道具修复

This commit is contained in:
meixiongfeng 2023-08-14 15:04:02 +08:00
parent 5ae788b91d
commit 0c51cb9d37
3 changed files with 3 additions and 3 deletions

View File

@ -43942,7 +43942,7 @@
"ExecuteCnt": 1,
"Type": 2,
"Argu": [
470038121,
470038111,
-1,
-1
],

View File

@ -3749,7 +3749,7 @@
]
},
{
"Id": 470028121,
"Id": 470038121,
"When": 16,
"FromCheck": "Target=2",
"TargetCheck": "Target=3",

View File

@ -546,7 +546,7 @@ func (this *User) change(session comm.IUserSession, attr string, add int32) (cha
}
change.Ps += add
userEx.ConsumPs += -add
this.ModuleUiGame.HDPSTodayConsum(session.GetUserId(), change.Ps)
this.ModuleUiGame.HDPSTodayConsum(session.GetUserId(), userEx.ConsumPs)
} else {
if change.Ps+add > ggd.PsUl {
change.Ps = ggd.PsUl