cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
æh5\c@sddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZedƒ\ZZZZedƒ\ZZZZZdZdZdZdZdZd    „Zd
„Z d „Z!d „Z"d „Z#d„Z$d„Z%d„Z&d„Z'd„Z(d„Z)d„Z*d„Z+d„Z,d„Z-d„Z.d„Z/d„Z0d„Z1d„Z2d„Z3d„Z4d„Z5e6dd „Z8d!„Z9d"„Z:dS(#iÿÿÿÿNiitChaosDemon_FBNextRefreshSteptChaosDemon_FBNPCCnttChaosDemon_FBNPCNeedRefreshCnttChaosDemon_FBNPCRefreshCnttChaosDemon_FBStarcCsdS(N((t    curPlayer((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytChaosDemonOnDayJscCs tjdƒS(Nt ChaosDemonCfg(t IpyGameDataPYtGetFuncEvalCfg(((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyt__GetChaosDemonnpcCfgQscCsdS(N((ttick((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytOnOpenFBZscCsdS(N((R ((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyt    OnCloseFBcscCstS(N(tTrue(RtmapIDtlineIDR ((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytOnEnterFBEventlscCs|S(N((RRtlineIdtipyEnterPosInfoR ((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytOnGetFBEnterPosxscCstjS(N(t IPY_GameWorldt    cmeAccept(taskR ((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytOnChangeMapAsksc
Csutjƒjƒ}tj|ƒ}tjƒ}tj|ƒ}tjƒs³d}tj|ƒ|j    ƒt
kr³tj t |ƒ|j tdƒ|j tdƒ|j tdƒq³ntjdtjƒ|jƒƒtj|ƒs€tj|ƒt}tj|ƒr#t}tjd|jƒƒntj||dƒtj||ƒ}tj|tjdtj|ƒt j!|tj"dƒn|j    ƒ}|t kr|t#d|tjƒj$ƒ}    |j%t&j'dt(|    dƒtƒ|j%t&j)dt(|    dƒtƒnc|t*krd|t+d|tjƒj$ƒ}    |j%t&j,dt(|    dƒtƒt-|t|ƒnt.j/|ƒdS(Nis ChaosDemon DoEnterFB lineID=%s£¡sChaosDemon ÖúÕ½½øÈ븱±¾£¡iiè(0t    GameWorldt GetGameWorldtGetMapIDtFBCommontGetRecordMapIDt    GetGameFBtGetFBLineStepTimetGetHadSetFBPropertyMarktSetFBPropertyMarkt    GetFBStept FB_Step_Opent    SetFBSteptFB_Step_Preparet SetGameFBDictRRRtDebugLogtGetFBPropertyMarktGetIDtGetHadDelTickettSetHadDelTickettFalsetSetIsHelpFightRtAddEnterFBCountt GetFBJoinTypet EventReportt WriteEvent_FBtChConfigtDef_FBMapID_ChaosDemont CME_Log_StarttPlayerWeekPartytAddWeekPartyActionCnttDef_WPAct_ChaosDemontDef_PrepareTimet GetFBStepTickt Sync_TimeTickRt tttAddUpTimetmaxt tttWaitStartt FB_Step_Fightt Def_FightTimet tttTowerTaket__UpdChaosDemonFBStart FBHelpBattletRefershTeamFBMemRelation(
RR RtgameFBRRt isHelpFighttjoinTypetfbStept notify_tick((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyt    DoEnterFBŠsD       ""% "" c    Cs,tjƒ}|jtƒ}|jtƒ}|dksB|dkrFdS|jtƒ}tƒ}tjddƒ}|t    |ƒks”|t    |ƒkr¥tj
dƒt S||}||}d}x|D]}||d7}qÆW|j t |ƒ|j t|ƒtj||||ƒ|j t|dƒdS(NiRisÒÑÊÇ×îºóÒ»²¨, Í¨¹Øi(RRtGetGameFBDictByKeyRRRR
RR    tlenR'RR&RtNPCCustomRefresht SetNPCRefresh(    RDtnpcCnttneedRefreshCntt refreshSteptrefreshNPCListt    rMarkListtrMarktrNPCListtrNPCInfo((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyt__RefreshChaosDemonNextNPC¹s*     $ 
 
 cCsQtjd|jƒƒtjƒjƒ}|tkrMtj||jƒƒndS(NsChaosDemon DoExitFB...(RR't GetPlayerIDRR"R>RBRC(RR RG((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytDoExitFBßs
 cCstjd|jƒƒdS(NsChaosDemon DoPlayerLeaveFB...(RR'RW(RR ((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytDoPlayerLeaveFBêscCstjd|ƒdS(Ns'ChaosDemon DoFBOnReborn...rebornType=%s(RR'(Rt
rebornTypeR ((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyt DoFBOnRebornôscCsdS(Nt((RR((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytGetPlayerResetWorldPosFBMsgþscCsktjƒjƒ}|tkr+t|ƒn<|tkrNt|ƒt|ƒn|tkrgt    |ƒndS(N(
RRR"R%t__DoLogic_FB_PrepareR>t__ProcessOverFightRAt FB_Step_Overt__ProcessCloseFB(R RG((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyt    OnProcesss   
   cCsÝtjƒjƒ}tj|ƒ}|tjƒjƒ|tdkrIdStj    |ƒt
ƒtj ƒ}xBt |j ƒƒD].}|j|ƒ}|sq|nt||ƒq|Wtjt|ƒtjtj|tdƒdS(Niè(RtGetMapRRRRR9R8RBRCRVtGetMapCopyPlayerManagertrangetGetPlayerCounttGetPlayerByIndextDoFBHelpR$R>tSync_Player_TimeTickRR@R?(R RtfbCfgt playerManagertiR((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyR^s$  cCsmtjƒjƒ}tj|ƒt}tjƒjƒ}td|d||ƒdkr\dSt    t
|ƒdS(Niiè( RRcRRRR?Rt GetOpenFBTickR<t__DoChaosDemonOverR,(R Rt    FightTimetopenTick((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyR_/s! cCsttjƒ}tjƒjƒ}||jƒtj|ƒtdkrIdStjƒt    j
|ƒtj t |ƒdS(Niè( RRRcRR9RRt Def_ExitTimetDoLogic_FBKickAllPlayertGameWorldProcesstCloseFBR$t FB_Step_Close(R RDR((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyRa<s '
 c Csætjƒ}|jƒtkr"dS|tjƒjƒ}tjt|ƒtjƒjƒ}tj    |ƒ}tjƒj
t ƒ}t j dƒ}t j ddiƒ}t jddƒ}|j|dƒ}    g}
x0|jƒD]"\} } |
j| | dgƒqÙW|
t j ddiƒj|gƒ7}
tj|ƒtd} tjƒ}|jƒ}xŒt|ƒD]~}|j|ƒ}|sq`n|jtjd| tƒ|sÀtj|idtj6ƒq`ni|tj6|tj6t |ƒtj6|tj!6}t"}tj#|ƒrt}nLt$|
ƒ}t%j&|tj'|ƒ}t ||kƒ}|rt(j)d|j*ƒg|
ƒtj+d    t,|
ƒ|j*ƒƒnHxE|
D]=\} } }t-j.|| | |tj'gd
d t"igƒq”Wt(j/|ƒ}t t0|ƒ|    d ƒ}t(j(|ƒj1|ƒtj2|
ƒ|tj3<|t4j5}|t4j5}||tj6<||tj7<t8j9||d|ƒ\}}||g|tj:<tj||ƒt;j<|t=j>d||gƒtj+d t,|ƒ|j*ƒƒq`WdS(NtChaosDemonRewardiiiiiiètChaosDemonMails'±³°ü¿Õ¼ä²»¹»£¬·¢ËÍÓʼþ: mailItemList=%steventt
ChaosDemonids$__SendChaosDemonOverInfo overDict=%s(?RRR"R`R9RR$RcRRRJRRR    t
GetFuncCfgtgettitemstappendRRqRdRftxrangeRgR:Rt tttLeaveMapRtNotify_FB_Overt Over_isPasst
Over_gradetOver_dataMapIDtintt Over_costTimeR,tGetIsHelpFightRKt
ItemCommontGetItemPackSpacetrptItemt PlayerControlt SendMailByKeyRWR'tstrt ItemControlertGivePlayerItemtGetPlayerReExptevaltAddExptGetJsonItemListt Over_itemInfoR2tDef_PerPointValuetOver_expt Over_expPointRBtDoFBAddXianyuanCointOver_xianyuanCoint PlayerSuccesstDoAddSuccessProgresst ShareDefinetSuccType_ChaosDemon(tisPassR RDtcostTimeRtstartitemDicttrateDicttgiveExptratet prizeItemListtitemIDtitemCnttexitTimeRkt playerCounttindexRtoverDicttisHelpt    needSpacet
emptySpacet
isSendMailtisBindtreExptaddExptexptexpPointtaddXianyuanCointreason((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyRnGsj %  4     #2    $cCs»|jƒtƒkrdStjƒ}|jtƒ}|jtƒ}|d7}|d8}|jt|ƒ|jt|ƒtjd|jƒ||fƒ|dkr·tjd|ƒndS(Nis@DoFBRebornNPC, npcID=%s,ChaosDemon_FBNPCCnt=%s,needRefreshCnt=%sis±¾²¨¹ÖÎïË¢ÐÂÍê±Ï£¡npcCnt=%s(    tGetNPCIDt__GetAllNPCIDListRRRJRRR&R'(tcurNPCR RDRNRO((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyt DoFBRebornNPCs 
 
  cCsHtƒ}g}x2|D]*}x!|D]\}}|j|ƒq#WqW|S(N(R
