From dcf9cc7f1e059a6898898097d8b30dcf213f1aa1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 31 七月 2023 16:45:52 +0800
Subject: [PATCH] 9788 【BT9】【后端】成就系统(修复成就给货币奖励失败bug)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
index 11b362c..0f5602f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
@@ -980,7 +980,7 @@
#给钱
for moneyType, value in succData.moneyDict.items():
- PlayerControl.GiveMoney(curPlayer, moneyType, value)
+ PlayerControl.GiveMoney(curPlayer, int(moneyType), value)
#给经验
if succData.exp:
--
Gitblit v1.8.0