| | |
| | | #-------------------------------------------------------------------------------
|
| | |
|
| | | import GameWorld
|
| | | import NPCHurtMgr
|
| | | import PlayerControl
|
| | | import IpyGameDataPY
|
| | | import ItemControler
|
| | |
| | | import ShareDefine
|
| | | import ItemCommon
|
| | | import ChConfig
|
| | | import PlayerGubao
|
| | |
|
| | | def OnYaomoBossStateChange(state, tick):
|
| | | ## 活动状态变更
|
| | |
| | | zoneID = ipyData.GetZoneID()
|
| | | break
|
| | |
|
| | | npcHurtList = NPCHurtMgr.GetPlayerHurtList(curNPC)
|
| | | npcHurtList = [] #NPCHurtMgr.GetPlayerHurtList(curNPC)
|
| | | if not npcHurtList or not npcHurtList.GetHurtCount():
|
| | | GameWorld.ErrLog("跨服妖魔boss结算无伤害列表: mapID=%s,lineID=%s,realMapID=%s,copyMapID=%s,zoneID=%s,npcID=%s,objID=%s"
|
| | | % (mapID, lineID, realMapID, copyMapID, zoneID, npcID, objID))
|
| | |
| | |
|
| | | ## 参与击杀妖魔boss
|
| | | if msgType == "KillYaomoBoss":
|
| | | PlayerGubao.AddGubaoItemEffValue(curPlayer, PlayerGubao.GubaoEffType_CrossYaomoBoss, 1)
|
| | | pass
|
| | |
|
| | | return
|
| | |
|