| | |
| | | import IpyGameDataPY
|
| | | import PlayerControl
|
| | | import ChPyNetSendPack
|
| | | import PlayerGatherTheSoul
|
| | | import ItemControler
|
| | | import IPY_GameWorld
|
| | | import PlayerGubao
|
| | |
| | | ZhanlingType_SkyTower,
|
| | | ZhanlingType_GubaoStar,
|
| | | ZhanlingType_Login,
|
| | | ) = range(1, 1 + 5)
|
| | | ZhanlingType_GatherTheSoulLV,
|
| | | ) = range(1, 1 + 6)
|
| | |
|
| | | def OnPlayerLogin(curPlayer):
|
| | | for zhanlingType in ZhanlingTypeList:
|
| | |
| | | if not firstLoginTime:
|
| | | return
|
| | | curValue = GameWorld.GetDiff_Day(int(time.time()), firstLoginTime) + 1
|
| | | elif zhanlingType == ZhanlingType_GatherTheSoulLV:
|
| | | curValue = PlayerGatherTheSoul.GetGatherTheSoulTotalLV(curPlayer)
|
| | | else:
|
| | | return
|
| | |
|