1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
x{[c@sÁddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ga
d„Z d„Z d„Z d„Zd„Zd„Zd„ZdS(    iÿÿÿÿNcCsntjƒjtjƒdkr;|r7tj|dƒntS|jƒt    krj|rftj|dƒntSt
S(NitGeRen_hgg_21675tGeRen_liubo_884824( t    GameWorldt GetGameWorldt GetDictByKeyt ShareDefinetDef_Notify_WorldKey_MergeBosst PlayerControlt
NotifyCodetFalset GetPlayerIDtg_mergeBossOverPlayerListtTrue(t    curPlayertisNotify((sU.\ServerPython\CoreServerGroup\GameServer\Script\GameWorldLogic\GameWorldMergeBoss.pytIsMergeBossOpen$scCsEtjƒjtjƒ}i|tj6}tjtjd|t    ƒdS(Ni(
RRRRRtMergeBroadcasttSendBroadcastMergetChConfigtDef_MergeDictKeyValueR    (tticktmergeBossStatet dictKeyValue((sU.\ServerPython\CoreServerGroup\GameServer\Script\GameWorldLogic\GameWorldMergeBoss.pytOnClientServerInitOK4scCstjƒrngadS(N(Rt IsMergeServerR (tstate((sU.\ServerPython\CoreServerGroup\GameServer\Script\GameWorldLogic\GameWorldMergeBoss.pytMergeBoss_ChangeState;s cCsLtjƒrdS|d}|d}|d}t||ƒt||ƒdS(NtNPCIDt
LastHurtIDt OrderIDList(RRt__GiveMergeBossLastHurtAwardt__GiveMergeBossHurtOrderAward(tinfoDicttnpcIDtlastHurtPlayerIDtorderPlayerIDList((sU.\ServerPython\CoreServerGroup\GameServer\Script\GameWorldLogic\GameWorldMergeBoss.pytRecvMergeBossKilledIs 
 
 
  c
Cs«tjdƒ}|d\}}}|d}||krMtjd|ƒdStj|ƒ}|swtjd|ƒdS||}||}    tj||    ||g|ƒdS(NtMergeBoss_LastHurtAwardiisJÕÒ²»µ½¿ç·þboss×îºóÒ»»÷½±ÀøÐÅÏ¢£¡bossID=%s, ¼ì²éMergeBoss_LastHurtAward.txts²»ÊDZ¾·þÍæ¼ÒlastHurtPlayerID=%s(    t ReadChConfigtGetEvalChConfigRtErrLogtPlayerMergeRegistertGetRegisterPlayerRectDebugLogtPlayerCompensationtSendPersonalItemMailEx(
R!R"tlastHurtAwardInfottitlet contentTempletgetDayst awardItemDictt
regRecDatat addItemListtcontent((sU.\ServerPython\CoreServerGroup\GameServer\Script\GameWorldLogic\GameWorldMergeBoss.pyRVs
 
 
c Cs    tjdƒ}|d\}}}|d}||krMtjd|ƒdS||}x«t|dƒD]š\}}    ||krŸtjd|||    fƒqgntj|    ƒ}
|
sËtjd|    ƒqgn|||f} ||} tj    || ||    g| ƒqgWdS(NtMergeBoss_HurtOrderAwardiisKÕÒ²»µ½¿ç·þbossÉ˺¦ÅÅÐн±ÀøÐÅÏ¢£¡bossID=%s, ¼ì²éMergeBoss_HurtOrderAward.txts\ÕÒ²»µ½¿ç·þbossÉ˺¦ÅÅÐн±Àø£¡bossID=%s,order=%s,playerID=%s, ¼ì²éMergeBoss_HurtOrderAward.txts²»ÊDZ¾·þÍæ¼ÒorderPlayerID=%s(
R&R'RR(t    enumerateR)R*R+R,R-( R!R#torderAwardInfoR/R0R1R2t orderItemDicttordert orderPlayerIDR3R5R4((sU.\ServerPython\CoreServerGroup\GameServer\Script\GameWorldLogic\GameWorldMergeBoss.pyRks(
 
     
 cCs°tjƒrdStjdƒ}|d\}}}|d}|d}ttjƒƒ}tjƒ}|jtj    ƒ}    x3|j
ƒD]%\}
} t j |
ƒ} | s»tj d|
ƒqƒn|
tkr×tj|
ƒnt j| ƒ} | \}}||}||kr1||}tj||||
g|ƒntjd|ƒ|dkr‹tjƒj|
ƒ}|}tj|    |
tj|||ƒntjd|
| ||fƒqƒWdS(NtMergeBoss_TotalOrderAwardiit PlayerScores²»ÊDZ¾·þÍæ¼ÒplayerID=%ssMÕÒ²»µ½¿ç·þbossÕóÓª×ÜÉ˺¦ÅÅÐн±Àø£¡order=%s, ¼ì²éMergeBoss_TotalOrderAward.txts8¿ç·þBoss×ܽáËã: playerID=%s,accID=%s,order=%s,gongXun=%s(RRR&R'tintttimetGetUniversalRecMgrt GetTypeListRt#Def_UniversalGameRecType_MergeEventtitemsR)R*R+R tappendtGetMergeRegRecAccIDR,R-R(tGetPlayerManagertFindPlayerByIDtPlayerMergeEventtAddMergePlayerEventtDef_MSPEvent_AddGongXuntLog(R ttotalOrderAwardInfoR/R0R1R2tplayerScoreDicttcurTimetuniversalRecMgrt mergeEventRectplayerIDt    scoreInfoR3taccIDR:tgongXunR5R4tplayert    eventData((sU.\ServerPython\CoreServerGroup\GameServer\Script\GameWorldLogic\GameWorldMergeBoss.pytRecvMergeBossResultŠs> 
 
 
 
     (RR&R,R)RRRRRHR?R RRRR$RRRW(((sU.\ServerPython\CoreServerGroup\GameServer\Script\GameWorldLogic\GameWorldMergeBoss.pyt<module>s"