1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
¬hc@sddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z d„Z dS(iÿÿÿÿNcCs|r
dSdS(N((tstatettick((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossYaomoBoss.pytOnYaomoBossStateChangesc Cs|jƒ}|jƒ}tjƒjƒ}tjƒjƒ}tjƒjƒ}tjƒjƒ}d}tj    j
|ƒ}t j ƒ}    |rt |    d|ƒrxttt|    d|ƒƒƒD]S}
t|    d|ƒ|
ƒ} || jƒkrº|| jƒkrº| jƒ}PqºqºWng} | s.| jƒ rXtjd|||||||fƒdStjd|||||||fƒ| jƒd} g}x¸t| jƒƒD]¤}
| j|
ƒ}|jƒ}|jƒ}|jƒ}|jƒ}|tjks§| rq§n| d7} |}tjd|| ||fƒ|j|||gƒq§Wt|||gƒ}tjƒjdddd|t |ƒƒdS(    Nis
Get%sCounts Get%sByIndexsd¿ç·þÑýħboss½áËãÎÞÉ˺¦Áбí: mapID=%s,lineID=%s,realMapID=%s,copyMapID=%s,zoneID=%s,npcID=%s,objID=%ss^¿ç·þÑýħbossÉ˺¦½áËã: mapID=%s,lineID=%s,realMapID=%s,copyMapID=%s,zoneID=%s,npcID=%s,objID=%sis.    zoneID=%s,rank=%s,playerID=%s,hurtValue=%stCrossYaomoBossHurtInfo(!tGetIDtGetNPCIDt    GameWorldt GetGameWorldtGetMapIDt    GetLineIDt GetRealMapIDt GetCopyMapIDtChConfigtDef_CrossZoneMapTableNametgett IpyGameDataPYtIPY_Datathasattrtrangetgetattrt    GetZoneIDt GetHurtCounttErrLogtLogtSorttxranget    GetHurtAtt GetValueTypet
GetValueIDt GetHurtValuet GetHurtNametDef_NPCHurtTypePlayertappendtstrtGetPlayerManagertGameServer_QueryPlayerResulttlen(tcurNPCtobjIDtnpcIDtmapIDtlineIDt    realMapIDt    copyMapIDtzoneIDt zoneTypeNamet
ipyDataMgrtindextipyDatat npcHurtListtranktplayerHurtListthurtObjthurtTypethurtIDt    hurtValuethurtNametplayerIDtmsgInfo((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossYaomoBoss.pytOnCrossYaomoBossDead#sP   #$          
 
(cCs|jƒ}tj|tjtƒs(dStj|tj    |ƒsTt
j |dƒdSi|d6|d6}tj t j|ƒdS(Nt RequestLaterR9t
awardIndex(t GetPlayerIDt
ItemCommontCheckPackHasSpacet IPY_GameWorldtrptItemtTrueRtSetPlayerTickTimeR tTYPE_Player_Tick_CrossYaomoBosst PlayerControlt
NotifyCodetSendMsgToCrossServert ShareDefinet'ClientServerMsg_CrossYaomoBossHurtAward(t    curPlayerR=RR9tdataMsg((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossYaomoBoss.pytGetCrossYaomoBossHurtAwardTs cCsU|d \}}|dkr,t||ƒn|dkrQtj|tjdƒndS(NitHurtValueAwardt KillYaomoBossi(t__DoGiveCrossYaomoBossHurtAwardt PlayerGubaotAddGubaoItemEffValuetGubaoEffType_CrossYaomoBoss(RKtmsgDatatmsgTypeRL((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossYaomoBoss.pyt"GameServer_CrossYaomoBoss_DoResultcs   cCsU|jƒ}|\}}tjd||f|ƒtj||ddtigƒdS(Ns>¸øÍæ¼Ò¿ç·þÑýħbossÉ˺¦Ä¿±ê½±Àø: awardIndex=%s,awardItemList=%steventtCrossYaomoBoss(R>RRt ItemControlertGivePlayerItemOrMailtFalse(RKRLR9R=t awardItemList((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossYaomoBoss.pyRPqs
  (RRFRRYRARIR?R RQRR;RMRVRP(((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossYaomoBoss.pyt<module>s                 1