From a432fe34601e3fbfd20194c116941015dae3d493 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 11 八月 2022 14:46:22 +0800
Subject: [PATCH] 9685 【后台】开服时间整合(开服清档发送邮件通知;优化发送邮件逻辑及配置;)
---
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Couple.py | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Couple.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Couple.py
index 1c90637..7d042ca 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Couple.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Couple.py
@@ -29,6 +29,7 @@
GameWorld.DebugAnswer(curPlayer, "设置成亲: Couple 1 伴侣ID [可选聘礼ID]")
GameWorld.DebugAnswer(curPlayer, "设亲密度: Couple 2 目标ID 亲密度")
GameWorld.DebugAnswer(curPlayer, "增加密度: Couple 3 目标ID 亲密度")
+ GameWorld.DebugAnswer(curPlayer, "添加喜宴: Couple 4 聘礼ID 宴会个数")
return
#逻辑实现
@@ -118,7 +119,14 @@
PyDataManager.GetIntimacyManager().AddIntimacyBoth(playerID, tagPlayerID, addValue)
intimacys = PyDataManager.GetIntimacyManager().GetIntimacys(playerID)
if intimacys:
- GameWorld.DebugAnswer(curPlayer, "更新目标【%s】亲密度: %s" % (tagPlayerID, intimacys.GetTagIntimacy(tagPlayerID)))
+ GameWorld.DebugAnswer(curPlayer, "更新目标【%s】亲密度: %s" % (tagPlayerID, intimacys.GetTagIntimacy(tagPlayerID)))
+
+ # 增加亲密度
+ elif value1 == 4:
+ bridePriceID = gmList[1] if len(gmList) > 1 else 1
+ addCount = gmList[2] if len(gmList) > 2 else 1
+ addCount = PlayerLove.GMAddCandy(curPlayer, bridePriceID, addCount)
+ GameWorld.DebugAnswer(curPlayer, "添加喜宴数:%s" % addCount)
else:
__Help(curPlayer)
return
--
Gitblit v1.8.0