| | |
| | |
|
| | | ## 副本功能线路ID
|
| | | def SetFBFuncLineID(curPlayer, funcLineID): return curPlayer.SetExAttr3(funcLineID)
|
| | | def GetFBFuncLineID(curPlayer): return curPlayer.GetExAttr3()
|
| | | def GetFBFuncMapID(curPlayer): return curPlayer.GetExAttr3() / 1000
|
| | | def GetFBFuncLineID(curPlayer): return curPlayer.GetExAttr3() % 1000
|
| | |
|
| | | ##VIP到期时间
|
| | | def GetVIPExpireTime(curPlayer): return 0
|
| | |
| | | curPlayer.MapServer_QueryPlayerResult(0, 0, "SetLeaveFamilyTime", sysMsg, len(sysMsg))
|
| | | return
|
| | | def GetLeaveFamilyTime(curPlayer):return curPlayer.GetExAttr12()
|
| | | ##玩家离开仙盟时间(主动或被踢都算)
|
| | | def GetLeaveFamilyTimeEx(curPlayer):return curPlayer.GetExAttr19()
|
| | | def SetLeaveFamilyTimeEx(curPlayer, value):return curPlayer.SetExAttr19(value)
|
| | |
|
| | | ## 玩家所属服务器组ID
|
| | | def GetPlayerServerGroupID(curPlayer): return curPlayer.GetExAttr13()
|
| | |
| | | curPlayer.MapServer_QueryPlayerResult(0, 0, "DelItem", result, len(result))
|
| | | return
|
| | |
|
| | | def MapServerGiveAward(curPlayer, eventName, moneyInfo={}, itemList=[], drDict={}):
|
| | | ## 地图给奖励
|
| | | result = str([eventName, moneyInfo, itemList, drDict])
|
| | | curPlayer.MapServer_QueryPlayerResult(0, 0, "GiveAward", result, len(result))
|
| | | return
|
| | |
|
| | | ## 增加仙盟活跃
|
| | | # @param curPlayer
|
| | | # @param successType: 成就类型
|