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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
眽[c    @sÔddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZejZdZdZdZdZdZdZdZd    Zd
Zd Zd Zd ZdZdZ dZ!dZ"dZ#e$dƒ\    Z%Z&Z'Z(Z)Z*Z+Z,Z-e$dƒ\Z.Z/Z0da1da2d„Z3d„Z4d„Z5d„Z6dd„Z8d„Z9d„Z:d„Z;d„Z<d„Z=d „Z>d!„Z?d"„Z@d#„ZAd$„ZBd%„ZCd&„ZDd'„ZEdd(„ZFd)„ZGd*„ZHd+„ZId,„ZJd-„ZKd.„ZLd/„ZMd0„ZNd1„ZOd2„ZPd3„ZQd4„ZRdd5„ZSd6„ZTd7„ZUd8„ZVd9„ZWdS(:iÿÿÿÿNtManorWar_StartTicktManorWar_LastRefreshTicktManorWar_LastAwardTicktManorWar_CollectFlagTicktManorWar_OwnFlagTickTotaltManorWar_GetFlagFamilyIDtManorWar_WinFamilyIDtManorWarDict_HadWinResultt!ManorWarPlayer_LastEnterServerDaytManorWarPlayer_RefreshTicktManorWarPlayer_StayTicktManorWarPlayer_GetExpTotaltManorWarPlayer_GetZhenQiTotaliiibici    itcCs tjdƒS(Nt ManorWarCfg(t ReadChConfigtGetEvalChConfig(((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt__GetManorWarCfggscCs tjdƒS(Nt ManorWarMapID(RR(((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt__GetManorWarMapIDnscCs8tjdƒ}||kr0tjd|ƒgS||S(Nt ManorWarInfos+ÁìµØÕù¶áÕ½ mapID=%s not in ManorWarInfo.txt(RRt    GameWorldtErrLog(tmapIDtmanorWarInfoDict((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt__GetManorWarInfous
 cCs%tjƒjtƒ}|ttgkS(N(Rt GetGameWorldtGetGameWorldDictByKeytKey_ManorWarStatetDef_Action_OpentDef_Action_ReadyOver(tnowState((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytIsManorWarFighting€scCsdtjƒjƒ}|tƒkr%tStjƒjƒ}|dkr`|r\tj|dƒntStS(NitGeRen_liubo_493562(    RRtGetMapIDRtFalset    GetLineIDt PlayerControlt
NotifyCodetTrue(t    curPlayerRtlineID((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt IsManorWarMap‡s cCs•tƒs dStjƒjtjƒ}||krFtjd|ƒdS|tkr_t|ƒn2|t    krxt
|ƒn|t kr‘t |ƒndS(Ns0OnManorWarStateChange ÒÑÊǸÃÖµ£¬²»´¦Àí£¡value=%s( R*RRRt ShareDefinetDef_Notify_WorldKey_ManorWartDebugLogRt__OnOpenRt    __OnClosetDef_Action_DoOvert
__OnDoOver(tvaluetticktcurState((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytOnManorWarStateChangešs           cCs8tjƒjƒ}tj|}tjƒj|ƒ}|S(N(RRR"R+t'Def_Notify_WorldKey_ManorWarWinFamilyIDR(RtwinFamilyIDKeyt winFamilyID((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt__GetLastWinFamilyID±s cCst|dƒdS(Ni(t__UpdDailyAwardRecord(R(((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt ManorWarOnDayºs cCs³t|ƒtj}tjƒj|ƒ}tj|tj    ƒ}||kr˜tj
|tj dƒtj
|tj dƒtj d||f|jƒƒnt|dƒt|ƒdS(NisFÁìµØÕ½ OnLogin ÉϴλľÓвμӣ¬ÖØÖÃÐÅÏ¢£¡ÉϴλÌì=%s,ÉϴβÎÓëÌì=%s(tCheckManorwarWinLeaderIDR+t%Def_Notify_WorldKey_ManorWarServerDayRRRtFBCommontGetFBPDictValuetChConfigtDef_PDict_ManorWarJoinDaytSetFBPDictValuetDef_PDict_ManorWarContinueTickt Def_PDict_ManorWarJoinAwardStateR-t GetPlayerIDtSync_ManorWarResulttSync_ManorDailyAward(R(R3twarServerDayKeyt warServerDaytjoinDay((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytOnLoginÃs
          
cCsýtjdƒtjƒ}|jt|ƒ|jt|ƒ|jt|ƒ|jtdƒ|jtdƒ|jt    dƒ|jt
dƒ|jt dƒda da tjƒ}xEtd|jƒƒD].}|j|ƒ}|sèqÇnt||ƒqÇWdS(Ns__OnOpen manorWar...iR (RR-t    GetGameFBt SetGameFBDicttManorWarDict_StartTicktManorWarDict_LastRefreshTicktManorWarDict_LastAwardTicktManorWarDict_CollectFlagTicktManorWarDict_OwnFlagTickTotaltManorWarDict_GetFlagFamilyIDtManorWarDict_WinFamilyIDRtg_winFamilyNametg_getFlagFamilyNametGetMapCopyPlayerManagertrangetGetPlayerCounttGetPlayerByIndext__DoPlayerJoinWar(R3tgameFBt playerManagertindexR(((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyR.Ús&   cCsatjƒ}|jtƒ}td||ƒ}tdtƒtd|ƒ}tjd|ƒ|S(Niiès$__GetRemainTick ÁìµØÕ½ remainTick=%s(RRLtGetGameFBDictByKeyRNtmaxRtDef_Time_OverTimeR-(R3R\t    startTicktpassTickt
remainTick((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt__GetRemainTicks  cCstjdƒtƒdS(Ns__OnClose manorWar...(RR-t __DoWinLogic(R3((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyR/s cCsštjdƒtjƒ}xztd|jƒƒD]c}|j|ƒ}|sPq/nt|tjgƒt    |ƒ|j
ƒdkr…q/nt |dƒq/WdS(Ns__OnDoOver manorWar...ii( RR-RWRXRYRZt__DelFBGameBuffR@tDef_SkillID_GetFlagFamilyBuffR<t GetFamilyIDRF(R3R]R^R(((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyR1s  
cCs8tƒs dStƒsdStjdƒt||ƒdS(NsÁìµØÕ½ DoEnterFB...(R*R RR-R[(R(R3((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt    DoEnterFB4s          cCsÓtjd|jƒƒtjƒ}tjƒjtjƒ}tj    |t
j ƒ}||krÍtj |t
j |ƒtj |t
j dƒtj |t
jdƒt|dƒtjd||f|jƒƒn|j|jƒtƒ}||krx|j|jƒt|ƒ|j|jƒtdƒ|j|jƒtdƒ|j|jƒtdƒtjd||f|jƒƒn|jtƒ}t|||ƒ|j|jƒt|ƒ|jtjdt|ƒtƒdS(NsÁìµØÕ½ __DoPlayerJoinWar...is>    ¸üвÎÓëÌìÊý=%s£¬ÉÏ´ÎÌì=%s, ÖØÖôýÕ½³¡×Üʱ¼ä£¬²ÎÓ뽱״̬£¡sB    ¸üнøÈë¸ÃÕ½³¡ÌìÊý=%s£¬ÉÏ´ÎÌì=%s, ÖØÖÃÍæ¼Ò¸ÃÕ½³¡Ïà¹Ø×ÖµäÐÅÏ¢£¡(RR-RERLRRR+tDef_Notify_WorldKey_ServerDayR>R?R@RARBRCRDRFtGetPlayerGameFBDictByKeyt%ManorWarPlayerDict_LastEnterServerDaytSetPlayerGameFBDicttManorWarPlayerDict_StayTicktManorWarPlayerDict_GetExpTotalt!ManorWarPlayerDict_GetZhenQiTotalR_RSt__UpdateGetFlagBufftManorWarPlayerDict_RefreshTickt Sync_TimeTickt IPY_GameWorldt tttFlagTakeReR'(R(R3R\t    serverDayt lastJoinDaytlastEnterServerDaytcurFlagFamilyID((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyR[Es2                cCs>tƒs tStƒstStjdƒt|tjgƒdS(Ns__DoPlayerExitManorWar...(R*R#R RR-RgR@Rh(R(R3((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytDoExitFBns         cCstƒs dStƒsdStjƒ}tjƒjƒ}t|ƒ}|sNdS|t\}}}t|dƒd}|j    t
ƒ}|||kr—dS|j t
|ƒt }    |j    t ƒ}
||
|dkr    |
|d} t| tjƒ} |j t | ƒt}    ntjƒ} xftd| jƒƒD]O} | j| ƒ}|sLq+n|jƒdkrdq+nt||    |||ƒq+W|j    tƒr‘dS|j    tƒ}tƒ}|dkr||kr|j    tƒ}||}|j t|ƒ|tƒtdkrt|ƒqndS(Niièi(R*R RRLRR"Rt Def_TimeAwardtminR_RORMR#RPR@tDef_UpperLimit_DWordR'RWRXRYRZRit__WarPlayerProcessRRSR9RQRRRt Def_Time_WinRf(R3R\Rt manorWarInfot awardIntervalt    expFormatt zhenQiFormattrefreshIntervaltlastRefreshTickt isGiveAwardt lastAwardTickt    awardTickR]R^R(RztlastWinFamilyIDtcollectFlagTickt ownTickTotal((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt    OnProcess~sR                   
cCsûtjƒ}|jƒ}|j|tƒ}|dkr:dStd||ƒ}|j|t|ƒ|j|tƒ}    |    |}
t|
t    j
ƒ}
|j|t|
ƒt j |t    j ƒ} | |}
t|
t    j
ƒ}
t j|t    j |
ƒ|
tƒtdkr3t j |t    jƒdkr3t j|t    jdƒn|s=dS|jƒ} tj|ƒ} t|ƒ}t|ƒ}tj|ƒ}|j|ƒtj||ttdƒ|j|tƒ|}|j|tƒ|}|j|t|ƒ|j|t|ƒdS(NiièitManorWar(RRLRERlRsR`RnRoR}R@R~R>R?RCRBRtDef_Time_JoinAwardRDtGetLVR%tGetPlayerReExptevaltAddExptPlayerAddZhenQiR'RpRq(R(R‡RƒR„R3R\tplayerIDt refreshTicktaddTicktcurContinueTicktupdTicktallContinueTicktreLVtreExptaddExpt    addZhenQit playerControlttotalExpt totalZhenQi((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyRÉs@   
 
    cCstjd|ƒtjƒ}|jtƒr=tjdƒdS|jtƒ}tƒ}|dkrŽ|dkrv|}qŽ|dkrŽ|}qŽn||kr£tan|j    t
