xdh
2018-12-22 45da08bbeb616be1bc05ec7ebe37dba16cef2b24
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
\Щ[c
@sddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z d„Z d„Z dd„Zd„Zd„Zd„Zd    „Zd
„Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z!d„Z"d„Z#d„Z$d„Z%d„Z&d„Z'd„Z(d „Z)ej*e+e+d!„Z,d"d"ej*e+e-e-de+gd#„    Z.d$„Z/d%„Z0d&„Z1d'„Z2d(„Z3dS()iÿÿÿÿNcCsÀtjƒjƒdkrRtjƒjƒtjkrRtjƒjƒtj    krRdStj
ƒ}|j ƒtj krwdStj ƒ}x6td|jƒƒD]}t||j|ƒ|ƒq™WdS(Ni(t    GameWorldtGetMapCopyPlayerManagertGetPlayerCounttGetMapt GetMapFBTypet IPY_GameWorldtfbtNulltGetMapIDtChConfigt&Def_NoPlayerNeedProcessRefreshPointMapt GetGameWorldt GetOpenStatetfbosOpent GetNPCManagertrangetGetCustomNPCRefreshCountt__ProcessNPCRefreshtGetCustomNPCRefreshAt(ttickt    gameWorldtgameNPCti((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pytProcessAllNPCRefresh"s  cCsJd|jƒ}tƒj|ƒr6tƒ|||ƒSt|||ƒdS(Ns NPCRefresh_%d(tGetRefreshMarktglobalsthas_keyt__NPCCommonRefresh(t
pointIndext
npcRefreshRtfuncName((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyR<s
icCs…|jƒ}xrt|jƒƒD]^}|j|ƒ}tj|ƒ|jtj|ƒ|jtj    |ƒtj
|ƒj |ƒqWdS(N( RRtGetNewBornNPCCounttGetNewBornNPCAtt    NPCCommontInitNPCtSetDictRtDef_NPC_Dict_FromRefreshMarktDef_NPC_Dict_FromRefreshValuet
NPCControltDoNPCRebornCommLogic(RRtvaluet refreshMarkRtcurNPC((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt__InitNewBornNPCOs  cCs t||ƒS(N(t__RefreshMixBoss(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_63bscCs t||ƒS(N(R+(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_64cscCs t||ƒS(N(R+(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_65dscCsytjƒ}|jtjƒ}|jtjƒ}|jƒ}tjdƒ}|j    |ƒ}|sddS|\}}    }
| sš||    dksš||    dkrždStjƒj
ƒ} | dkrÀdS|j ƒdkrÖdStj ƒ} | j | jf|
krþdStj|} |j| ƒ}||dkr.dS|j| |ƒ|j|tjdtƒt||ƒtjd|ƒdS(Nt MixBossInfoiii<iès?__RefreshMixBoss() refresh mix server boss npcId(%s) success!!!i`ê(RR
tGetGameWorldDictByKeyt ShareDefinetDef_Notify_WorldKey_IsMixServert Def_Notify_WorldKey_MixServerDayRt ReadChConfigtGetEvalChConfigtgett    GetLineIDtGetCounttGetCurrentTimethourtminuteRtMap_NPC_WorldBossLastReBornTicktSetGameWorldDicttRefreshtDef_SuperBossAngryCounttFalseR*tDebugLog(RRRt isMixServertmixDayR(t mixBossInfot curBossInfotnpcIdtmixTimetrefreshTimeListtlineIdtcurTimetrefreshTickKeytlastRefreshTick((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyR+js8  '    cCs t||ƒS(N(t__RandomMapNPC(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_82¥scCs t||ƒS(N(RM(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_83¦sc CsM|jƒ}tjƒ}tj|}tj|}tj|}|j|ƒ}|j|ƒ}|j|ƒ}    |dkr|dS|jƒ}
|    |
} | dkr¹tj    d||    fƒdSt
j ddƒdkrætj    d|ƒdS|j |tj dtƒt||ƒtd|dƒ} |j|| ƒtjd||| fƒdS(NisCµØÍ¼Ëæ»úË¢¹Ö ±¾µã×î´óË¢¹ÖÊýÒÑÂú£¬ÎÞ·¨ÔÙË¢! refreshMark=%s,maxCnt=%sis5µØÍ¼Ëæ»úË¢¹Ö ¸ÃË¢¹ÖµãûÓÐÃüÖУ¬²»Ë¢¹Ö! refreshMark=%ss+µØÍ¼Ëæ»úË¢¹Ö mark=%s,npcID=%s,updNeedCnt=%s(RRt    GetGameFBRtMap_NPC_RandomMapNPCIDtMap_NPC_RandomMapNPCNeedCnttMap_NPC_RandomMapNPCPerMaxCnttGetGameFBDictByKeyR8RAtrandomtrandintR>R?R@R*tmaxt SetGameFBDicttLog( RRR(tgameFBtnpcIDKeyt
needCntKeyt perMaxCntKeytnpcIDtneedCnttmaxCnttcurCntt    curCanCntt
updNeedCnt((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyRM¨s0       
  cCs t||ƒS(N(t__RefreshTDFBNPC(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_84ÔscCs t||ƒS(N(Rd(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_85ÕscCs t||ƒS(N(Rd(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_86ÖscCs t||ƒS(N(Rd(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_87×sc Csý|jƒ}tjƒ}tj|}|j|ƒ}|dkrDdS|jtj|ƒ}|jtj|ƒ}tj|}|j|ƒ}    |    r–dS|jtj    |ƒ}
|jtj
|ƒ} d|
} t j | ƒ} | | kr|j |dƒtjd| | |fƒdS| | }t|ƒ}||dkri|j |dƒtjd| | |fƒdSt j d|
ƒ}|t|ƒkr¹|j |dƒtjd| |fƒdS||}||}|jtj|ƒ}|tj}|dkr|||krdS|jƒ}d}|dkrN|dkrN||tj7}n|dkrt||jƒ|krtdS||}tjd|
| ||||fƒxm|D]e}|d}|d}t|ƒd    krÝtjn|d
}|j|||tƒt|||
ƒq¨W||dk}|t|ƒdk}|r›|r›|j |dƒ|j |dƒ|j tj|dƒtjd |ƒtj|ƒn^|rÞ|j |dƒtjd |||fƒtj||ƒn|j tj||dƒdS( Nis TD_%s_NPCIDs<TDË¢¹Ö±ê¼Çkey²»´æÔÚ: signKey=%s not in fileName=%s, rMark=%sis;TDË¢¹Ö²¨ÊýÅäÖò»´æÔÚ: fileName=%s,signKey=%s,bigWheelNum=%ss    TD_%s_Cfgs?TDË¢¹Ö×ܲ¨ÊýÓ벨ÊýÅäÖÃÐÅÏ¢ÌõÊý²»¶ÔÓ¦: fileName=%s,totalWheel=%ssKTDË¢¹Ö£ºfileNum=%s,signKey=%s,rMark=%s,bWheelNum=%s,sWheelNum=%s,npcList=%siis%    ËùÓйÖË¢ÐÂÍê±Ï£¬¹Ø±ÕË¢¹Ö!rMark=%ss4    ×îºóһС²¨¹ÖË¢ÐÂÍê±Ï(%s - %s)£¬ÔÝͣˢ¹Ö!rMark=%s(RRRPRtMap_TDNPC_RefreshStartTickRTtMap_TDNPC_RefreshBigWheelNumtMap_TDNPC_RefreshSmallWheelNumtMap_TDNPC_CurWheelIsOvertMap_TDNPC_RefreshFileNumtMap_TDNPC_RefreshSignKeyR4R5RXtErrLogtlentMap_TDNPC_CurWheelStartTicktFBCommontDef_TDCfg_PrepareTimeR8tDef_TDCfg_SmallWheelSpacetGetRefreshTickRAtDef_SummonNPC_Angry_CountR>R@R*tMap_TDNPC_AllWheelIsOvertFBLogictOnTDAllWheelOvertOnTDCurWheelOver(RRtrMarkRZt startTickKeyt    startTickt bigWheelNumt smallWheelNumtcurWheelIsOverKeytcurWheelIsOvertfileNumtsignKeytfileNametrefreshNPCDictt totalNPCListt
totalWheeltrefreshCfgListtbigWheelNPCListt wheelInfoListtcurWheelStartTickt prepareTimeRat refreshTicktcurRefreshNpcIdListtrefreshNPCInfotcurNpcIdt
refreshCnttangryCnttisLastBigWheeltisLastSmallWheel((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyRdÛs„     
 
 
 
  "
     
 
% cCst||ƒdS(N(t__DoRefreshWorldBoss(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_90HscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_91IscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_92JscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_93KscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_94LscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_95MscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_96NscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_97OscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_98PscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt NPCRefresh_99QscCst||ƒdS(N(R•(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pytNPCRefresh_100Rsc    Csd}tjƒjƒ}tjddiƒ}||krStd||dƒ}ntj|ƒ}|j|ƒ}tjƒ}x|t    |j
ƒƒD]h}|j |ƒ}|j ƒ}|j tj|ƒr|jtj|dƒtjd||fƒqqWdS(NitMapLineiis?ÖØÖûbossË¢¹ÖµãË¢¹Ö¸öÊý: activityLineIndex=%s,refreshMark=%s(RRRt IpyGameDataPYtGetFuncEvalCfgRWRtGetGameFBByFbIndexR txrangeRRRRTRtMap_NPC_ActivityBossRebornCountRXRA(    tactivityLineIndextmapIDtactivityMapLineDictRRZRRRR(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pytResetActivityBossRefreshCountUs   cCsxtjƒjƒ}|jƒ}tjƒjƒ}d\}}d}|tjkrftj    ƒ}d}    nlt
j di|d6|d6dt ƒ}
|
s–dS|
j ƒ}    |
jƒ}|
jƒ}|
jƒ}|
jƒ}| rä|     rädStjƒ} tjƒ} t } |dkr?tj|}| j|ƒr0dnd}t} n+|dkrNntj|}| j|ƒ}d}d}t
jd    diƒ}||kr±td||dƒ}n| rñ| jtj|ƒ}|}|r||krd}qn!|r||krd}d}    ntj|ƒo$|}d}|jƒdkrQ|j dƒ}n|rÂ|rƒ|jƒ|krsdStj!|ƒn||kr©| r©|tjkr©dS| r¥|dkr¥dSnã|rU|jƒ|krð|rðt"|ƒrðdS|jƒ|    krdS|jƒ|krE| rEtj#d
|ƒt$j%d |gƒntj!|ƒn| jtj&|ƒ}t
j'd ƒ}|||krŽdS| j(tj&||ƒ|r±|n|    }|sÁdStj)|}| j|ƒ}||dkrñdS|j*|tj+dt ƒt,||ƒ| j(||ƒ| rQ|rQ| j(tj||dƒntj-d|||||f|ƒdS(sg·Ç·ÖÁ÷µØÍ¼bossÖ»ÔÚÒ»ÏßË¢
       ·ÖÁ÷µØÍ¼bossÿÌõÏß¶¼Ë¢Ð£¬ÆäËû·ÖÁ÷Ïß·bossÔÚûÈË´òµÄÇé¿öÏÂͬÉúͬËÀ
    itBOSSInfot RefreshMarktMapIDt    isLogNoneNiiR¡s/»î¶¯boss£¬»î¶¯½áÊø£¬ÏµÍ³ÉèÖÃbossËÀÍö£¡bossID=%stFairyGrabBossNoDeadtBossStoneDelayTimei2ièsUBossRefresh mapID=%s,rebornLineID=%s,refreshMark=%s,rebornNPCID=%s,isNeedShunt=%s,OK!(iiiPÃ(.RRRRR
R7RtDef_FBMapID_SealDemontGameLogic_SealDemontCurFBLineBOSSIDR¢tGetIpyGameDataByConditionR@t GetStoneNPCIDtGetNPCIDtGetRelatedTypet GetRelatedIDtGetIsNeedShuntRPR1t$Def_Notify_WorldKey_DailyActionStateR0tTruet'Def_Notify_WorldKey_GameWorldBossRebornR£RWRTR¦R tIsMapNeedBossShunttNoneR8tGetAtt    SetDeadExtIsShuntBossNeedProcessRYt PlayerControltFBNotifytMap_NPC_WorldBossDeadTickt
GetFuncCfgRXR<R>R?R*RA(RRR¨R(tlineIDt relatedTypet    relatedIDt isNeedShunttbossIDt
stoneNPCIDtipyDataRZt gameWorldMgrtisActivityBosst    actionKeytrebornBossStatetbosskeyt rebornLineIDtactivityLineIDR©tactivityBossRebornCountR)t bossDeadTicktbossStoneDelayTimet rebornNPCIDtkeytlastRebornTick((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyR•os¨       &                     "$       cCstS(sH·ÖÁ÷bossÊÇ·ñÐèÒª´¦Àí
        ÎÞÉËѪ¡¢³ðºÞ¡¢Ã»ÈË¿´µ½Ëû¡¢Ëûû¿´µ½±ðÈË
    (R»(R)((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyRÁîscCs[tjd|ƒ}|sdS|jƒ}|rA||jƒfgS|jƒ}|rW|SdS(NtNPCCustomRefresh(R¢tGetIpyGameDatatGetRefreshNPCIDtGetTotalMaxCounttGetNPCIDCountList(t    refreshIDRÌR^t npcCountList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pytGetNPCRefreshCountLists  c Cs‚tjd|ƒ}|sdS|jƒ}|jƒ}g}|rL|g}n6|jƒ}|jƒ}    |rs|}n|    r‚|    }n|stjd|ƒdSd}
t    |ƒdkrtj
ƒ} xVt dƒD];} t j |ƒ} | jtj| dfƒsÎ| }
PqÎqÎWn
|d}
|
dkr;tjd|ƒdSt|
||jƒ|jƒ|||jƒ|jƒ|jƒ|ƒ
dS(NRÚs*Ë¢¹Ö±êÊÔµãûÓÐÅäÖÃҪˢеÄNPCIDÐÅÏ¢£¡ID=%siidis&ÎÞ·¨»ñµÃÖ¸¶¨µÄË¢¹Ö±êÊԵ㣡refreshID=%s(R¢RÛtGetRefreshMarkInfoRÜtGetRandNPCIDListRÞRRoR¾RpRPR¥RUtchoiceRTRtDef_RMark_NPCIDt SetNPCRefresht GetMaxCountRÝtGetIsLineOneOnlyt GetIsRepeatRu(RßtangrytisStarttrefreshRightNowRÌt    rMarkListR^t    npcIDListt randNPCIDListRàR{RZt_trandMark((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pytSetNPCRefreshByIDs@               
 !"ic  Cs²tjƒ} t|tƒsdSt|
ƒ} | dkrðtjƒ} g}xNtd| jƒƒD]7}| j|ƒ}|j    ƒ|
kr_|j
|ƒq_q_Wt|ƒ}| j t j |ƒx4t|ƒD]#\}}| j t j||ƒqÆWnt|ƒ}| j t j||ƒx~t|ƒD]p\}}t|tƒrJ|}d}n |\}}| j t j||f|ƒ| j t j||f|ƒq W| j t j||ƒ| j t j||ƒ| j t j|dƒ| j t j||ƒ| j t j|t|ƒƒ| j t j||ƒ| j t j|t|ƒƒ|rTt|ƒntjd||||||||||    f
ƒ|r®|    r®tjƒjƒ}t|ƒndS(Nis~ÉèÖñêʶµãÐÅÏ¢£ºmark=%s,npcList=%s,max=%s,tMax=%s,angry=%s,start=%s,lineOneOnly=%s,repeat=%s,refreshTick=%s,refreshRightNow=%s( RRPt
isinstancetlistRpR RRRRtappendRXRtDef_RMark_TotalForcePointCntt    enumeratetDef_RMark_ForceRefreshPointtDef_RMark_NPCListLentintRåtDef_RMark_NPCIDCnttDef_RMark_MaxCnttDef_RMark_TotalMaxCnttDef_RMark_RefreshCnttDef_RMark_AngryCounttDef_RMark_LineOneOnlytDef_RMark_RefreshTicktDef_RMark_IsRepeattStartNPCRefreshRYR
tGetTickR(R{RîR`t totalMaxCntRêRët isLineOneOnlytisRepeatRRìtisForceRefreshListRZtpointCntRtrecordPointListRRttotalCnttindexRtnpcIDLentnpcInfoR^tnpcCntR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyRæHsN           !     &  cCs'tjƒ}|jtj|dƒdS(Ni(RRPRXRtDef_RMark_State(R{RZ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyRzs cCsbtjƒ}|jtj|ƒs&dS|jtj|dƒtj||ƒtjd|ƒdS(NisCloseNPCRefresh rMark=%s(    RRPRTRRRXRxtOnCloseNPCRefreshRA(R{RRZ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pytCloseNPCRefresh‚s cCsOtjƒ}x<t|jƒƒD](}|j|ƒ}t|jƒ|ƒqWdS(N(RR R¥RRRR(RRRR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pytCloseFBCustomRefreshŒs
 cCstjƒjtj|ƒS(N(RRPRTRRþ(R{((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pytGetHadRefreshCnt”sc Csõtjƒ}|jƒ}tj|}|j|ƒdkr>dStj|}|j|ƒrvtjƒjƒdkrvdS|jtj    |ƒ}|jtj
|ƒ}|jtj |ƒ}    |jtj |ƒ}
|jtj |ƒ} |jtj|ƒ} |jtj|ƒ} |jtjƒ}|dk}| dkr>dSg}||jƒ}| spt||    |
ƒ}n|rÂx1t|ƒD]#}|j|jtj|ƒƒqƒW||krÂ|}qÂn|dkrô|jƒdkrð|jdƒndS|jƒ}|dkr|j|ƒnt}|dkrž||jƒ|dkrž|r—||kr—|jƒdkr—|jtj|ƒdkr—|jtj|dƒxE|D]=}|jtj|ƒ}|sÌdStjd||fƒq¦W|jtj|dƒ|jtjƒd}|jtj|ƒ|t|ƒkr›xX|D]M}|jtjdƒ|jtj|dƒ|jtj|dƒt}q@Wq›q?dSn¡|r?|jtjdƒ|jtj|dƒ|jtj|dƒ|jtj ƒd}|t|ƒkr)|jtj dƒt}q?|jtj |ƒn|r|jtj!ƒd}|jtj!|ƒt"j#||ƒn|jtj$|dfƒ}|jtj%|dfƒ}|dkrsxÏt| ƒD]š}|jtj$||fƒ}|jtj%||fƒ}|dkr"qÒntjd||| |fƒ|j&|| |tƒt'||ƒ|
|7}
qÒWn$| dkr'xt|ƒD]”}t(j)d| dƒ}|jtj$||fƒ}|dkrÖqŒntjd||| dfƒ|j&|| dtƒt'||ƒ|
d7}
qŒWnp|jtj$|dfƒ}|sMdStjd||| |fƒ|j&|| |tƒt'||ƒ|
|7}
| s·|jtj ||
ƒntjd|
|    fƒ|
|    krñ| rñt*||ƒndS(    Niiièsͨ¹ý£¡£¡£¡£¡---%s--mark:%ss7Ö¸¶¨Ë¢¹Ö£ºrMark=%s,npcID=%s,angryCount=%s,refreshCnt=%ss7Ëæ»úË¢¹Ö£ºrMark=%s,npcID=%s,angryCount=%s,refreshCnt=%ss7µ¥Ö»Ë¢¹Ö£ºrMark=%s,npcID=%s,angryCount=%s,refreshCnt=%ssÒÑˢйÖÎï=%s,total=%s(+RRPRRRRTRR
R7RRüRýRþRùRÿRRöR8tminR¥RõRøRutSetRefreshTickR@tDef_RMark_HasRefreshPointRXtDef_RMark_HasRecordPointRAtDef_RMark_PassCntRpR»tDef_RMark_TimePassCnttDef_RMark_RefreshStepRxtOnPointRefreshRåRûR>R*RURVR(RRRRZR{t rMarkStateKeytisLineOneOnlyKeyRt    curMaxCntRR‘t
npcListLent
angryCountRt totalForceCnttisForcet    indexListt
needNPCCntR RLtneedSyctpointtmarktpassCnttpoint2t timePassCnttrefreshR^RRtnpcIndex((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyR›sÔ    '  !     &.                         
(4RR R1R4R²RÂRR¢RRrRxRURRR*R,R-R.R+RNRORMReRfRgRhRdR–R—R˜R™RšR›RœRRžRŸR RªR•RÁRátDef_NormalNPCAngryCountR»RòR@RæRRRRR(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCCustomRefresh.pyt<module>sb                                     ;            ,                    m                                                            8 1