| | |
| | | import NetPackCommon
|
| | | import ShareDefine
|
| | | import GameWorld
|
| | | import GameLogic_CrossGrassland
|
| | | import PlayerControl
|
| | | import IpyGameDataPY
|
| | | import PlayerActivity
|
| | |
| | | (
|
| | | FDEventType0,
|
| | | FDEventType1,
|
| | | FDEventType2,
|
| | | FDEventType_GrasslandXian,
|
| | | FDEventType3,
|
| | | FDEventType4,
|
| | | FDEventType_GrasslandLing,
|
| | | ) = range(5)
|
| | |
|
| | | (
|
| | |
| | | GameWorld.Log('缥缈仙域事件状态设置,体力不足!,fdeventID=%s, costEnergy=%s, curEnergy=%s' % (fdeventID, costEnergy, curEnergy))
|
| | | return
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FairyDomainEnergy, curEnergy - costEnergy)
|
| | | |
| | | # 草园重置
|
| | | if ipyData.GetEventType() in [FDEventType_GrasslandXian, FDEventType_GrasslandLing]:
|
| | | GameLogic_CrossGrassland.DoResetCrossGrassland(curPlayer, ipyData.GetEventType())
|
| | | |
| | | elif state == FDEventState_Visited:
|
| | | if curState != FDEventState_Visiting:
|
| | | GameWorld.Log('缥缈仙域事件状态设置错误,fdeventID=%s, state=%s, curState=%s' % (fdeventID, state, curState))
|