hxp
2025-05-16 273fbbf3ec69623f4501583614174c7d604a06b5
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
÷ì&hc@s¿ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZdZd„Z d„Z!d„Z"d„Z#d„Z$d„Z%d    „Z&d
„Z'd „Z(d „Z)d d„Z*d„Z+d„Z,d„Z-d„Z.d„Z/d„Z0d„Z1d„Z2d„Z3d„Z4d„Z5d„Z6d„Z7d„Z8d„Z9d„Z:d„Z;d „Z<d!„Z=d"„Z>d#„Z?e@d$„ZAd%„ZBd&„ZCdS('iÿÿÿÿNicCs:tjdƒ}t||ƒtjd||jƒƒdS(Nt TJGGiftTimesÍÑ»ú¹Ò¹¦ÄÜ¿ªÆô ÔùËÍÍÑ»úʱ¼ä %s(t IpyGameDataPYt
GetFuncCfgt
AddTJGTimet    GameWorldtDebugLogtGetID(t    curPlayertaddTime((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt    DoTJGOpen<s cCs¦tjƒj|ƒ}|jƒdkr+dS|j|jƒ|jtjdtj    ƒ}|st
j |tj|j ƒtj    ƒnt ||ƒtjd|jƒdS(Ns    127.0.0.1is OnTJGState:%s(RtGetPlayerManagertGetPlayerByIndextGetIPtSetStatetStatetNomalDictGetPropertytChConfigtDef_PDictType_TJGNotify_LVtDef_PDictType_TJGNotifyt PlayerControltNomalDictSetPropertytGetLVt ChangeGuardR(tindext
clientDatattickRtnotifyLV((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt
OnTJGStateKs% cCsdS(N((RR((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyR]s4cCs¶tjddƒ}|jƒ}|jƒ}|jtjƒsBdn|jtjƒ}|jtjƒsldn|jtjƒ}||kr—t||ƒSt|j|ƒ|j|ƒƒS(NtAutoUseGuardianii”5w(RtGetFuncEvalCfgt GetItemTypeIDt GetUserAttrt ShareDefinetDef_IudetCreateTimetcmpR(titem1titem2t
itemIDListtitemID1titemID2t    itemTime1t    itemTime2((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt    SortGuard–s  **  cCs_tjƒj|ƒ}|jƒdkr+dS|jttj|jƒƒtj    d|jƒdS(Ns    127.0.0.1sOnSightZoom:%s(
RR
R R tSetSighttminRtDef_PlayerSight_DefaulttSightR(RRRR((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt OnSightZoom«s cCs|jƒdkrtStS(Ni(tGetStatetTruetFalse(R((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytGetIsTJGµscCshtjƒj|ƒ}|jƒdkr+dStj|tj|jƒtj    d|j
ƒ|jfƒdS(Ns    127.0.0.1s%s---OnTJGNPC:%s( RR
R R RRRtDef_PlayerKey_TJGNPCtNPCIDRtGetName(RRRR((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytOnTJGNPCÄs  cCs¡|jtjdtjƒ}|jtjdtjƒ}|tj||}|tj}|tj}tj|tj|tjƒtj|tj|tjƒdS(Ni(RRtDef_PDictType_TJGNotify_Exp1RtDef_PDictType_TJGNotify_Exp2tDef_PerPointValueRR(Rtexpt notifyTime1t notifyTime2ttotalExptcurExptexpPoint((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt
NoteTJGExpÙs  
 
cCs?|jtjdtjƒ}tj|tj||tjƒdS(Ni(RRtDef_PDictType_TJGNotify_TimeRRR(Rttimest
notifyTime((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt NoteTJGTimeèscCsž|tjkrM|jtjdtjƒ}tj|tj|dtjƒnM|tjkrš|jtj    dtjƒ}tj|tj    |dtjƒndS(Nii(
R tDef_Item_Color_PurpleRRtDef_PDictType_TJGNotify_PurpleRRRtDef_Item_Color_OrangetDef_PDictType_TJGNotify_Orange(Rt    itemColortcount((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt    NoteEquipísicCsitjddƒ}||kr"dS|jtj|dtjƒ}tj|tj|||tjƒdS(NtOfflinePostItemii(RRRRtDef_PDictType_TJGNotify_ItemIDRRR(RtitemIDt    noteCountR%RK((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytNoteItem÷s  cCsz|jtjdtjƒ}tj|tj||tjƒ|jtjdtjƒ}tj|tj||tjƒdS(Ni(RRt!Def_PDictType_TJGNotify_EatPurpleRRRtDef_PDictType_TJGNotify_GiveCnt(RtvaluetgiveCntRK((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt NoteEatEquips cCs·t|ƒsdSt|ƒdkr&dS|jtjƒdkrU|jtj|ƒdStjddƒ}||jtjƒ}||dkr‘dSt||ƒt    ||ƒ\}}dS(NitTJGiiè(
R3t
GetTJGTimet GetDictByKeyRtDef_PlayerKey_TJGStartTimetSetDictRRRt CalcPlayerTJG(RRt    calcTimest    passTimesRCt finalAddExp((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytProcessPlayerTJG
s  cCs
|jƒS(N(t GetHappyPoint(R((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyRX#scCs6t|dƒ}|j|ƒtj|tj|ƒdS(Ni(tmaxt SetHappyPointRtSendGameServerRefreshStatet IPY_GameWorldtCDBPlayerRefresh_HappyPoint(RttjgTime((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt
SetTJGTime$s cCs6tjddƒ}t|tt|ƒ||ƒƒdS(NRWi(RRRhR,RX(RRtmaxTime((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyR)s c+'Csçtj|jƒƒ}|sdS|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}    |jƒ}
|j    ƒ} tj
|ƒ} |j ƒ} tj |ƒ}tj |ƒ}tj|ƒ}tj|ƒ}|jƒ}|jƒ}|jƒ}tj|ƒ}tj|ƒ}tj|ƒ}tj|ƒ}|jƒ}tj|ƒ}|jƒ}|rÂtj||jƒƒ}|jƒ}|jdtj|ƒƒ}|j ƒ}t!j"d||||fƒnG|jƒ}tj|ƒ}tj#|ƒ}t!j"d||||fƒd} d}!x)t$dƒD]}"dt%ƒd|"d<q"W|j&ƒj'ƒ}#|#r|#j(ƒj)d    ƒ}$|$r¤|$j*ƒ} t+|$j,dƒj-dƒdƒ}!nt.j/d
d ƒ}%t0j1|ƒ\}&}'xHt$t2|%ƒƒD]1}"|%|"|&krúdndt%ƒd|"d<qÞWnx)t$dƒD]}"dt%ƒd |"d<q#Wt.j/d
d ƒ}(|(j|j3ƒgƒ})xNt$t2|)ƒƒD]:}"|)|"t4j5|ƒkr¤dndt%ƒd |"d<qWt!j6ƒj7ƒrºt!j"d|j8ƒ|jƒ|||||||    |
||| | | ||||||||||||| |!t9ddj:gt$ddƒD]}"d |"^qWƒdƒt9ddj:gt$ddƒD]}"d|"^q‘ƒdƒfƒnt9t.j;d
dƒƒ}*t!j"d|*ƒ|*S(NitMaxHPsJCalcTJGExp realmNPC npcID=%s,npcExp=%s,npcMaxHP=%s,npcCommendFightPower=%ssACalcTJGExp npcID=%s,npcExp=%s,npcMaxHP=%s,npcCommendFightPower=%sii'i
s
PetSkill%sit½RWisskill%sisÊCalcTJGExp--%s-%s-%s-%s-reExp:%s, attackEff:%s, aMinAtk:%s, aMaxAtk:%s, aSuperHitRate:%s, aSuperHit:%s,
        aNPCHurtAddPer:%s, aFinalHurtPer:%s, 
        aIceAtk:%s, aDamagePVE:%s, aSkillAtkRate:%s, petMinAtk:%s, petMaxAtk:%s, petDamPer:%s, atkSpeed:%s,
        aIgnoreDefRate:%s, aLuckyHit:%s, aLuckyHitRate:%s, aBleedDamage:%s, aFinalHurt:%s, npcExp:%s, npcMaxHP:%s, npcCommendFightPower:%s,
        petSkillLV:%s, petSkillPer:%s, skill:%s, petSkill:%ss[s, i s]s ×îÖÕ¾­Ñé:%s(<RtGetPlayerLVIpyDataRtGetReExpt GetAttackEfft    GetMinAtkt    GetMaxAtktGetSuperHitRatet GetSuperHitt    GetIceAtkt GetDamagePVEtGetSkillAtkRatet GetPetMinAtkt GetPetMaxAtktGameObjt GetPetDamPert GetAtkSpeedtGetIgnoreDefRatetGetLuckyHitValtGetLuckyHitRatetGetBleedDamaget GetFinalHurttGetFinalHurtPert GetFightPowertGetReFightPowertGetNPCHurtAddPertGetNPCIDt    NPCCommontGetNPCStrengthenAttrDicttGetExptgettGetHPt
GetFireDefRRtGetCommendFightPowertrangetlocalst    GetPetMgrt GetFightPettGetSkillManagertFindSkillBySkillTypeIDt
GetSkillLVRbt    GetEffecttGetEffectValueRRt    PlayerPettGetPetLearnSkilltlentGetJobtPassiveBuffEffMngtFindUsePassiveSkillst GetGameWorldt GetDebugLevelRtevaltjointGetFuncCompileCfg(+RRCtnpcDatatrealmNPCIpyDatat    lvIpyDatatreExpt    attackEfftaMinAtktaMaxAtkt aSuperHitRatet    aSuperHittaIceAtkt
aDamagePVEt aSkillAtkRatet    petMinAtkt    petMaxAtkt    petDamPertatkSpeedtaIgnoreDefRatet    aLuckyHitt aLuckyHitRatet aBleedDamaget
aFinalHurtt aFinalHurtPert aFightPowert aReFightPowertaNPCHurtAddPertnpcIDtattrDicttnpcExptnpcMaxHPtnpcCommendFightPowert
petSkillLVt petSkillPertitcurPettcurSkillt petSkillListtpetLearnSkillListtpetPassiveSkillListt    skillDicttskillsR;((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt
CalcTJGExp.s†                  $28=EcCsÝt|ƒsdSt|ƒdkr&dS|jtjƒdkrU|jtj|ƒdSt|ƒ}||jtjƒ}|jtj|ƒt|d|ƒ}t||ƒt|t    ||dƒƒt
||ƒ}||fS(Niiè(ii(ii(ii( R3RXRYRRZR[R,RERhRbtOnTJGKillNPCByTimes(RRRgR^RCR_((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyR\‡s   c Cs,d}|jtjƒ}|s"|Stjƒj|ƒ}|sA|Stjtj|ƒƒ}t    j
d||ƒ}|r»|j ƒ}|j ƒ}|j ƒ}    tjd||||    |fƒnA|j ƒ}|j ƒ}|j ƒ}    tjd||||    fƒt||||ƒ}
tj|ƒ} |
dkrQ| j|
tjƒ}t||ƒn|dkra|S|d|} | sy|St||| ƒt||| ƒtj||| ƒtj||    | ƒtj|tj| |gƒ|jtjƒs(||j ƒt    jdƒkr(tj|tj | ƒq(n|S(s(¸ù¾ÝÍÑ»úʱ³¤¼ÆËã»÷ɱNPCÏà¹Ø½±ÀøÐÅÏ¢
    itNPCRealmStrengthens>OnTJGKillNPCByTimes npcID=%s,npcLV=%s,mDef=%s,sp=%s,realmLV=%ss3OnTJGKillNPCByTimes npcID=%s,npcLV=%s,mDef=%s,sp=%siètDailyQuestKillMonster(!RRR4Rt GetGameDatatFindNPCDataByIDRtGetDifficultyRealmLVtGetRealmDifficultyRtGetIpyGameDataNotLogtGetMDefRtGetSPRRÇtAddExpR tDef_ViewExpType_KillNPCRAtOnTJGDropItemstOnTJGDropTaskItemst    PlayerViptDoAddVIPKillLVExptAddZhenQiByKillNPCt PlayerSuccesstDoAddSuccessProgresstSuccType_KillSpecificNPCtDef_PDictType_TJGOnDayExRtPlayerActivitytAddDailyActionFinishCnttDailyActionID_KillNPC( RRCR_R¸RŸtrealmLVR tmDeftnpcLVtspR;t playerControltkillCnt((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyRÈ£sJ   #     c    Cs/|jtjƒrdSigd}}}tj||jƒ||ƒ}|r`|\}}}nxs|jƒD]e\}}tj|t    j
ƒs’Pnt j ƒj |ƒ}    |    s³qmn||k}
tj|ƒ} tj|    ƒrfxòt|ƒD]u} tj|d|
d|ƒ} | sqên| jt    j
| dtjtigƒsL| jƒPnt||    jƒƒqêWqmtj|||
d|ƒ} | sqmn| jt    j
| dtjtigƒsÂ| jƒPnt|||ƒqmWtj|t    j|tjƒt|ƒs t|ƒdStj |t    j
t!ƒ}|dkr4dSg}g}|j"ƒj#t    j
ƒ}x›t$d|j%ƒƒD]„}|j&|ƒ} | sn| j'ƒrœqnn| jƒt(j)kr·qnn| j*ƒtj+krÒqnn|j,|ƒ|j,| j-ƒƒqnWt.j/|||ƒ\}}t0|||ƒt|ƒdS(NiiRteventi(1RYRt!Def_PlayerKey_TJGPackFullAfterEatR„tGetNPCDropInfoTJGtGetMapIDtitemst
ItemCommontCheckPackHasSpaceRetrptItemRRËtGetItemByTypeIDt ItemControlertPlayerItemControlert
GetIsEquiptxrangetGetOutPutItemObjt    PutInItemtItemGive_TJGDropItemR2tClearRLt GetItemColorRQRt    GiveMoneytTYPE_Price_Silver_MoneytDef_GiveMoney_PickuptCanEatItemsOpert CheckPackFulltGetItemPackSpacet Def_EatSpacetGetItemManagertGetPackR‹tGetCounttGetAttIsEmptyR RFtGetTypetDef_EquipItemType_TJGAutoEattappendRtPlayerEquipDecomposetEatItemsRV(RR¸RåtdropIDCountDictt auctionIDListtmoneytdropRetROt    dropCountt curItemDatat isAuctionItemt itemControlt_tcurItemt    packSpacet eatIndexListt eatItemIDListtitemPackR¿teatCountRU((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyRÔçsj  '
'
 
  c Cs|jtjƒrdStjddiƒ}xß|jƒD]Ñ\}}|j|ƒsYq8n|\}}}}    ||kr}q8ntj|t    j
