From 3670394fbbf2e39f63f59c4539e260925a3accfe Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 31 十月 2023 14:35:33 +0800 Subject: [PATCH] 9952 【BT0.1】【主干】仙盟修改(修复货币捐献没有扣除货币bug) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py index 3122c3a..0b5f5f5 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py @@ -964,7 +964,7 @@ GameWorld.DebugLog("不存在该货币类型捐献: moneyType=%s" % moneyType, playerID) return needMoney, contribution, familyActivity = donatePrizeInfo[str(moneyType)] - if not PlayerControl.HaveMoney(curPlayer, moneyType, needMoney): + if not PlayerControl.PayMoney(curPlayer, moneyType, needMoney, "FamilyMoneyDonate"): return updDonateCount = donateCount + 1 -- Gitblit v1.8.0