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
ÁRïhc@sÙddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z d„Zd„Zd„Zd„Zd„ZdS(iÿÿÿÿNcCs|jƒ}tjj|gƒ}||kr:|j|ƒStjƒ}|jtj    |ƒ}x‰t
|j ƒƒddd…D]h}|j |ƒ}t j|ƒt jkr®q{n|t j|ƒkrÉq{ntj|jƒƒrâdSPq{Wtjd||f|ƒdS(ss¼ì²é¿É·ñ¹¥»÷Ä¿±ê
    @return: None - ²»¿É¹¥»÷
    @return: >=0 - ÔÚÆ¥ÅäÁбíÀïµÄË÷Òý
    @return: -1 - ¿É·´»÷µÄ
    NiÿÿÿÿsIÑÝÎ䳡²»¿É¹¥»÷²»ÔÚÆ¥ÅäÁбíÀï»ò¿É¸´³ðµÄÄ¿±ê! tagPlayerID=%s,matchIDList=%s(t GetPlayerIDt
PyGameDatatg_arenaPlayerMatchDicttgettindext    DBDataMgrt GetGameRecMgrtGetRecTypeIDMgrt ShareDefinetDef_GameRecType_ArenaRecordtrangetGetCounttAtt PlayerArenat GetRecAtkTypetRecAtkType_DeftGetRecTagPlayerIDt    GameWorldtCheckTimeIsSameWeektGetTimetDebugLog(t    curPlayert tagPlayerIDtplayerIDt matchIDListt
gameRecMgrt    atkRecMgrRtrecData((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pyt__checkCanAtkTagPlayer!s"    &cCs9t||ƒdkrdStj|tjdƒs5dStS(Ni(RtNonet PlayerControlt    HaveMoneyRtTYPE_Price_ArenaTickettTrue(RtmapIDt
funcLineIDttagTypettagIDt    valueList((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pytOnTurnFightRequest<s
cCstjtjfS(N(Rt Lineup_ArenatLineup_ArenaDef(RR"R#((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pytGetFBPlayerLineupIDGscCs|s
dS|jƒ}|j}|j}t||ƒ}tjd|||f|ƒ|dkrddStjƒ}    |    j    t
j ƒ}
d\} } |rt j ddƒ} t| ƒ}|d}|dkrô||krÑ|}tjd||ƒqÑnÝt j ddƒ\}}|
j|ƒd}|
j|ƒd}|dkr´|dkr´||||}xUt|ƒD]D}||d}||ko”|knr£|}Pn|d}qiWntjd|||f|ƒ||krç| |n| d}|\} } tjd    ||f|ƒntj|t
jdƒs6dSt j d
d ƒ}tj||d d tigdtƒt||||| | ƒ|ji|d6| d6| d6tj|ƒtj6ƒtj|ƒtj|tdtƒt j!|t j"dƒt#j$|t#j%dƒdS(Ns0½áË㾺¼¼³¡! isWin=%s,tagPlayerID=%s,canAtkRet=%sit
ArenaMatchisÔÚÆ¥ÅäÖеÄ! scoreIndex=%sis;ÔÚ¸´³ðÖеÄ! curPlayerRank=%s,tagPlayerRank=%s,scoreIndex=%siÿÿÿÿsscoreIndex=%s,winScoreInfo=%stArenaSetiteventtArenat isNotifyAwardRt atkAddScoret defDecScoretisSys(ii(&RRtisWinRRRRRtGetBillboardMgrt GetBillboardRt Def_BT_Arenat IpyGameDataPYtGetFuncEvalCfgtlent IndexOfByIDR
RtPayMoneyR t ItemControlertGivePlayerItemOrMailtFalset__updArenaBatRecordtupdatetFBCommontGetJsonItemListt Over_itemInfoR tSync_ArenaInfotDoArenaMatchRefreshR!tPlayerZhanlingtAddZhanlingValuetZhanlingType_ArenaCntt PlayerGubaotAddGubaoSpecEffLayertGubaoEffType_Arena(Rt    turnFightR"R#toverMsgRRR3t    canAtkRett billboardMgrt    billBoardR0R1t winScoreListtscoreCntt
scoreIndext fromLowerCntt matchPerRankt curPlayerRankt tagPlayerRanktfromRankRttoRankt winScoreInfot awardItemList((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pytOnTurnFightOverLs^             
    % cCs¤|jƒ}tdtjddƒƒ}|jtjƒ}td||ƒ}    tj    |tj|    ƒt
j d|||    f|ƒ|j }
t jƒ} | jtj|ƒ} | j|ƒ} tj| |    ƒtj| tjƒtj| |ƒtj| |ƒtj| |
jƒƒtj| |
jƒƒtj| |
jƒƒtj| |
j ƒƒt!j"|
tj#ƒ}| j$i|
j%ƒd6|d6|d6ƒ|s®|    tjdd    ƒkrÇt&j'|tj(|    ƒn|tj)krÚdS| jtj|ƒ}|j*ƒst
j d
||ƒdS|j+|j*ƒd    ƒ}t
j,|j-ƒƒsYt
j d ||ƒdStj.|ƒ}td||ƒ}    t
j d |||    f|ƒ|j|ƒ} tj| |    ƒtj| tj/ƒtj| |ƒtj| | ƒtj| |jƒƒtj| |jƒƒtj| |j0ƒƒtj| |j ƒƒt!j1|tj#ƒ}| j$i|j%ƒd6| d6|d6ƒ|r t&j2|tj(|    ƒndS( Ni2R,iis#score=%s,atkAddScore=%s,updScore=%stNametAddScoret
FightPoweris&Ä¿±êûÓжÔÕ½¼Ç¼²»´¦Àí! tagPlayerID=%ss*Ä¿±ê±¾ÖÜûÓжÔÕ½¼Ç¼²»´¦Àí! tagPlayerID=%ss&defScore=%s,defDecScore=%s,updScore=%s(3RtminR7t
GetFuncCfgtNomalDictGetPropertytChConfigtDef_PDict_ArenaScoretmaxRtNomalDictSetPropertyRRt tagViewCacheRRRRR    t
AddRecDataR tSetRecUpdScoret SetRecAtkTypetRecAtkType_AtktSetRecTagPlayerIDt SetRecIsWint
SetRecFacetGetFacet SetRecFacePict
GetFacePict SetRecRealmLVt
GetRealmLVtSetRecLVtGetLVt
TurnAttacktGetCacheLineupFightPowerR)t SetUserDatat GetPlayerNametPlayerBillboardtUpdatePlayerBillboardR6tRealPlayerIDStartR R RRtGetRecUpdScoreRtGetOfficialRanktGetPlayerLineupFightPowertUpdateBillboardByID(RRLRR3R0R1RtmaxCounttscoretupdScoreRgRRRt
fightPowert    defRecMgrt finalRecDatatdefScore((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pyR?“sb      ( )(RRRvRRR7RzRFR<R RIRRARcRR'R*R\R?(((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pyt<module>s$                               G