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
Mt4\c@sQddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
dZ dZ dZ d„Zd„Zd„Zd„Zd    „Zd
„Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zid„Zd„Z d„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.pytGodAreaOnLogin5scCsAtjdƒ}||}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 __IsAngerFullJscCstS(N(R    (RR%tlineIDR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnEnterFBEventVscCs|S(N((RR%tlineIdtipyEnterPosInfoR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnGetFBEnterPosascCs9tjtjdƒ}|d \}}|j||ƒdS(Nii(RtGetFBLineEnterPosInfoRRtResetPos(Rt rebornPlaceRR1tposXtposY((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnResetFBRebornPlacePosgscCstS(N(R    (R((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    OnCanOpenpscCstjS(N(t IPY_GameWorldt    cmeAccept(taskR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnChangeMapAskwscCs{tj|ƒ}tjd|ƒ|sAtjƒjƒ}tj||ƒ}|d}|sktj|ƒdStj    |j
ƒƒtj |ƒtj ||ƒtj |tjdƒtj |tjdƒtjd|jƒgƒtj|tjdtjƒtj|tjdƒtj|tjdƒtj|tjdƒn)t |ƒrjtjdƒ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_GodAreatPlayerWeekPartytAddWeekPartyActionCnttDef_WPAct_GodAreaR-R (RRt hadDelTicketR%t    delResulttisOK((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    DoEnterFBs0
     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 stepTimeListRR]t playerManagertcurTimetindexRtplayerIDtfullTickt playerControlt    leaveTickR,tlastAddAngerTimet
passSecondRV((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyRoõsL     
 
("RRRR:RR RKRNRQRHRwRsRRR R(R#R-R/R2R8R9R=RWRXRYRZR[R^R`RjR RqRo(((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt<module>sB