hwj35
2025-06-23 aa0f971ae9a59f0fd98d57b6c1d1663a270be92c
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
´~ƒac@s“ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z e dƒ\ZZZe dƒ\ZZZZZdZdZd„Zd„Zd„Zd    „Zd
„Zd „Zd „Zd „Zd„Z d„Z!d„Z"d„Z#d„Z$d„Z%d„Z&dd„Z(d„Z)d„Z*d„Z+d„Z,dS(iÿÿÿÿNiitFBBossIDsKillNPCCount_%scCsdS(N((ttick((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytOnOpenFB3scCs•|jƒ}|r.|jƒtjkr.tSntjdi|d6|d6ƒ}|sXdS|jƒ}tj    ||tj
ƒs‘t j d|ƒdStS(Nt FairyDomaintMapIDtLineIDs0ÉèÖÃʼþѰ·ÃÖÐʧ°Ü£¬¿ÉÄÜûÓиÃʼþ! fdeventID=%s( t    GetTeamIDt    GetTeamLVt IPY_GameWorldt    tmlLeadertTruet IpyGameDataPYtGetIpyGameDataByConditiontGetIDtPlayerFairyDomaintSetFairyDomainEventStatetFDEventState_Visitingt    GameWorldtDebugLog(t    curPlayertmapIDtlineIDRtteamIDtipyDatat    fdeventID((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytOnEnterFBEvent7s   cCs|S(N((RRRtipyEnterPosInfoR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytOnGetFBEnterPosHscCstjS(N(Rt    cmeAccept(taskR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytOnChangeMapAskLscCs|tjƒjƒ}tj|ƒ}tjƒ}tj|ƒ}|jƒ}|tkrŠtj    t
|ƒtj |ƒd}|j t |ƒn|t
krtjj|jƒdƒ|td|tjƒjƒ}|jtjdt|dƒtƒ|jtjdt|dƒtƒnS|tkrk|td|tjƒjƒ}|jtjdt|dƒtƒnt||ƒdS(Niiiè(Rt GetGameWorldtGetMapIDtFBCommontGetRecordMapIDt    GetGameFBtGetFBLineStepTimet    GetFBStept FB_Step_Opent    SetFBSteptFB_Step_PreparetGetFBLineRefreshNPCt SetGameFBDicttFBDict_FBBossIDt
PyGameDatatg_fbPickUpItemDicttpopt GetPlayerIDtDef_PrepareTimet GetFBStepTickt Sync_TimeTickRt tttAddUpTimetmaxR
t tttWaitStartt FB_Step_Fightt Def_FightTimet tttTowerTaketDoFBHelp(RRRtgameFBt lineTimeCfgtfbSteptbossIDt notify_tick((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyt    DoEnterFBPs&    ""% "% cCsˆ|jƒ}tjƒ}|jtƒ}|jt|ƒ}itji||6ƒtj6}tj    ||ƒtj
dt |ƒ|ƒdS(Ns DoFBHelp %s( R/RR#tGetGameFBDictByKeyR+tFBDict_KillNPCCountR!tGetJsonNPCKillListtHelp_npct Notify_FBHelpRtstr(RRtplayerIDR:tnpcIDt    killCountt
fbHelpDict((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyR9ks   cCsdS(N((RR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytDoExitFBwscCsdS(N((RR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytDoPlayerLeaveFB{scCsdS(N((R((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyt    OnCloseFBscCsdS(N((Rt
rebornTypeR((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyt DoFBOnRebornƒscCsatjƒjƒ}|tkr+t|ƒn2|tkrDt|ƒn|tkr]t|ƒndS(N(    RR#R%R(t__DoLogic_FB_PrepareR6t__ProcessFightt FB_Step_Overt__ProcessCloseFB(RR<((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyt    OnProcess‡s      cCsÛtjƒjƒ}tj|ƒ}|tjƒjƒ|tdkrIdStjƒ}tjƒjƒ}tj|ƒ\}}|j    t
|ƒt j ||gƒt j |ƒtjt|ƒtjtj|tdƒdS(Niè(RtGetMapR R!R$R#R1R0R)R*R+tNPCCustomRefresht SetNPCRefreshtProcessAllNPCRefreshR'R6tSync_Player_TimeTickRR8R7(RRtfbCfgR:t refreshMarkR=((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyRO•s$  cCsWtjƒjƒ}tj|ƒ}|tjƒjƒ|tdkrIdSt|ƒdS(Niè(    RRTR R!R$R#R1R7t__DoKillDevilOver(RRRY((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyRPªs $
cCswtjƒjƒ}tj|ƒ}tj|td}|tjƒj    ƒ|krVdSt
j |ƒtj t |ƒdS(Niè(RRTR R!R$tChConfigtDef_FBPickupItemTimet Def_ExitTimeR#R1tGameWorldProcesstCloseFBR't FB_Step_Close(RRRYt    closeTime((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyRRµs cCs€|jƒ}tjƒ}|jtƒ}||kr7dS|jt||jt|ƒdƒtj|t    dƒt
||ƒdS(Nii( tGetNPCIDRR#R@R+R*RAR!tNotifyCopyMapPlayerFBHelpR9R[(RtcurNPCRRGR:tfbBossID((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytDoFB_Player_KillNPCÂs   % cCsùtjƒ}|jƒtkr"dStjt|ƒ|dk}d}tjtjƒj    ƒƒ}t
j di|d6|d6ƒ}|r‘|j ƒnd}tj d|ƒtj||ƒ\}}    }
tj|ƒtd} tj|dƒ} | søgn| } tjƒ}|jƒ}xÜt|ƒD]Î}|j|ƒ}|sDq#n|jƒ}i}|r¿|r¿||krO|jƒ}|jƒ|jƒ}}t}t}||||g}tj||id|6d|ƒ\}}}|s|jt j!d| tƒtj"|||||ƒq#t#j$||t#j%ƒ|jt&j'dt&j(tƒq#q¿||
kr¿|
|}|j)idtj*6tj+| ƒtj,6tj-i||    6ƒtj.6ƒt/j0|| ƒq¿n|jt j!d| tƒtj"|||||ƒq#WdS(    NiRRRs¸±±¾½áËã: isPass=%sièitdropItemMapInfo(1RR#R%RQR!R'tNoneR"RTR R R R Rt PlayerAssisttOnFBAssistOverR$R^tGetFBLineRewardtGetMapCopyPlayerManagertGetPlayerCounttxrangetGetPlayerByIndexR/RctGetPosXtGetPosYtFalseR
t    NPCCommontGiveKillNPCDropPrizeR2Rt tttLeaveMapt NotifyFBOverRRtFDEventState_VisitedR\t tttPickupItemR]tupdatet Over_isAssisttGetJsonItemListt Over_itemInfotGetJsonMoneyListt
Over_moneyt ItemControlertGivePlayerItemOrMail(RReR:tisPassRRRRtnoAssistPlayerIDtassistMoneyTypetassistPlayerMoneyDicttexitTimet
rewardInfotassistItemListt playerManagert playerCounttindexRRFtoverDictR=tdropPosXtdropPosYt isOnlySelfSeetisDropDisperseRht jsonItemListttotalExpt
totalMoneytaddAssistMoney((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyR[ÎsZ         + 
&cCsP|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}d}tjt jƒjƒƒ}tj|ƒtd}tjj |gƒ}|jtjd|t ƒi|tj6}tj|||||ƒdS(NtItemIDtIsBindtCountiiiè( tGetTypeR\tDef_ItemType_MoneyR t
ItemCommontCheckItemIsEquipt GetJsonItemR,R-tappendRstgetR
RtGetMapItemManagerRotGetMapItemCounttGetMapItemByIndextIsEmptyt
GetOwnerIDR/R!R"RTR R$R^R2RRvR}Rw(RtcurItemRt mapItemTypeRFtisEquiptjsonItemtisIntitemInfotplayerItemCounttmapItemManagerR‹tmapItemtisItemAllPickUpR‚RRt    leaveTickR‘RŒ((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyt OnPickUpItem    sL  2&  cCstjƒjƒtkS(N(RR#R%R6(tattackertdefender((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytCheckCanAttackTagObjInFB9scCsOtj|||ƒ}|tjtjgkrKtjd|||fƒtStS(NsEçÎç¿ÎÞ·¨É¨µ´! ²»´æÔÚ¸Ãʼþ»òÎÞ·¨½øÈ룡 mapID=%s,lineID=%s,curState=%s(RtGetFairyDomainFBEventStatetFDEventState_CanVisitRRRRsR
(RRRtsweepCnttisFinishtdataExtcurState((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytOnPlayerFBSweepAsk=s
cCsÅtjdi|d6|d6ƒ}|rK|jƒ}tj||tjƒnd}tjtj    ƒ\}    }
t
j ||id|
6ƒ\} } } i| tj 6dtj 6}tj|||||ƒdS(NRRRi(R R R RRRxR!R)R\tDef_FBMapID_KillDevilRtRuR}t Over_isSweepRw(RRRRµR¶R·RRR‚t_R=R‘R’R“RŒ((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pytOnPlayerFBSweepResultEs  %(-R!RtR,RjR R€R_RRURRšRR\trangeR0R7R^R&R(R6RQRaR+RARRRRR?R9RJRKRLRNRSRORPRRRgRiR[R¯R²R¹R½(((s…E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_KillDevil.pyt<module>sH                                                                                 ;    0