hzr
4 天以前 f6d3d3bd9b136407c1983ca3638afe3cb77ad1f2
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
Aè6gc@swddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZedƒ\ZZZZ dZ!dZ"iZ#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„Z5e6e6gd„Z7d„Z8d„Z9d„Z:dd„Z;dd„Z<d„Z=d„Z>dS(iÿÿÿÿNitFBPlayerDict_EncourageLVtFBPlayerDict_RankcCstS(N(tTrue(t    curPlayertmapIDtlineIDttick((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytOnEnterFBEvent>scCs|S(N((RRtlineIdtipyEnterPosInfoR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytOnGetFBEnterPosBscCstjS(N(t IPY_GameWorldt    cmeAccept(taskR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytOnChangeMapAskJscCstjt|ƒdS(N(tFBCommont    SetFBSteptFB_Step_Fighting(R((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytOnOpenFBNsc
CsV|jƒ}tjƒjƒd}tjƒjƒjƒ}tjd||f|ƒtjƒ}|jƒt    krƒt
j |ƒdSt j |ƒ}|st j|ƒtjj|dƒ|dkrïtjdƒ\}}tj|||ƒntj|tjdtjƒn|j|tƒ}    |    dkrBt j|t|ƒnt j||    ƒdS(Nis"DoEnterFB...playerCnt=%s,lineID=%sitSealDemonFirstPos(t GetPlayerIDt    GameWorldt GetGameWorldt GetPropertyIDtGetMapCopyPlayerManagertGetPlayerCounttDebugLogt    GetGameFBt    GetFBStepRt PlayerControlt PlayerLeaveFBRtGetHadDelTickettSetHadDelTickett
PyGameDatatg_fbPickUpItemDicttpopt IpyGameDataPYtGetFuncEvalCfgtResetPlayerPost EventReportt WriteEvent_FBtChConfigtDef_FBMapID_SealDemont CME_Log_StarttGetPlayerGameFBDictByKeyRtAddFbEncourageBufftSendFBEncourageInfo(
RRtplayerIDRt    playerCnttgameFBt hadDelTickettposXtposYt encourageLV((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyt    DoEnterFBSs*      cCsdS(N((R((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyt    OnCloseFBpscCstj||ƒdS(N(RtClearEncourageBuff(RR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytDoExitFBuscCsBtj|dƒtjƒjƒjƒdkr>tj|ƒndS(Nii(RR RRRRtGameWorldProcesstCloseFB(RR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytDoPlayerLeaveFB{scCstj|dƒdS(Ni(RR (R((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytDoPlayerChangeMapLogic…scCstS(N(R(((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytOnPlayerRebornŠscCsdS(N((RR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytDoFBHelpŽscCs)|dkr%tj|t||ƒndS(Ni(RtFbEncourageBuffR(Rt
actionTypet
actionInfoR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyt
DoFBAction’s cCs/tjƒjƒ}|tkr+t|ƒndS(N(RRRt FB_Step_Overt__DoLogic_FB_Over(RtfbStep((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyt    OnProcess˜s  cCsD|tjƒjƒtjkr#dStj|ƒtjt    |ƒdS(N(
RRt GetFBStepTickR)tDef_FBPickupItemTimeR:R;RRt FB_Step_Close(R((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyRE¡s
 cCs    tjƒ}|jƒtkr"tStjƒjƒd}|jƒtj    kr|j
ƒt |ƒkr|jƒ}|tj kr™t j||tjtƒS|tj    krtj|ƒsÌ|jƒtjkrtj|ƒd}|sétSt j||tjƒSqntS(Nii(RRRRtFalseRRtGetGameObjTypeR tgotNPCtGetNPCIDtCurFBLineBOSSIDt    gotPlayertNPCHurtManagertCheckPlayerCanAttackFBNPCR)R*Rt
PetControltIsPettGetGameNPCObjTypet
gnotSummont AttackCommontGetAttackPlayer(tattackertdefenderR1Rt
atkObjTypet ownerPlayer((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytCheckCanAttackTagObjInFB°s - $cCst||ƒdS(N(t__FBNPCOnKilled(RYtcurNPCR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytDoFB_Npc_KillNPCÄs cCst||ƒdS(N(R^(RR_R((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytDoFB_Player_KillNPCÇs c Csútjƒjƒd}t|ƒ}|jƒ|kr8dStjt|ƒ|jƒ|j    ƒ}}tj
d|ƒt j |dƒt j|ƒ}|s²tjd||fƒdSd}tjƒ}tjƒjƒ}    tj|    |ƒd}
tjƒ} xût|jƒƒD]ç} |j| ƒ} | jƒ}| jƒ}g}|tjkrY|g}n]|tjkr |}tj|ƒ}x6|D](}|j|ƒsŸq„n|j |ƒq„Wnq | d}|dkrît j!|| j"ƒ| j#ƒƒnx|D]ù}| j$|ƒ}|dkrqõn|j&|t'|ƒ| s=| rY|jƒ|j    ƒ}}nt(|||d||t)gƒ}|sÒ|j*t+j,d|
t)ƒi|tj-6|tj.6}tj/|tj0|||ƒqõ|j*tj1dtj2t)ƒqõWq WdS(Nis½áÊøÉèÖÃBOSSËÀÍö lineID=%sis Ã»ÓÐÉËѪÁбí!lineID=%s,bossID=%siètdropItemMapInfo(3RRRRORNRRRDtGetPosXtGetPosYRt    NPCCommontGameServe_GameWorldBossStateRQtGetPlayerHurtListtErrLogRtGetMaptGetMapIDtGetFBLineStepTimeRtxranget GetHurtCountt    GetHurtAtt
GetValueIDt GetValueTypeR)tDef_NPCHurtTypePlayertDef_NPCHurtTypeTeamt
PlayerTeamtGetMapTeamPlayerIDListtIsNoAssistPlayertappendtGameServer_KillGameWorldBosst GetHurtNamet GetHurtValuetFindPlayerByIDtNonetSetPlayerGameFBDictRtGiveSealDemonAwardRt Sync_TimeTickR t tttLeaveMapt    Over_rankt Over_itemInfot NotifyFBOverR*t tttPickupItemRI(R_RRtbossIDtdropPosXtdropPosYt npcHurtListtisPassR1Rt    leaveTicktcopyMapPlayerManagertindexthurtObjthurtIDthurtTypet playerIDListtteamIDtmapTeamPlayerIDListt teamPlayerIDtrankR/Rt prizeItemListtoverDict((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyR^Ìsb       
 "  !$cCstjdƒ}||k}t|ƒ}|s1iSd}    d}
|rjtj|tj|ttjgƒ} n|rtiSd}    g} i} t    |ƒ}|dkr®|j
ƒ|
ng}t j |tji|
|6ddd|d|d|    d|d    |ƒ\}}}xa|D]Y}d
|kr)| j |ƒq|d |jd dƒ}}| j|d ƒ|| |<qWtjd||||||f|jƒƒ| tj| jƒƒ}|dkrÎtj|tj|
ƒntj|tj|
ƒtj|tj|
ƒtj|tj|
|gƒtj|tj|dttjgƒ|rv| r`tj|tj|
ƒqŒtj|tjƒntj|tj|
ƒt j!|tj"|
ƒt#j$|d|dƒt#j$|dƒ|dkrò|dkròt#j%|ƒnt&j'|tj(|
ƒt)j*|tj+|
ƒt,j*|tj+|
ƒt-j.|tj/|
ƒt0j1|tj2|
ƒt3j4|tj5|
ƒt6j7|tj8|
ƒ|S(NtSealDemonNewbieLineit mailTypeKeyt SealDemonMailtisMailt extraItemListt prizeMultipleRbt isVirtualDroptUserDatatItemIDtCountisU·âħ̳½áËã½±Àø: lineID=%s,bossID=%s,rank=%s,totalExp=%s,totalMoney=%s,jsonItemList=%ss sealdemon_%st sealdemon_0i(9R$R%tGetSealDemonIpyDataRtGetDictValueByBitR)t"Def_Player_Dict_PlayerFBStar_MapIdRKR*ROtGetOwnerAwardItemExRetGiveKillNPCDropPrizeRvtgetRRRtGetJsonItemListtitemst PlayerSuccesstDoAddSuccessProgresst ShareDefinetSuccType_FMTFirsttSuccType_SealDemont PlayerGubaotAddGubaoItemEffValuetGubaoEffType_KillSealDemonBosstSuccType_KillSpecificNPCtSetDictValueByBittAddEnterFBCounttSync_FBPlayerFBInfoDatatPlayerActivitytAddDailyActionFinishCnttDailyActionID_SealDemont
EventShelltEventRespons_FBEventtEventRespons_SealDemontPlayerBossReborntAddBossRebornActionCntt Def_BRAct_FMTtPlayerFairyCeremonytAddFCPartyActionCntt Def_PPAct_FMTtPlayerNewFairyCeremonytPlayerWeekPartytAddWeekPartyActionCntt Def_WPAct_FMTtPlayerFeastTraveltAddFeastTravelTaskValuetDef_FeastTravel_FMTtPlayerActLogintAddLoginAwardActionCnttDef_LoginAct_FMTt PlayerActTasktAddActTaskValuetActTaskType_FMT(RRR“R™t isClientSendRbtnewbielineListt isNewbieLinetsealDemonIpyDataR›taddCnttnewbieLineStart    equipListt prizeItemDictR„Ršt jsonItemListttotalExpt
totalMoneytjsonItemtitemIDtitemCntR”((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyR} sf  ' "      # %cCsr|jƒ}|tjkrdS|jƒ}tj|ƒ}tj|ƒ}|tjkr|rutj|j    |ƒq%t
}xwtj|D]h}|d|dkr‰|j dƒ|j dƒkr‰|j ddƒ|j ddƒ|d<t }Pq‰q‰W|s%tj|j    |ƒq%n|gtj|<d}    t jƒ}
xgt|
jƒƒD]S} |
j| ƒ} | sJ| jƒrxqJn| jƒ|jƒkrJ|    d7}    qJqJW|    dk} | s·dSd}t jƒjƒd}tjtj|ƒd}t jƒ}|j|tƒ}tjj |gƒ}|jtjd|t ƒi|tj 6|tj!6}tj"|tj|||ƒdS(NRžtIsBindRŸiiiè(#tGetTypeR)tDef_ItemType_MoneytGetIDt
ItemCommontCheckItemIsEquipt GetJsonItemR!R"RvRKR¦RRtGetMapItemManagerRltGetMapItemCounttGetMapItemByIndextIsEmptyt
GetOwnerIDRRRRRkR*RR,RR~R RR€RR‚(RtcurItemRt mapItemTypeR/tisEquipRÙtisIntitemInfotplayerItemCounttmapItemManagerR‹tmapItemtisItemAllPickUpRˆRR‰R1R“RÖR•((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyt OnPickUpItemYsN  2&   c        Csêtjd|||f|jƒƒ|d \}}t|||tt|jƒ|jƒtgƒ}|dkr |r t|ƒ}t    j
||j ƒ|tƒni|t j 6|t j6}t j|||d|ƒtj|ddƒdS(Ns7·âħ̳ ¿Í»§¶Ë¸±±¾·¢ËͽáÊømapID=%s,lineID=%s,dataList=%siii(RRRR}RKRRcRdROReRwtGetNameRR€RR‚Rt SetCustomMap(    RRRtdataListR“thurtR”R„R•((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyt OnClientEndFBŠs#0 cCsFt|ƒ}tj||ƒ}|s(dStj|ƒdtj|ƒS(Nid(RORtFindNPCByNPCIDExtGameObjtGetHPtGetMaxHP(t    copyMapIDt
funcLineIDRR„tcurBoss((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pytGetBossRemainHPPeršs
 cCsh|dkr%tjƒjƒd}n|dkr5dStjdi|d6ƒ}|sXdS|jƒ}|S(Niÿÿÿÿiit    SealDemontLineID(RRRR$tGetIpyGameDataByConditionRN(RtipyDataR„((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyRO¢s   cCsL|dkr%tjƒjƒd}n|dkr5dStjdi|d6ƒS(NiÿÿÿÿiRÿR(RRRR$R(R((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyR¡®s
  cCsdS(N((R((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyt DoPlayerDead»scCsdS(N((t playerIndext
clientDataR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyt SetFMTDoubleÅs(?RRR R$R)R!RReRàR«R¸R©RµRøR»R¾RÁRÅRÂRÈRËR'RsRQR:RSRWR®tranget FB_Step_OpenRRDRJRRt g_npcHurtDictRR
RRR6R7R9R<R=R>R?RCRGRER]R`RaR^RKR}RñRöRþROR¡RR(((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_SealDemon.pyt<module>sr                                                            
                                            AL    1