| | |
| | | return
|
| | |
|
| | | def RefreshWishingWellAction():
|
| | | #__InitWishRateList()
|
| | | __InitWishRateList()
|
| | | playerManager = GameWorld.GetPlayerManager()
|
| | | for i in xrange(playerManager.GetPlayerCount()):
|
| | | curPlayer = playerManager.GetPlayerByIndex(i)
|
| | |
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_WishingWellID, WishingWellID)
|
| | | #每天开始随机一次免费盘
|
| | | if state:
|
| | | g_randomWellDict = {}
|
| | | #g_randomWellDict = {}
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_WishingWellRefreshCnt, 0)
|
| | | __DoActWishingRefresh(curPlayer, 1, True)
|
| | |
|