|ƒ|j    tdƒtj ƒj ƒ}d||g}tj ƒjdddd|t|ƒƒdS(Ns&ÁìµØÕ½ __DoWinLogic()...winFamilyID=%ss-    ÒѾ­Óлñʤ½á¹û£¬Ôò²»ÐèÒªÔÙ´¦Àí»ñʤÂß¼­...iis%stManorWarWinner(RR-RLR_RRSR9RVRURMRTRR"tGetPlayerManagertGameServer_QueryPlayerResulttlen(R8R\tgetFlagFamilyIDRŠRtsendMsg((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyRfs,                      c Cstƒs tStƒstStjƒ}|jƒ}|j|tƒ}|j|tƒ}|j|t    ƒ}|j
t ƒ}|rƒt nd}|j
t ƒ}    |    r¤tnd}
i|j
tƒd6|
d6|d6|j
tƒd6|d6|d6|d6} tj|| ƒdS(    NR tisOvertwinNametgetNametownTicktgetExpt    getZhenQitstayTick(R*R#R RRLRERlRpRqRoR_RSRVRTRURRRR>t Notify_FBHelp( R(R3R\R•R¬R­R®RzRªR8R©thelpDict((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytDoFBHelp4s(          cCs>tjdƒtƒstStƒs'tSt|tjgƒdS(NsOnLeaveFamily manorWar...(RR-R*R#R RgR@Rh(R(R3((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt OnLeaveFamilyWs         cCstƒotƒS(N(R*R (((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytCanManorWarAtkdscCstƒtdS(Niè(RtDef_Time_FlagPrepare(R(tcurNPC((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytGetFBPrepareTimexscCsnt|ƒsdS|jƒdkr6tj|dƒdStjƒ}tƒs_tj|dƒtS|jt    ƒrÂ|jt
ƒ}|dks›||jƒkr®tj|dƒntj|dƒdS|jt ƒ}||jƒkr÷tj|dƒtSt ƒ}|j ƒ|tkr*tj|dƒtSd}tƒ}xI|D]A}    tj|    }
tjƒj|
ƒ|jƒkr@|d7}q@q@W|tj|jƒdƒ} | |krÐtj|d|jƒ| gƒtStjƒjƒ}    t|    ƒ} | søtS| t} | |jƒkr.tj|d    | gƒtS| t}|jƒ}||krjtj|d
|gƒtStS( NitGeRen_chenxin_273188tGeRen_liubo_740826tGeRen_liubo_341290tGeRen_liubo_976459tGeRen_liubo_221749itGeRen_liubo_577188tGeRen_liubo_818877tCollect_liubo_817032(R*RiR%R&RRLR R#R_RRTRSRtGetFamilyMemberLVtDef_GetFlagNeedMemberLVRR+t(Def_Notify_WorldKey_ManorWarTempFamilyIDRRtDef_FamilyLVGetFlagCntDicttgett GetFamilyLVR"RtDef_CollectLVLimitRtDef_CollectFamilyMoneyCosttGetFamilyMoneyR'(R(RµR3R\tcurWinFamilyIDR¦tmanorCfgtcurFamilyGetCntt
warMapListRttempFamilyIDKeyt    canGetCntRtlimitLVtfamilyMoneyCostt familyMoney((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt OnCanCollect‚s^                !  
 
  cCsÀt|ƒsdStjd|jƒ|f|jƒƒtƒsCtStjƒ}|jt    ƒdkrhdS|j
ƒ}|s~dS|j ƒt j kr—dStjƒj|jƒƒ}tj|ƒ|jtƒ}|jƒ}|dkrêdS||krúdS|jƒ}t|ƒ}    |    stS|    t}
d|||
g} tjƒjdddd| t| ƒƒ|jt|ƒtƒ} || kr©|jt|ƒ|jtdƒnxQttjƒj ƒƒD]7} tjƒj!| ƒ}|séqÂnt"|||ƒqÂWt#j$dd|j%ƒ|j&ƒ||j'ƒgƒtjd| |f|jƒƒ| dkr|| krt#j(| d|gƒn|dkr°|| kr°t#j(|d|gƒn|j%ƒa)dS(Ns*ManorWar OnCollectOK...familyID=%s,tick=%sis%stManorWarGetFlagCosttFB_liubo_149184s)    lastWinFamilyID=%s,curFlagFamilyID=%stPK_liubo_293296(*R*RR-RiRER R#RLR_Rt GetActionObjtGetGameObjTypeRutgotNPCt GetNPCManagert GetNPCByIndextGetIndextAICommontClearPlayerPreparingRSR"RRÆR£R¤R¥RMR9RQRRRXRWRYRZRrR%t WorldNotifyt GetFamilyNamet GetPlayerNametGetNPCIDt FamilyNotifyRV(R(tnpcIDR3R\ttagObjRµRztnextFlagFamilyIDRRRÏR§RŠR^tplayer((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt OnCollectOKÍsd                 
          cCsc|jƒ|kr(t|tjgƒn7|jƒ|kr_|dkr_tj|tj|ƒndS(Ni(RiRgR@Rht SkillCommontAddBuffBySkillType(R(RzR3((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyRr!s
cCsStjƒjƒ}x:|D]2}| s|dkr8qntj|||ƒqWdS(Ni(RRtGetTickt    BuffSkilltDelBuffBySkillID(R(tbuffListR3t skillTypeID((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyRg0s  cCs„tjƒj|ƒ}|s0tjd|ƒdStj|ƒ}tj||ƒ}|dkradS|d}|j|ƒ}||fS(Ns&Êý¾Ý¿âÖÐûÓÐÕÒµ½¼¼ÄÜ£¬skillTypeID = %si(NN((NN(    Rt GetGameDatatGetSkillBySkillIDRtNoneRçt GetBuffTypetGetBuffManagerByBuffTypetFindBuff(R(Rít    findSkilltbuffTypet    buffTuplet buffManagertfindBuff((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt__FindBuffByID?s 
cCs\tjƒj|ƒ}tjd|jƒƒ|jƒdkrWtjd|jƒƒdStƒrŠtjd|jƒƒtj|dƒdS|j    t
j ƒ}|t dt jƒ@rÜtjd|jƒƒtj|dƒdStj|t
jƒ}|dkrtjd    |jƒƒdS|dkr=tjd
|jƒƒdSt|ƒ}|dkrytjd |jƒ|jƒƒdS|d kr‹dnd }|jƒ}tj|ƒ}    tƒt}
|
|} tƒt} t| |ƒ} tj|t
jdƒt|dƒtj|d | gƒtj|ƒ}|j| ƒtjd|| | f|jƒƒdS(NsÁìÈ¡ÁìµØÕù¶áÕ½²ÎÓë½±...is    Íæ¼ÒÎÞÕ½ÃË£¬²»¿ÉÁì½±!s    »î¶¯ÖУ¬²»¿ÉÁì½±!tGeRen_liubo_672958is+    µ±Èջ¿ªÆôºó±ä¸ü¹ýÕ½ÃË£¬ÎÞ·¨ÁìÈ¡½±Àø!tGeRen_liubo_193917s    ÒÑÁìÈ¡¹ý²ÎÓë½±!s    Ã»ÓÐÁìÈ¡²ÎÓ뽱ȨÏÞ!is     Õ½ÃËʤ¸ºÇé¿öδ֪!familyID=%stGeRen_liubo_243780s5    Õ½ÃËʤ¸º=%s,addFamilyActive=%s,addExp=%s£¬Áì½±OK!(ii(RR£RZtLogRERiR R%R&tNomalDictGetPropertyR@t!Def_Player_Dict_ForbidFamilyAwardtpowR+tDef_FamActivity_ManorR>R?RDt__GetFamilyWarResultRR‘RtDef_JoinAwardFamilyActiveListtDef_JoinAwardExpListR’RBRFR“(R^t
clientDataR3R(t forbidStatetjoinAwardStatetfamilyWinStatet
awardIndexR›RœtfamilyActiveAwardListtaddFamilyActivet expAwardListRRŸ((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytOnGetManorWarJoinAwardVsR           
       c
Cs&tjƒj|ƒ}|j}|jƒ}|dkrPtjd|jƒƒdStƒrƒtjd|jƒƒtj    |dƒdS|j
t j ƒ}|t dtjƒ@rÕtjd|jƒƒtj    |dƒdStj|t jƒ}|t d|ƒ@r'tjd|jƒƒtj    |d    ƒdSd}d}    tƒ}
xh|
D]`} tj| } tjƒj| ƒ|krwqCn|d
7}tj| } tjƒj| ƒ}    qCWtjd ƒ}||kràtjd ||jƒƒdS||\}}}||kr&tjd |||f|jƒƒdS|}|jƒ|    krK||}ntj|tjƒ}t|ƒ|kr†tj    |dƒdS|t d|ƒB}t ||ƒtjtj!g}x9|D]1\}}}t"j#|||||t$dt$ƒq¿Wi|d6|    d6|d6}t%j&|d|ƒdS(Nis    Íæ¼ÒÎÞÕ½ÃË£¬²»¿ÉÁì½±!s    »î¶¯ÖУ¬²»¿ÉÁì½±!Rúis+    µ±Èջ¿ªÆôºó±ä¸ü¹ýÕ½ÃË£¬ÎÞ·¨ÁìÈ¡½±Àø!Rûs#    ÒÑÁìÈ¡¸ÃÁìµØµ±ÈÕ½±Àø£¬ÎÞ·¨ÁìÈ¡!tPK_liubo_341290itManorWarDailyAwardsE    Ã»ÓÐÅäÖÃÁìµØ¶ÔÓ¦½±Àø£¬Çë¼ì²éManorWarDailyAward.txt£¡awardIndex=%ssD    Õ¼ÁìÁìµØ¸öÊý²»×ã, ·¨ÁìÈ¡!needWinCnt(%s) > winCnt(%s),familyID=%stGeRen_chenxin_998371t showSysInfot
AwardIndext WinLeaderIDt AwardItemListRŽ('RR£RZtMapIDRiRýRER R%R&RþR@RÿRR+RR>R?t"Def_PDict_ManorWarDailyAwardRecordRR6RRt*Def_Notify_WorldKey_ManorWarFamilyLeaderIDRRRt
ItemCommontGetItemPackSpaceRutrptItemR¥R:t rptAnyWheret ItemControlertGivePlayerItemR'tDataRecordPacktDR_FuncGiveItem(R^RR3R(R    tfamilyIDRt awardRecordtwinCntt winLeaderIDt    mapIDListRR7t leaderIDKeytmanorWarDailyAwardDictt
needWinCntt awardItemListtleaderItemExListt totalItemListt    packSpacetupdAwardRecordt packIndexListtitemIDt    itemCounttitemBindt addDataDict((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytOnGetManorWarDailyAward–sn                
             &cCs$tj|tj|ƒt|ƒdS(N(R>RBR@RRG(R(trecord((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyR:âs
cCsˆ| rtƒs"|jƒdkr&dStƒ}xR|D]J}tj|}tjƒj|ƒ}|dkr6||jƒkr6dSq6WdS(Niii(R RiRR+R6RRR(R(t
resultTypeRËRR7R8((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyRîs"      cCsutjƒ}|jƒ||_t||ƒ|_tj|tj    ƒ|_
tj|tj ƒ|_ t j||ƒdS(N(tChPyNetSendPackttagMCManorWarResulttCleartTypeRtResultR>R?R@RCtJoinTimeRDt    JoinAwardt NetPackCommont SendFakePack(R(R4tmanorWar((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyRFs 
    cCsBtjƒ}|jƒtj|tjƒ|_tj    ||ƒdS(N(
R5ttagMCManorDailyAwardR7R>R?R@Rt AwardRecordR<R=(R(t
dailyAward((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyRGs  
    cCs‘tj|jƒ|jƒƒtjkrAtjd|jƒƒdSt    ƒ}tj
ƒ}i}d}xe|D]]}|j tj |ƒ}|s‘qin|j |dƒd}|||<||kri|}qiqiW|jƒ}    |j |    dƒ}
||
} | dkr%tjd| |    |f|jƒƒdStjd| |    |f|jƒƒtjdƒ} x3| jƒD]%\} }tj| t|ƒ|ƒqdWdS(Ns·ÇÁìµØPKÇøÓò, ²»ÏíÊܼӳÉ!iisS²»ÏíÊÜÁìµØÕ½ÊôÐÔ¼Ó³É! Óë×î¶àÕ¼Áì¸öÊý²îֵΪ: %s, familyID=%s,lastFamilyWinCntDict=%ss,ÁìµØÕ½ÊôÐÔ¼Ó³É: diffValue=%s,familyID=%s, %stManorWarAttrPrize(tGameMaptGetAreaTypeByMapPostGetPosXtGetPosYR+tgatManorRR-RERRRt(Def_Notify_WorldKey_ManorWarLastFamilyIDRÃRiRRtitemsR%tCalcAttrDict_TypeR’(R(t allAttrListRËt gameWorldMgrtlastFamilyWinCntDictt    maxWinCntRt lastFamilyIDtupdCntR t    curWinCntt    diffValuet attrPrizeDicttattrNamet
attrFormat((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pytCalcManorWarFamilyAttrPrizes8'      
 
         cCsdS(N((R(((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyR<<s(Xt PlayerFamilyR5RuR<R%RR+RçRRRÛR@R>RRRCRêR,RRNRORPRQRRRSRTRRmRsRoRpRqtDef_Action_CloseRRR0RXRaR´R€RRRRÀRÂtDef_LeaderWingSkinInfoRÅRÆR|RURVRRRR RðR*R5R9R;RKR.ReR/R1RjR[R{RRRfR±R²R³R¶RÑRæRrRgRùR R2R:RRFRGRVR<(((st.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_ManorWar.pyt<module>s”                     '                                              )                      )        K    < /    #             
    K    T                @    L                 $