| | |
| | | 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
|
| | |
|
| | | #逻辑实现
|
| | |
| | | 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
|