| | |
| | | import SkillShell
|
| | | import BuffSkill
|
| | | import PlayerControl
|
| | | import EventShell
|
| | | import PlayerRequest
|
| | | import ChEquip
|
| | | import SkillCommon
|
| | |
| | | import ChItem
|
| | | import PlayerGMOper
|
| | | import GameLogInfo
|
| | | import PlayerMissionCollect
|
| | | import ItemCommon
|
| | | import OperControlManager
|
| | | import ShareDefine
|
| | |
| | |
|
| | | if prepareState == IPY_GameWorld.pstDig:
|
| | | #挖宝状态
|
| | | EventShell.EventResponse_OnDig(curPlayer)
|
| | | pass
|
| | |
|
| | | elif prepareState == IPY_GameWorld.pstSkill:
|
| | | SkillShell.SkillPrepareEnd(curPlayer, tick)
|
| | |
| | |
|
| | | elif prepareState == IPY_GameWorld.pstTownPortal:
|
| | | #战斗中回城成功
|
| | | ChItem.UseTownPortal(curPlayer)
|
| | | pass
|
| | |
|
| | | elif prepareState == IPY_GameWorld.pstMissionCollecting:
|
| | | #任务采集
|
| | | PlayerMissionCollect.EndMissionCollect(curPlayer, tick)
|
| | | pass
|
| | |
|
| | | elif prepareState == ShareDefine.Def_PstTrans:
|
| | |
|
| | |
| | | if not TransCostAfterPrepare(curPlayer):
|
| | | return
|
| | |
|
| | | PlayerControl.PlayerResetWorldPos(curPlayer, mapID, posX, posY, False)
|
| | | PlayerControl.PlayerResetWorldPos(curPlayer, mapID, posX, posY)
|
| | | #PlayerControl.NotifyCode(curPlayer, "Map_Deliver_Succeed", [mapID])
|
| | |
|
| | | #重置玩家状态
|