| | |
| | | GameWorld.DebugAnswer(curPlayer, "---------- %s" % GameWorld.GetCurrentDataTimeStr())
|
| | | GameWorld.DebugAnswer(curPlayer, "清除伴侣: Couple 0")
|
| | | GameWorld.DebugAnswer(curPlayer, "重置聘礼: Couple 0 1")
|
| | | GameWorld.DebugAnswer(curPlayer, "设置伴侣: Couple 1 目标ID [可选聘礼ID]")
|
| | | GameWorld.DebugAnswer(curPlayer, "设置成亲: Couple 1 伴侣ID [可选聘礼ID]")
|
| | | GameWorld.DebugAnswer(curPlayer, "设亲密度: Couple 2 目标ID 亲密度")
|
| | | GameWorld.DebugAnswer(curPlayer, "增加密度: Couple 3 目标ID 亲密度")
|
| | | return
|
| | |
| | |
|
| | | return
|
| | |
|
| | | # 设置伴侣
|
| | | # 设置成亲
|
| | | elif value1 == 1:
|
| | | if couple:
|
| | | GameWorld.DebugAnswer(curPlayer, "已有伴侣! coupleID=%s" % couple.GetCoupleID(playerID))
|
| | | return
|
| | | tagPlayerID = gmList[1] if len(gmList) > 1 else 0
|
| | | if not tagPlayerID or tagPlayerID == playerID:
|
| | | GameWorld.DebugAnswer(curPlayer, "非法伴侣玩家ID:%s,playerID=%s" % (tagPlayerID, playerID))
|
| | | return
|
| | | if couple:
|
| | | if couple.GetCoupleID(playerID) != tagPlayerID:
|
| | | GameWorld.DebugAnswer(curPlayer, "已有伴侣! coupleID=%s" % couple.GetCoupleID(playerID))
|
| | | return
|
| | | tagCouple = coupleMgr.GetCouple(tagPlayerID)
|
| | | if tagCouple:
|
| | | if tagCouple.GetCoupleID(tagPlayerID) != playerID:
|
| | | GameWorld.DebugAnswer(curPlayer, "对方已有伴侣! tagCoupleID=%s" % tagCouple.GetCoupleID(tagPlayerID))
|
| | | return
|
| | |
|