R}(RQt    npcIDListtrListtnpcidtnpccnt((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyR· s      cCsÛ|jƒtƒkrdStjƒ}|jtƒ}|jtƒ}|d8}|jt|ƒtjd|jƒ||fƒ|dkrÄ|dkrÄtjdƒt    ƒ}|rÄt
t |ƒqÄnt j |tdƒdS(NisFDoFB_Player_KillNPC, npcID=%s,ChaosDemon_FBNPCCnt=%s,needRefreshCnt=%sis±¾²¨ËùÓйÖÎïÒѱ»»÷ɱ£¡(R¶R·RRRJRRR&R'RVRnRRtNotifyCopyMapPlayerFBHelpRh(RR¸R RDRNROt isAllKilled((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytDoFB_Player_KillNPC®s  
         cCs&tjƒ}|jƒtkr"tStS(N(RRR"R>R,R(tattackertdefenderRD((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytCheckCanAttackTagObjInFBÊs cCstS(N(R(t    atkPlayert    defPlayer((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pytDoFBAttackHasPunishÔscCsËtjƒ}|jtƒ}|dkr+|Stjƒjƒ}ttj||j    ƒdƒƒ}t
j |ƒ}|t }d}    d}
x<t |dƒD]+\} } || kr•| }
| |}    q•q•W||
krÛ| rÛ|S|jt|
ƒtjd|||
|    fƒ|rJt||ƒ|
dkrÇ|jtjd|    dtƒqÇn}tjƒ} xnt| jƒƒD]Z}| j|ƒ}|sŠqint||ƒ|
dkri|jtjd|    dtƒqiqiW|
S(Nig@@iis=__UpdFBStar useSecond=%s,curStar=%s,updStar=%s, diffSecond=%siè(RRRJRRcRR„tmathtceilR9RRt Def_StarTimet    enumerateR&R'RhR:Rt tttFlagTakeRRdR~RfRg(R tisEnterRRDtcurStarRt    useSecondt chaosDemonCfgt starTimeListt
diffSecondtupdStarRŸtstarTimeRkR©((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyRAØs@  #
       #   $cCs*|jƒ}tjƒ}|jtƒ}|jtƒ}|jtƒ}|jtƒ}td||ƒ}||g}    t    j
ƒ}
t    j |ƒ} |j t jt jƒ} i|t    j6|t    j6|t    j6|
t    j6| t    j6| t    j6tj|ƒt    j6} t    j|| ƒtjdt| ƒ|ƒdS(Nis DoFBHelp %s(RWRRRJRRRRR<RR(R†tNomalDictGetPropertyR2tDef_PDict_FBRealHelpCountR3t    Help_stept
Help_gradet Help_npcTotalt Help_lineIDt Help_isHelptHelp_helpCountRBtGetTeamFBMemRelationInfot Help_relationt Notify_FBHelpR'RŒ(RR tplayerIDRDRŸtwheelNumt needKillCntt remainNPCCntt
KillNPCCnttdataRR«t    helpCountt
fbHelpDict((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyRhs     +*cCsdS(N((Rt
actionTypet
actionInfoR ((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyt
DoFBAction!s(;RRRsRRŠRLRRR2R›R‡R™RBR0R5RÇReR8R?RqRÉR#R%R>R`RuRRRRRRR
R R RRRRIRVRXRYR[R]RbR^R_RaRnR¹R·RÀRÃRÆR,tNoneRARhRé(((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ChaosDemon.pyt<module>s`                                                                          /    &         
    
                          I                
    /