From 0c51cb9d37246ed741bc7148b61e83d1e171684b Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Mon, 14 Aug 2023 15:04:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8A=E6=97=A5=E6=B6=88=E8=80=97=E4=BD=93?= =?UTF-8?q?=E5=8A=9B=E8=BD=AC=E6=8D=A2=E6=B4=BB=E5=8A=A8=E9=81=93=E5=85=B7?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/json/game_skillafteratk.json | 2 +- bin/json/game_skillpassive.json | 2 +- modules/user/module.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/json/game_skillafteratk.json b/bin/json/game_skillafteratk.json index 4fb84ace2..bce0648b8 100644 --- a/bin/json/game_skillafteratk.json +++ b/bin/json/game_skillafteratk.json @@ -43942,7 +43942,7 @@ "ExecuteCnt": 1, "Type": 2, "Argu": [ - 470038121, + 470038111, -1, -1 ], diff --git a/bin/json/game_skillpassive.json b/bin/json/game_skillpassive.json index abd31a6fd..abae8c07e 100644 --- a/bin/json/game_skillpassive.json +++ b/bin/json/game_skillpassive.json @@ -3749,7 +3749,7 @@ ] }, { - "Id": 470028121, + "Id": 470038121, "When": 16, "FromCheck": "Target=2", "TargetCheck": "Target=3", diff --git a/modules/user/module.go b/modules/user/module.go index 529f005bd..aba2994e2 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -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