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
Ÿv÷[c@sEddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    dZ
dZ dZ d„Z d„Zd„Zd„Zd    „Zd
„Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zid„Zd„Zd„Z dS(iÿÿÿÿNtLastGodAreaCheckTicktFBPlayerDict_LeaveTicktFBPlayerDict_FullTickcCsç|jtjƒ}tjddƒ}||kr4tSt|||ƒ}tj|tj|ƒt    |dƒ||krÝt
j tj ƒd}|j tjd|dtƒtjƒjƒ}tjƒj|jƒt|ƒn||kS(NtAngryAddiiiè(tNomalDictGetPropertytChConfigtDef_Player_Dict_GodArea_Angert IpyGameDataPYt
GetFuncCfgtTruetmint PlayerControltNomalDictSetPropertytDoFBHelptFBCommontGetFBLineStepTimetDef_FBMapID_GodAreat Sync_TimeTickt tttDeadTimet    GameWorldt GetGameWorldtGetTickt    GetGameFBtSetPlayerGameFBDicttGetIDR(t    curPlayertaddCnttangertmaxAngertupdAngertdeadTimettick((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt__AddGodAreaAnger s   "cCsxtjƒjƒ}|tjkr;tj|tjdƒdStj|ƒ}t    ||ƒd}tj
d||fƒdS(Nis4    ¸±±¾ÀïOnLogin, leaveServerSecond=%s, addPoint=%s( RRtGetMapIDRRR R RtGetPlayerLeaveServerSecondtTimeAddGodAreaAngertDebugLog(RtmapIDtleaveServerSecondtaddPoint((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytGodAreaOnLogin4scCsAtjdƒ}||}t}|r7t||ƒ}n||fS(NR(RRtFalseR (RtsecondtperAngerNeedSecondR'tisFull((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyR#?s 
cCs.|jtjƒ}tjddƒ}||kS(NRi(RRRRR(RRR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt __IsAngerFullIscCstS(N(R    (RR%tlineIDR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnEnterFBEventUscCs|S(N((RR%tlineIdtipyEnterPosInfoR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnGetFBEnterPos`scCs9tjtjdƒ}|d \}}|j||ƒdS(Nii(RtGetFBLineEnterPosInfoRRtResetPos(Rt rebornPlaceRR1tposXtposY((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnResetFBRebornPlacePosfscCstS(N(R    (R((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    OnCanOpenoscCstjS(N(t IPY_GameWorldt    cmeAccept(taskR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnChangeMapAskvscCsetj|ƒ}tjd|ƒ|s+tjƒjƒ}tj||ƒ}|d}|sktj|ƒdStj    |j
ƒƒtj |ƒtj ||ƒtj |tjdƒtj |tjdƒtjd|jƒgƒtj|tjdtjƒtj|tjdƒtj|tjdƒn)t|ƒrTtjdƒtj|ƒnt||ƒdS(Ns#    ½ø¸±±¾DoEnterFB hadDelTicket=%sitElderGod_SomeInis%    ¸±±¾ÀïµôÏßÖØÉÏ Å­ÆøÒÑÂú£¬Í˳ö¸±±¾(RtGetHadDelTicketRR$RR!tDelFBEnterTicketR t PlayerLeaveFBtClearAreaRewardRecordRtSetHadDelTickettAddEnterFBCountR RRt(Def_Player_Dict_GodArea_LastAddAngerTimetFBNotifytGetNamet EventReportt WriteEvent_FBRt CME_Log_StarttPlayerBossReborntAddBossRebornActionCnttDef_BRAct_GodAreatPlayerFairyCeremonytAddFCPartyActionCnttDef_PPAct_GodAreaR-R (RRt hadDelTicketR%t    delResulttisOK((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    DoEnterFB~s.
     cCsdS(N((RR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytDoExitFBscCsdS(N((RR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytDoPlayerLeaveFB¥scCs~tj|dƒtj|tjdƒtj|tjdƒtjƒj    |j
ƒt dƒtjƒj    |j
ƒt dƒdS(Ni( RRCR R RRRERRRRRR(R((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytDoPlayerChangeMapLogic©s cCstS(N(R    (((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnPlayerRebornµscCsFt|ƒrBtjtjƒd}|jtjd|dtƒndS(Niiiè(    R-RRRRRR:t tttLeaveMapR    (Rt    leaveTime((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt DoPlayerDead½s  cCs#tjddƒ}t||ƒdS(NRi(RRR (RtplayerRebornTypeR'((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnPlayerRebornOverÅs cCsn|jƒ}tjd|ƒ}|s(dS|jƒ}t||ƒtj|ƒrjt|di|d6ƒndS(Nt ElderGodAreaitKillBOSS(tGetNPCIDRtGetIpyGameDataNotLogtGetMonsterAngerR Rt
IsGameBossR (RtcurNPCtnpcIDtipyDataR'((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytDoFB_DropOwnerÑs   cCsG|jtjƒ|tj<tjd||jƒƒtj||ƒdS(Ns helpDict=%s(    RRRRt
Help_scoreRR$Rt Notify_FBHelp(RRthelpDict((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyR áscCs!t|ƒtjd|tƒdS(NtGodAreaExpAward(t__DoLogic_CheckAngerRtDoLogicAreaRewardR    (R((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    OnProcessís
cCs@tjƒ}|jtƒ}tjddƒ}|||dkrEdS|jt|ƒtjt    j
ƒ}|\}}tj ƒ}t t j ƒƒ}x¨td|jƒƒD]‘}    |j|    ƒ}
|
jƒ} | sÔq§nt|
ƒrÃ|j| tƒ} | r^|| |dkr^|j| tdƒ|j| t|ƒtj|
ƒ} | jƒtjd| ƒn|j| tƒ}|r§|||dkr§tj|
ƒ|j| tdƒtjd| ƒq§q§nt}|
jt    jƒ}|r"||}t|
|ƒ\}}|r8tj|
t    j|ƒq8q§tj|
t    j|ƒq§WdS(NRiièis    Ê±¼äµ½ ÉèÖÃËÀÍö s    Ê±¼äµ½ TÈË ( RRtGetGameFBDictByKeytMap_FBDict_LastGodAreaCheckTickRRt SetGameFBDictRRRRtGetMapCopyPlayerManagertintttimetrangetGetPlayerCounttGetPlayerByIndext GetPlayerIDR-tGetPlayerGameFBDictByKeyRRRR tSetDeadR$RAR)RRER#R (RtgameFBt lastAwardTickt checkIntervalt stepTimeListRRZt playerManagertcurTimetindexRtplayerIDtfullTickt playerControlt    leaveTickR,tlastAddAngerTimet
passSecondRS((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyRlósL     
 
(!RRRR:RR RKRNRHRtRpRRR R(R#R-R/R2R8R9R=RTRURVRWRXR[R]RgR RnRl(((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt<module>s@