|ƒ}
t ||
t |    ƒƒ} | dkrÀq8nt j|t    j
dƒ} | dkrêq8ntj||| dt    j
gƒq8WdS(NtTJDropTaskItemii(RYRRçRRRêt FindMissionRïtFindPlayerItemCountByItemIDReRíR,RœRëRýtGivePlayerItem( RtnpclvRåtdropTaskItemDictt    missionIDtdropInfot
npclvLimitROt needItemCnttitemCntFormulathaveCntt giveItemCntR((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyRÕTs$   #cCs/tj|tjƒs+|jtjdƒndS(Ni(RëRìReRíR[RRç(R((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyRükscCs:tj|tjƒs&tjdƒtS|jtj    ƒd@S(Ns ³èÎ﹦ÄÜ먦Æôi(
t GameFuncCommt GetFuncCanUseR tGameFuncID_EquipDecomposeRRR2RRtDef_PDict_TJGSet(R((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyRûqs cCsf|jtjƒd@stStjddƒ}|d}|s@tStj|tj    |ƒ}|sbtSt
S(NitRebornArgumentsi( RRR(R2RRRt HaveMoneyExR tTYPE_Price_Gold_Paper_MoneyR1(Rt    rebornCfgt
moneyPricet costMoneyList((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytCanHealthRebornys
cCsctjƒj|ƒ}|jr$dnd}|jr9dnd}||}tj|tj|ƒdS(Niii(    RR
R tAutoEatt
AutoRebornRRRR((RRRRtautoEatt
autoRebornttjgSet((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytOnTJGSystemSet‘s 
c Cs³|jƒdkr#t|tƒdStj|tjdƒt|ƒ|jtjdtj    ƒ}|dkrndS|jtj
ƒ}|sŠdSt j ƒj |ƒ}|s©dS|jtjdtj    ƒ}|jtjdtj    ƒ}|tj|}t|dtd|dƒƒ}t jd|||fƒtjƒ}|jƒ||_||_||_|jtjdtj    ƒ|_|jtjdtj    ƒ|_|jtjdtj    ƒ|_|jtj dtj    ƒ|_!|jtj"dtj    ƒ|_#g|_$t%j&ddƒ}    xm|    D]e}
|jtj'|
dtj    ƒ} | dkrKqntj(ƒ} |
| _)| | _*|j$j+| ƒqWt,|j$ƒ|_-t.j/||ƒ|j0tj    ƒdS(Ns    127.0.0.1igð?ii<s5    ÍÑ»úЧÂʰñ  aveMinuteExp=%s, totalExp=%s,times=%sRM(1R t LoginFixTJGR1RRRRÜRRBRR4RRËRÌR8R9R:tintRbRtChPyNetSendPackt tagMCTJGInfoRötExp1tExp2tTimesRGt PurpleEquipRIt OrangeEquipRRtEatPurpleEquipRStGiveCntRtBeforeLVtItemsRRRNt tagMCTJGItemstItemIDtCountRR–tCntt NetPackCommont SendFakePacktClearNomalDict( RRCR¸RŸtexp1texp2R>t aveMinuteExptsendPackR%RORKtitemInfo((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt NotifyTJGInfo®sV 
 
! 
                           cCsªt|ƒsdSt|ƒrn‡tj|tj|ƒ|jdƒtj|tj    t
t j ƒƒƒtj|tj dƒtj|tj dƒtj|tjdƒdS(Nii(R3R/tChPlayertPlayerRebornByTypeRtrebornType_CityR RRtDef_PDict_TJGDeadTimeR7ttimetDef_PDict_TJGDeadExptDef_PDict_TJGDeadExp1tDef_PDict_TJGDeadPayTime(RR((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytPlayerTJGRebornïs   "c Cs2|jƒdkr¦|jtjƒ}|dkr4dStjƒ}|jƒ||_|jtjƒ|_    |jtj
ƒ|_ |jtj ƒ|_ tj||ƒdStttj|ƒt|ƒƒdƒ}|jtjƒ}|sédStjƒj|ƒ}|sdStjtj|ƒƒ}tjd||ƒ}t||||ƒ}tj|tjƒ}t ||t!tj"ƒƒ}|tj#}    |tj#}
tj$|tj|    ƒtj$|tj
|
ƒtj$|tj|ƒtjƒ}|jƒ||_|    |_    |
|_ |jtj ƒ|_ tj||ƒdS(NiiRÉ(%R0RRRWR8ttagMCTJGDeadPayRöR<RUtExpRVR:RStDeadTimeRGRHRbR,RtGetPlayerLeaveServerSecondRXR4RRËRÌRÍRÎRRÏRÇtGetLimitExpRatetExpRateLimitType_RecoverR7tfloattDef_MaxRateValueR:R( RRCRMR¸RŸRàR R;texpRateR?R@((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytTJGDeadOfflinesH  
    '   
            cCsy|tjkr>|jtjƒ}|dkr1dSt|ƒn7|tjkrut|ƒrutj    |tj
dƒqundS(Nii( R tDef_OnEventTypeRRRWtResetTJGDeadInfotDef_OnEventTypeExR3RRRÜ(Rt onEventTypeRC((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytTJGOnDay9s   cCs¦tj|tjdƒtj|tjdƒtj|tjdƒtj|tjdƒtjƒ}|j    ƒd|_
d|_ d|_ d|_ tj||ƒdS(Ni(RRRRURVRWRSR8RYRöR<RZR:R[RGRH(RRM((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyRdEs 
                cCsŠtjƒj|ƒ}t|ƒs%dSt|ƒr`tj|tj|ƒt    j
|tj |ƒn&tj|tj |ƒ|j tjƒdS(N(RR
R R3R/RPRQRtrebornType_Healtht SkillCommontAddBuffBySkillType_NoRefurbishtDef_SkillID_TJGSuperBuffRRtKickRetdisMapCopyFull(Rt
clientPackRR((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt TJGNotifyDead`s  c    Csst|ƒ}|sdStj|tj|ƒtj|d|jtjƒ||jtj    ƒfƒ|jtj
dtj ƒ}|s§tj|tj
|j ƒtj ƒnt ||ƒt||ƒtjƒ}|jƒ|jtjdtj ƒ|_|jtjdtj ƒ|_||_|jtjdtj ƒ|_|jtjdtj ƒ|_|jtjdtj ƒ|_|jtjdtj ƒ|_|jtj
dtj ƒ|_g|_ t!j"ddƒ}xm|D]e}|jtj#|dtj ƒ}|dkr qÔntj$ƒ}||_%||_&|j j'|ƒqÔWt(|j ƒ|_)t*j+||ƒ|j,tj ƒdS(Ns2GMÄ£ÄâÍÑ»ú²ú³ö,npcid:%s, Ê±¼äÃ룺%s£¬ ¾­Ñé±¶ÂÊ£º%siRMi(-t
FindTJGNPCRRRR4Rt DebugAnswerRRYtDef_PlayerKey_TotalExpRateRRRRERÈR8R9RöR8R:R9R;R<RGR=RIR>RRR?RSR@RARBRRRNRCRDRERR–RFRGRHRI(    RRCR¸RRMR%RORKRN((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pytTJGGMosF  %   
                   cCset|ƒ}|sdS|jƒdkr9tjdƒdStj|ƒtjddƒ}|dkrhdSt||ƒ}|s¬t    |ƒ}|s“dStj
|t j |ƒntjd|j ƒ|jt j ƒ||jt jƒfƒ|jt jdt jƒ}|s-tj
|t j|jƒt jƒnt||ƒt|t||dƒƒt||ƒdS(NisÍÑ»úËÀÍöÍæ¼Ò²»×öʱ²î²¹³¥¡£Ris(ÃÖ²¹ÍÑ»ú----playerID:%s ,npcid  %s-%s-%s(RXR0RRRR\RRR,RpRRR4RRRYRrRRRRERhRbRÈ(RtisTJGRgtsecondsRCR¸R((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyR6§s2    %  cCsÉt|ƒ}tjƒ}d}xºt|jƒƒD]¦}|j|ƒ}|jƒ}|ddkrhq1ntjƒj    ƒj
|ƒ}|sq1n|j ƒ}|j ƒ|kr³q1n|j ƒ}    ||    krÑq1n|}q1Wtj d|ƒ|södS|j ƒ}
d} tjddƒ} tj|ƒ} || krp| rptj| ƒ}tjdi|d6|d6tƒ}ntjdi|d6tƒ}g}xr|D]j}|jƒdkr·q™n|j|ƒ|
|jƒkr™| rú| jƒ|jƒkrúq™n|} q™q™W|sdS| s%|djƒSt|ƒ}|jƒ}|j| ƒ}||t|d|dƒjƒkr’|t|d|dƒjƒS|| jƒkr¿|td|dƒjƒS| jƒS(    Nii'isFindTJGNPC maxMapID=%stRealmDifficultyRÉtMapIDt MapEventPoint(tGetMissionMapStepRtIPY_DataRòtGetMapEventPointCounttGetMapEventPointByIndexRéRRËt
GetChinMapt
GetMapByIDRt GetTreasureIDRtNoneRRRÎRÍtGetIpyGameDataByConditionR1tGetLowLVRRƒR–tGetDefRR,t
GetDefenseRb(RtmissionMapStept
ipyDataMgrtmaxMapIDR¿tmapInfotmapIDtmapDatatenterLVt openMapSteptlvtmyPointtrealmMapIDListtrealmDifficultyRàtmapListt
mapEffListtpointLentdefensetpIndex((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyRpÖsd      
 &     'cCs&tj|ƒ}|sdS|jdƒS(NitOpenMap(t QuestCommontGetCommonMissiont GetProperty(Rt    mission_1((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyRy*s(DRRRRetFunctionNPCCommonR„RïtFBCommonRëR RR%RTRGR8RPRitPlayerBillboardRÝRÙt
EventShellRÖRtmathR˜R”t PlayerGeTuitChEquipR—trandomRwRþR    RRR*R/R3R7RARERLRQRVR`RXRhRRÇR\RÈRÔRÕRüRûR/R5RORXRbRgRdRoRsR2R6RpRy(((shD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTJG.pyt<module>s„                                           9        
                    
 
                            Y        D    m                        A        3                 8 /    T