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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
Ž7ic@sžddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd    „Zd
„Zd d „Zd „Zd d„Zd„Zejd„Zd„Zd„Zd„Z d„Z!d„Z"e#d„Z$d„Z%d„Z&e#d„Z'd„Z(e#d„Z)d„Z*d„Z+e#d„Z,d„Z-d „Z.d!„Z/d"„Z0e#d#„Z1d$„Z2d%„Z3d&„Z4d'„Z5d(„Z6d)„Z7d*„Z8d+„Z9d,„Z:d-„Z;d.„Z<d/„Z=d0„Z>dd1„Z@dd2„ZAd3„ZBdd4„ZCdS(5iÿÿÿÿNcCs9|jtjƒr5tj|tjdƒt|ƒndS(Ni(tNomalDictGetPropertytChConfigtDef_PDict_HeroAwakeRebirthCntt PlayerControltNomalDictSetPropertytSync_PlayerHeroInfo(t    curPlayer((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt PlayerOnDay#s cCs"t|ƒt|ƒt|ƒdS(N(t Sync_HeroInfoRtSync_LineupRecommendInfo(R((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt OnPlayerLogin)s
 
 
cCst|ƒt|ƒdS(N(tOnFirstLoginInitPlayertOnFirstLoginInitHero(R((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytOnPlayerFirstLogin/s
 
c     Csx|jƒjtjƒ}|jƒsO|jƒjtjƒ}|jƒsOdSntjddiƒ}|sndStj    d||j
ƒƒxé|j ƒD]Û\}}tj ƒj |ƒ}|sÂq•n|jƒ}|d}|dks•||jƒkrüq•n|j|ƒ}    |    jƒsq•n|r3i|tj6ni}
tj|dd|d|
ƒ} | scq•n|    j| ƒq•WdS(Nt NewRoleInitis³õʼ»¯ÐÂÊÖ¶¨ÖÆ×°±¸: %siRt setAttrDict(tGetItemManagertGetPackt IPY_GameWorldtrptEquiptGetCountt rptIdentifyt IpyGameDataPYtGetFuncEvalCfgt    GameWorldtDebugLogt GetPlayerIDtitemst GetGameDatatGetItemByTypeIDt GetEquipPlacetGetAttIsEmptyt ShareDefinetDef_CItemKey_AppointIDt ItemControlertGetOutPutItemObjt
AssignItem( Rt    equipPackt identifyPacktdefaultEquipInfotequipIDt    appointIDtitemDatat
equipPlacetequipPlaceIndext    destEquipRtcurItem((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyR 4s4   
 c        Csû|jƒjtjƒ}tjd|jƒ|jƒƒ|jƒsHdStj    ddiƒ}|sgdStjd||jƒƒtj
}d}xd|j ƒD]V\}}t |||ƒ}i|gtj 6}tj||dttjgd|ƒqWdS(NsOnFirstLoginInitHero: %sRis³õʼ»¯ÐÂÊÖÎ佫: %siiR(RRR!trptHeroRRRRRRt Lineup_MainRtComLineupValuetDef_IudetHeroLineupR#tGivePlayerItemtFalse(    RtcurPacktdefaultHeroInfotlineupIDt    shapeTypetheroIDtposNumt lineupValueR((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyR Ss      )cCsŸ|jtjdƒ|jtjƒr;|jtjdƒn|jtjƒrc|jtjdƒn|jtjƒr‹|jtjdƒn|jtjƒr³|jtjdƒn|jtj    ƒrØ|j
tj    ƒn|jtj ƒrý|j
tj ƒn|jtj ƒr"|j
tj ƒn|jtj ƒrG|j
tj ƒn|jtjƒrl|j
tjƒn|jtjƒr‘|j
tjƒnt|ƒdS(Nii(t SetUserAttrR!tDef_IudetHeroLVt GetUserAttrtDef_IudetHeroStartDef_IudetHeroBreakLVtDef_IudetHeroAwakeLVtDef_IudetHeroSkintGetUserAttrCounttDef_IudetHeroTalentIDt ClearUserAttrtDef_IudetHeroTalentIDLVtDef_IudetHeroTalentWashLocktDef_IudetHeroTalentWashIDtDef_IudetHeroTalentIDAwakeRandR3tInitHeroTalent(t
singleItem((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt InitHeroItemgs.
cCs¦|jƒ}tjd|ƒ}|s(dS|jƒ}tjd|ƒ}|sPdSd}|jƒ}|r}tj|dƒ}ni}g}tjƒ}    x^t|    j    ƒƒD]J}
|    j
|
ƒ} | j ƒ} | j ƒ} |j | | gƒ| || <q¨W|jtjƒ|jtjƒx‰t|ƒD]{}tj|ƒ}|sDq#n|j|dƒ|g}||krx|j|ƒn|jtj|ƒ|jtjdƒq#WdS(s+³õʼ»¯²ÛλÌ츳£¬²»Í¬²ÛλÌ츳ID²»ÄÜÒ»Ñù
    tHeroNt HeroQualityii(t GetItemTypeIDRtGetIpyGameDatat
GetQualitytGetInitTalentWeightRtGetResultByWeightListtIPY_DatatrangetGetHeroTalentCounttGetHeroTalentByIndext GetTalentIDt GetInitWeighttappendRFR!RERGtgettremovet AddUserAttr(RLR:t heroIpyDatatqualitytqualityIpyDatat initTalentCnttinitTalentWeightt talentIDDictttalentWeightListt
ipyDataMgrtindext talentIpyDatattalentIDt
initWeightt_t randTalentIDt randWeightID((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRKƒsB       cCsŽ|jƒ}tjd|ƒ}|s(dSt||ƒsŠt||dƒtjd||jƒƒt||gƒt    j
|ƒj |ƒndS(NRNisÊ״줻îÎ佫: heroID=%s( RPRRQtGetHeroActivitetSetHeroActiviteRRRRt PlayerOnlinetGetOnlinePlayertOnHeroItemUpate(RtheroItemR:R_((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytOnGiveHeroItem¯s cCs|jtj|ƒd}|S(Ni
(RRtDef_PDict_HeroBook(RR:tactState((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRn¿sicCs˜|jtj|ƒ}|d}|r9|r0dSd}nd}tj|dd|ƒ}tj|tj||ƒtjd|||f|jƒƒdS(Ni
iis0ÉèÖÃÎ佫¼¤»î״̬:%s,bookState=%s,updBookState=%s(    RRRuRtSetValueRRRR(RR:tisActt    bookStateRvt updBookState((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRoÅs
    #cCs$|jtj|ƒd}|dkS(Ni
i(RRRu(RR:t    initState((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytGetHeroBookInitStateÔscCsš|jtj|ƒ}|d}|r/d}n|r;dnd}tj|dd|ƒ}tj|tj||ƒtjd|||f|jƒƒdS(Ni
iiis4ÉèÖÃÎ佫ͼ¼ø¼¤»î״̬:%s,bookState=%s,updBookState=%s(    RRRuRRwRRRR(RR:RxRyRvRz((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytSetHeroBookInitStateØs
    #cCs}|jƒjtjƒ}|dks6||jƒkr:dS|j|ƒ}| s\|jƒr`dS|jƒtj    krydS|S(Ni(
RRR!R0RRR tGetTypeRtDef_ItemType_Hero(Rt    itemIndexR6Rs((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt GetHeroItemscCs|jtjƒ}|sdSx^t|ƒddd…D]C}|jtj|ƒ}t|ƒ\}}}||krxq6n|SWdS(Niiÿÿÿÿ(RDR!R3RVtGetUserAttrByIndextGetLineupValue(RsR8t lineupCounttlpIndexR<tlpIDRkR;((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytGetHeroLineupPosNum"s  cCsYxRt|jtjƒƒD]8}|jtj|ƒ}t|ƒdtjkrtSqWtS(Ni(    RVRDR!R3R‚RƒR1tTrueR5(RsR…R<((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt InMainLineup1s
cCs€tjƒj|ƒ}|jƒ}|j}t||ƒ}|sCdS|jƒ}tjd|ƒ}|skdS|j    ƒ}    |j
t j ƒ}
|j
t j ƒ} t|ƒ} tjd||| |    |
| f|ƒ| | krñtjd| |ƒdStjd|    | ƒ} | sdS| d}tjd|    |ƒsMtjd|    |f|ƒdS| jƒ}|scdS|\}}| s}| rdS|jƒjtjƒ}tj|||ƒ\}}|sÕtjd||fƒdStj||||tdƒ|}tjd    |||f|ƒ|jt j |ƒtj|ƒj|ƒtj|tj dƒt!j"|tj#ƒt$j%|t j&dƒdS(
NRNsMÇëÇóÎ佫Éý¼¶: itemIndex=%s,heroID=%s,heroLV=%s,quality=%s,breakLV=%s,LVMax=%ss¸ÃÎ佫ÒÑÂú¼¶£¡LVMax=%st HeroQualityLVis*²»´æÔÚ¸ÃÎ佫µÈ¼¶: quality=%s,nextHeroLV=%ss7²ÄÁϲ»×㣬Î佫ÎÞ·¨Éý¼¶! costItemID=%s, costItemCount=%stHeroLVUPs-Î佫Éý¼¶: itemIndex=%s,heroID=%s,updHeroLV=%s('RtGetPlayerManagertGetPlayerByIndexRt    ItemIndexRRPRRQRRR?R!RAR>t GetHeroLVMaxRt GetUPCostItemRRRtrptItemt
ItemCommontGetItem_FromPack_ByIDt
ReduceItemRˆR=RpRqRrtPlayerActivitytAddDailyTaskValueRtDailyTask_HeroLVUPt
PlayerTaskt AddTaskValuetTaskType_HeroLVUPt PlayerSuccesstDoAddSuccessProgresstSuccType_OSAHeroLVUP(Rgt
clientDatattickRtplayerIDR€RsR:R_R`tbreakLVtheroLVtLVMaxtqualityLVIpyDatat
nextHeroLVt costItemInfot
costItemIDt costItemCounttitemPackt    hasEnought itemIndexListt    updHeroLV((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt
OnHeroLVUP@s\             
  cCsu|jƒ}tjd|ƒ}|s(dS|jƒ}|jtjƒ}tjd||ƒ}|sedS|jƒ}|S(NRNitHeroQualityBreak(RPRRQRRR?R!RAtGetLVMax(RsR:R_R`R¡tqualityBreakIpyDataR£((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRss   c Cstjƒj|ƒ}|jƒ}|j}|j}t||ƒ}t||ƒ}| sk| sk||krodS|jƒ}    |jƒ}
tjd||    ||
f|ƒ|    |
krÇtjd|ƒdS|j    ƒrñtjd||    f|ƒdS|j
t j ƒ} | r'tj d||    f|ƒdS|j
t jƒ} | r]tj d||    f|ƒdS|jt jƒ} | rtjd| |ƒdS|jt jƒ}|jt jƒ}|dksÃ|rátjd||f|ƒdStjd    |    ƒ}|sýdS|jƒ}|jt jƒ}|jt jƒ}t|ƒ}tjd
|    ||||f|ƒ||kr€tjd ||ƒdS|jt jƒ}|d}||}tjd ||    ||||f|ƒtj|||jƒtd ƒt|||ƒtj|ƒj|ƒdS(NsAÇëÇóÎ佫ÉýÐÇ: itemIndex=%s,heroID=%s,useItemIndex=%s,useHeroID=%ssÎ佫²ÄÁϷDZ¾Ì壬ÎÞ·¨ÉýÐÇ!s1²ÄÁÏ¿¨Ëø¶¨ÖУ¬ÎÞ·¨ÉýÐÇ! useItemIndex=%s,heroID=%ss4Î佫ϴÁ¶½á¹ûδ´¦Àí£¬ÎÞ·¨ÉýÐÇ! itemIndex=%s,heroID=%ss8Î佫¾õÐѽâËøÌ츳δѡÔñ£¬ÎÞ·¨ÉýÐÇ! itemIndex=%s,heroID=%ss.²ÄÁÏ¿¨¾õÐѵȼ¶²»Îª0ÔÝʱÎÞ·¨ÉýÐÇ£¡useAwakeLV=%sis:²ÄÁÏ¿¨ÒÑÉý¼¶»òÍ»ÆÆÔÝʱÎÞ·¨ÉýÐÇ£¡useHeroLV=%s,useBreakLV=%sRNs2heroID=%s,star=%s,quality=%s,awakeLV=%s,starMax=%ss¸ÃÎ佫ÒÑÂúÐÇ£¡starMax=%ssIÎ佫ÉýÐÇ: itemIndex=%s,heroID=%s,star=%s,useStar=%s,addStar=%s,updStar=%st
HeroStarUP( RRŒRRRŽt UseItemIndexRRPRt GetIsLockedRDR!RItErrLogRJR?RBR>RARRQRRR@tGetHeroStarMaxR’tDelItemRR5t DoHeroUpdStarRpRqRr(RgRžRŸRR R€t useItemIndexRstuseItemR:t    useHeroIDt    washIDCntt awakeRandCntt
useAwakeLVt    useHeroLVt
useBreakLVR_R`tstartawakeLVtstarMaxtuseStartaddStartupdStar((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt OnHeroStarUP‰sn                   # 
 
    c CsÞ|jƒ}tjd|ƒ}|s(dS|jƒ}tjd|ƒ}|sPdS|jƒ}|jtjƒ}|sx|Sd}tjd|ƒ}|rÐx7|D],}    |    j    ƒ|kr¹Pn||    j
ƒ7}qWn||}
|
S(NRNiROt    HeroAwake( RPRRQRRtGetInitStarUpperR?R!RBtGetIpyGameDataListNotLogt
GetAwakeLVtGetAddStarUpper( RsR:R_R`Rat InitStarUpperRÁt addStarUppertheroAwakeIpyDataListtipyDataRÂ((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRµÄs*    
cCs°|jtjƒ}||}|jƒ}|jtj|ƒ|dkr™t||ƒtj|tj    |ƒt
j |tj |ƒt j|tj|ƒn|r¬|jƒndS(Ni(R?R!R@tGetItemR=t__DoHeroStarTalentUpR•R–RtDailyTask_HeroStarUPR˜R™tTaskType_HeroStarUPR›RœtSuccType_OSAHeroStarUPt    Sync_Item(RRsRÅtisSynctcurStarRÄtitem((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyR·às
    c CsK|jƒ}tjddƒ}tjddƒ}|}tjd|ƒ}|r§|jtjƒ}xD|| ddd…D](}|jƒ}    |    rx|    rx|    }PqxqxWn|jtj    ƒ}
|jtj
ƒ} gg} } g}g}t }x™t t |
| ƒƒD]‚}|jtj    |ƒ}|jtj
|ƒ}| j|ƒ| j|ƒ||kr|j|ƒ||kr‚|j|ƒq‚qqWt| ƒ|krÑ| dg|t| ƒ7} | dg|t| ƒ7} ntjd|ƒtjd| | |fƒtjd    ||fƒd| kr’i}g}tjƒ}xpt |jƒƒD]\}|j|ƒ}|jƒ}|| kr}qJn|jƒ}|j||gƒ|||<qJWtjd
|ƒxÔt |ƒD]Ã}d| krÞPntj|ƒ}|sùqÈn|j|dƒ|g}||kr-|j|ƒn| jdƒ}|| |<d| |<|j|ƒ|j|ƒtjd |ƒ|d8}t}qÈWn|dkrµxt |ƒD]}|s»Pn|rÐtj|ƒn tj|ƒ}|| krñq«n| j|ƒ}| |}||krG|d7}|| |<tjd |||fƒn||kr¨||kro|j|ƒn||kr‹|j|ƒntjd |||fƒnt}q«Wn|s¿dStjd| | fƒ|jtj    ƒ|jtj
ƒxNt | ƒD]@\}}|sPn|j!tj    |ƒ|j!tj
| |ƒqWdS(NtHeroStarTalentiiRÇiÿÿÿÿis"Ö´ÐÐÎ佫ÐǼ¶Ì츳µÈ¼¶ÌáÉý: addLV=%ss2µ±Ç°ÐǼ¶Ì츳: idList=%s,lvList=%s,maxUnlockSlot=%ss,δÂú¼¶ÐǼ¶Ì츳ID: %s,unfullLVIDListUnlock=%ss³£¹æ¿Õ²ÛλÔö¼ÓÌ츳Êý£º%ssÐÂÔöÐǼ¶Ì츳ID: %ss#Éý¼¶ÐǼ¶Ì츳ID: %s,idLV=%s,index=%ss<    ÒƳýÂú¼¶ID: %s,unfullLVIDList=%s,unfullLVIDListUnlock=%ss!¸üÐÂÐǼ¶Ì츳: idList=%s,lvList=%s("RPRt
GetFuncCfgRÉR?R!RBtGetUnlockTalentSlotRDRERGR5RVtminR‚R[tlenRRRURWRXRYt GetWashWeightRTR\R]RgRˆtrandomtchoiceRFt    enumerateR^( RLtaddLVR:tcommTalentSlott talentMaxLVt maxUnlockSlottawakeIpyDataListRÁRÏtunlockTalentSlottidCounttlvCounttidListtlvListtunfullLVIDListtunfullLVIDListUnlockthaveUpRgRittalentLVt idWeightDictReRfRhtweightRkRlRmt    zeroIndextrandIDt    randIndextidLV((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRÑõs¼                 
 
 
  $ 
 
 
    cCstjƒj|ƒ}|jƒ}|j}t||ƒ}|sCdS|jƒ}tjd|ƒ}|skdS|j    ƒ}    |j
t j ƒ}
|j
t j ƒ} tjd|||    |
| f|ƒtjd|    | ƒ} | sÝdS| jƒ} |
| krtjd|
| f|ƒdS| d}tjd|    |ƒsPtjd|    | f|ƒdS| jƒ}|sfdS|jƒjtjƒ}tj||ƒ\}}|r½tjd|    | |f|ƒdStj|||dƒtjd    |||f|ƒt|||ƒtj|ƒj|ƒdS(
NRNsDÇëÇóÎä½«Í»ÆÆ: itemIndex=%s,heroID=%s,quality=%s,heroLV=%s,breakLV=%sR®s&Î佫µÈ¼¶²»×㣬ÎÞ·¨Í»ÆÆ: heroLV=%s < %sis%Í»ÆÆµÈ¼¶ÒÑÂú¼¶: quality=%s,breakLV=%ss=²ÄÁϲ»×㣬Î佫ÎÞ·¨Í»ÆÆ! quality=%s,breakLV=%s,lackItemDict=%st    HeroBreaks/Îä½«Í»ÆÆ: itemIndex=%s,heroID=%s,nextBreakLV=%s(RRŒRRRŽRRPRRQRRR?R!R>RARt GetUPLVNeedtGetUPCostItemListRRRR‘R’tGetCostItemIndexListt DelCostItemtSetHeroBreakLVRpRqRr(RgRžRŸRR R€RsR:R_R`R¢R¡RÏtUPLVNeedt nextBreakLVt costItemListR©t lackItemDictt delInfoDict((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt OnHeroBreaknsN             
 cCs6|jƒ}|jtj|ƒ|r2|jƒndS(N(RÐR=R!RARÕ(RRsR¡RÖRØ((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRû™s
  c    Cs_tjƒj|ƒ}|jƒ}|j}t||ƒ}|sCdS|jƒ}tjd|ƒ}|skdS|j    ƒ}    |j
t j ƒ}
|j
t j ƒ} tjd|||    | |
f|ƒtjddƒ} tjddƒ} |
| ksú|
| krtjd|
| | f|ƒdStjd|    | ƒ}|s:dS| d}tjd|    |ƒswtjd|    | f|ƒdS|jƒ}|sdS|\}}| s§| r«dS|jƒjtjƒ}tj|||ƒ\}}|sÿtjd    ||fƒdStj||||td
ƒtjd |||f|ƒt||ƒtj|ƒj|ƒdS( NRNsDÇëÇóÎ佫¾õÐÑ: itemIndex=%s,heroID=%s,quality=%s,awakeLV=%s,starLV=%sRÙiis$µ±Ç°ÐǼ¶²»¿É¾õÐÑ: starLV=%s < %s, %stHeroQualityAwakes%¾õÐѵȼ¶ÒÑÂú¼¶: quality=%s,awakeLV=%ss7²ÄÁϲ»×㣬Î佫ÎÞ·¨¾õÐÑ! costItemID=%s, costItemCount=%sRÇs/Î佫¾õÐÑ: itemIndex=%s,heroID=%s,nextAwakeLV=%s(RRŒRRRŽRRPRRQRRR?R!R@RBRRÚRRRRR‘R’R“R”RˆtSetHeroAwakeLVRpRqRr(RgRžRŸRR R€RsR:R_R`tstarLVRÁtawakeLimitStarRãRÏt nextAwakeLVR¦R§R¨R©RªR«((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt OnHeroAwake­sV           
   cCs@|jƒ}|jtj|ƒt|ƒ|r<|jƒndS(N(RÐR=R!RBtunlockTalentSlotByAwakeRÕ(RsRÁRÖRØ((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRÛs  
 cCsl|jƒ}|jtjƒ}tjd|ƒ}|s:dSd}x;|| ddd…D]"}|jƒ}|rX|}PqXqXW|sˆdS|jtjƒ}||krªdStj    ddƒ}||krÌdS|jtj
ƒ}    |    rèdSg}
x6t |ƒD](} |j tj| ƒ} |
j | ƒqûWtjd|||
fƒi} g}tjƒ}xpt |jƒƒD]\} |j| ƒ}|jƒ} | |
krŸqln|jƒ}|j || gƒ|| | <qlWtj    ddƒ}x‡t |ƒD]y}tj|ƒ}|s qën| j|dƒ|g}||kr@|j|ƒn|jtj
|ƒtjd|ƒqëWdS(    NRÇiiÿÿÿÿRÙis5¾õÐѽâËøÌ츳²Û: awakeLV=%s,maxUnlockSlot=%s,idList=%sis!Ëæ»ú¾õÐÑÌ츳ѡÏî: randTalentID=%s(RPR?R!RBRRÉRÛRDRERÚRJRVR‚R[RRRURWRXRYtGetAweakWeightRTR\R]R^(RLR:RÁRæRåRÏRçRèRãR¼RêRgRiRðReRfRhRñt randTalentCntRkRlRm((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRäsb         cCs;tjƒj|ƒ}|j}|j}t|||ƒdS(N(RRŒRRŽt SelectIndextdoSelectAwakeTalent(RgRžRŸRR€t selectIndex((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytOnHeroAwakeSelectTalent)s
        cCs”|jƒ}t||ƒ}|s%dS|jƒ}|jtjƒ}| sV||krwtjd|||f|ƒdS|jtj|ƒ}|s–dS|j    ƒ}    |    jtj
ƒ}
|    jtj ƒ} gg} } xat t |
| ƒƒD]J}|    jtj
|ƒ}|    jtj |ƒ}| j|ƒ| j|ƒqéWtjddƒ}|
|kr‚| dg||
7} | dg||
7} n|| kr²tjd|||| f|ƒdS| j|ƒ| jdƒ|    jtjƒtjd|| | fƒ|    jtj
ƒ|    jtj ƒxDt| ƒD]6\}}|    jtj
|ƒ|    jtj | |ƒq#Wt|    ƒ|rz|jƒntj|ƒj|ƒdS(NsB²»´æÔڸþõÐÑÌì¸³Ëæ»úÑ¡Ïî! heroID=%s,selectIndex=%s,awakeRandCnt=%sRÙiisDÑ¡ÔñÌ츳ID²»ÄÜÖØ¸´! heroID=%s,selectIndex=%s,selectTalentID=%s in %ss3¸üÐÂÑ¡ÔñÌ츳: selectTalentID=%s,idList=%s,lvList=%s(RRRPRDR!RJRRR‚RÐRERGRVRÜR[RRÚR´RFRáR^RRÕRpRqRr(RR€R RÖR RsR:R¼tselectTalentIDRLRèRéRêRëRgRiRïRã((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyR 0sV             
 cCsžtjƒj|ƒ}|j}|j}|j}t||ƒ}|sIdS|dkrht|||ƒn2|dkr‡|jt    j
ƒnt ||||ƒdS(Nii( RRŒRRŽtLockTalentIndexstOPTypeRtHeroTalentWashReplaceRFR!RItHeroTalentWash(RgRžRŸRR€tlockTalentIndexstopTypeRs((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt
OnHeroWashos              cCsÃ|jƒ}tjd|||fƒ|jtjƒ}|rStjd|ƒdStjddƒ}tj    ddƒ}|sdS|j
ƒ}|jtj ƒ}    xH|ddd…D]3}
|
|    kr³|j |
ƒtjd|
ƒq³q³Wt |ƒ} t |ƒ| kr|| n|d} tjd|| |fƒ|jƒjtjƒ} tj|| | ƒ\}}|sŠtjd    || fƒdStj|| || td
ƒg}xRt|    ƒD]D}||krð|jtj |ƒ}|j|ƒq¹|jd ƒq¹Wtjd |ƒi}g}tjƒ}xpt|jƒƒD]\}|j|ƒ}|jƒ}||krpq=n|jƒ}|j||gƒ|||<q=Wxt|ƒD]q\}}|rÂqªntj|ƒ}|sÝqªn|j |d ƒ|g}||kr|j |ƒn|||<qªWtjd |ƒ|j!tjƒx!|D]}|j"tj|ƒqGW|j!tj#ƒx!|D]}|j"tj#|ƒq{W|j$ƒtjd||||fƒdS(Ns4Î佫ϴÁ¶: itemIndex=%s,heroID=%s,lockTalentIndexs=%ss*Î佫ϴÁ¶½á¹ûδ´¦Àí£¬ÎÞ·¨Ï´Á¶! washIDCnt=%stHeroWashiiiÿÿÿÿs"È¥³ý²»´æÔÚµÄËø¶¨Ë÷Òý: lockIndex=%ss6washItemID=%s,washCostItemCount=%s,lockTalentIndexs=%ss>Ï´Á¶²ÄÁϲ»×㣬Î佫ÎÞ·¨Ï´Á¶! washItemID=%s,washCostItemCount=%sRis
Ï´Á¶Ç°: %ss
Ï´Á¶ºó: %ssFÎ佫ϴÁ¶½á¹û! itemIndex=%s,heroID=%s,washIDList=%s,lockTalentIndexs=%s(%RPRRRDR!RIR´RRÚRRÐRER]RÝRRRR‘R’R“R”RˆRVR‚R[RURWRXRYRÞRáRTR\RFR^RHRÕ(RR€RsRR:R»t
washItemIDtlockCostItemListRLRèt    lockIndextlockCnttwashCostItemCountR©RªtwashItemIndexListt
washIDListRgRiRðReRfRhRñRlRm((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyR‚s€     &        
    c    Csû|jƒ}|jƒ}|jtjƒ}|sKtjd||fƒdSg}|jtjƒxIt    |ƒD];}|j
tj|ƒ}|j |ƒ|j tj|ƒqnW|jtjƒ|j ƒtjd|||fƒtj|ƒj|ƒdS(Ns.Î佫ûÓÐÏ´Á¶²»ÐèÒªÌæ»»! itemIndex=%s,heroID=%ss2Î佫ϴÁ¶Ìæ»»! itemIndex=%s,heroID=%s,washIDList=%s(RPRÐRDR!RIRR´RFRERVR‚R[R^RÕRRpRqRr(    RR€RsR:RLRèRRgRi((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRÒs"   
c Cs$tjƒj|ƒ}|j}|j}t||ƒ}|s@dS|jƒ}tjd|ƒ}|shdS|j    ƒ}    |dkr÷|t
|    ƒkr­tj d||fƒdS|j t j|ƒ}
|
td|ƒ@s÷tj d|||
fƒdSn|jtj|ƒtj|ƒj|ƒdS(NRNis*¸ÃÎ佫²»´æÔÚ¸ÃÆ¤·ô! heroID=%s,skinIndex=%sis5¸ÃÎ佫Ƥ·ôδ½âËø! heroID=%s,skinIndex=%s,skinState=%s(RRŒRRŽt    SkinIndexRRPRRQt GetSkinIDListRÝRRRtDef_PDict_HeroSkintpowR=R!RCRpRqRr( RgRžRŸRR€t    skinIndexRsR:R_t
skinIDListt    skinState((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytOnHeroWearSkinós,           cCsÁ|jtj|ƒ}|rX|td|ƒB}tjd||||f|jƒƒn;tj||dƒ}tjd||||f|jƒƒtj    |tj||ƒt
||gƒdS(Nis=¼¤»îÎ佫Ƥ·ô: heroID=%s,skinIndex=%s,skinState=%s,updState=%sis=ʧЧÎ佫Ƥ·ô: heroID=%s,skinIndex=%s,skinState=%s,updState=%s( RRR!R"RRRt SetBitValueRRR(RR:R#tisActiveR%tupdState((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytActiveHeroSkin s         cCsVtjƒj|ƒ}|j}|j}|dkr6n|dkrEn t||ƒdS(Nii(RRŒRtHeroIDtBookTypet__doHeroBookAct(RgRžRŸRR:tbookType((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt OnHeroBookUP%s           cCsd}tjƒ}xft|jƒƒD]R}|j|ƒ}|jƒ}|jƒsXq%nt||ƒsmq%n|d7}q%W|S(Nii(RRURVt GetHeroCounttGetHeroByIndext    GetHeroIDtGetPlayerCanUseR|(RtbookCntRfRgRÏR:((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytGetHeroBookActCnt2s   c
    Cso|jƒ}t||ƒr3tjd||ƒdStjd||ƒtjd|ƒ}|scdS|jƒ}tjd|ƒ}|s‹dSt||ƒdkr¸tjd||ƒdSt||dƒ|j    ƒ}|r&t
|ƒdkr&|\}}|r&|r&t j |||dd    t ƒq&nt||gƒt|ƒ}    tj|tjƒtj|tj|    ƒdS(
Ns¸ÃÎ佫ͼ¼øÒѼ¤»î! heroID=%ssÎ佫ͼ¼ø¼¤»î! heroID=%sRNROis%Î佫δ»ñµÃ¹ý£¬²»¿É¼¤»îͼ¼ø! heroID=%sit HeroBookActt notifyAward(RR|RRRRQRRRnR}tGetBookActAwardMoneyRÝRt    GiveMoneyRˆRR5R˜t UpdTaskValueRtTaskType_HeroBookR›tUptateSuccessProgressR!tSuccType_OSAHeroBook(
RR:R R_R`RatawardMoneyInfot    moneyTypet
moneyValueR4((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyR-@s4     " cCs]tjƒj|ƒ}|j}|j}t||ƒ}|s@dS|j|rRdndƒdS(Nii(RRŒRRŽtIsLockRt SetIsLocked(RgRžRŸRR€tisLockRs((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt
OnHeroLockŽs        cCsXtjƒj|ƒ}|j}t||ƒ}|s7dS|jtjƒ}|jtjƒ}|jtj    ƒ}|dkrœ| rœ| rœtj
d|ƒdS|rö|j t j ƒ}    tjddƒ}
|
rö|    |
krötj
d|    |
fƒdSn|jƒ} tjd| ƒ} | sdS| jƒ} tjd| |ƒ}|rQ|jƒnd}tjddƒ}tttjdd    ƒƒƒ}||}tj
d
|| | ||||||f    ƒ|rã|rãtj|||ƒ rãdStjdd ƒ}i}t| |||ƒt| |||ƒt| |||ƒ|r]|r]tj|||dƒ r]dS|jƒ}|jtjdƒ|jtjdƒ|jtj    dƒ|j ƒ|rÿg|j!ƒD]\}}||g^q¿}t"j#||d dt$igƒn|r>|j t j ƒ}    tj%|t j |    dƒt&|ƒnt'j(|ƒj)|ƒdS( Nis8¸ÃÎ佫δ½øÐйýµÈ¼¶Í»ÆÆ¾õÐÑÅàÑø£¬²»ÐèÒªÖØÉú! itemIndex=%st HeroRebirthis5½ñÈÕ¾õÐѹýµÄÎ佫֨Éú´ÎÊýÒÑ´ïÉÏÏÞ! rebirthCnt=%s >= %sRNRiisdÎ佫֨Éú: itemIndex=%s,heroID=%s,quality=%s,heroLV=%s,breakLV=%s,awakeLV=%s,costMoneyTotal=%s(%s+%s)itevent(*RRŒRRŽRR?R!R>RARBRRRRRRÚRPRQRRtGetIpyGameDataNotLogtGetRebirthCostMoneytinttevaltGetFuncCompileCfgRt    HaveMoneyt__calcHeroLVReturnitemt__calcHeroBreakReturnitemt__calcHeroAwakeReturnitemtPayMoneyRÐR=RÕRR#tGivePlayerItemOrMailR5RRRpRqRr(RgRžRŸRR€RsR¢R¡RÁt
rebirthCntt rebirthCntMaxR:R_R`tqualityAwakeIpyDatatawakeCostMoneyR?t lvCostMoneytcostMoneyTotaltratiotreturnItemDictRØtktvtreturnItemList((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt OnHeroRebirthŸsh      
    #"% 
+" c
CsÚi}x­td|ƒD]œ}tjd||ƒ}|s=qn|jƒ}|sUqn|\}}    tdt|    |dƒƒ}    |j|dƒ|    ||<|j|dƒ|    ||<qWtjd|||||fƒdS(NiRŠgY@is3    µÈ¼¶·µ»¹: quality=%s,heroLV=%s,ratio=%s,%s,×Ü%s(    RVRRQRtmaxRIR\RR(
R`R¢RYRXt
returnDicttretLVR¤R¦R§R¨((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRMßs   c
CsÚi}x­td|ƒD]œ}tjd||ƒ}|s=qn|jƒ}|sUqn|\}}    tdt|    |dƒƒ}    |j|dƒ|    ||<|j|dƒ|    ||<qWtjd|||||fƒdS(NiR®igY@s4    Í»ÆÆ·µ»¹: quality=%s,breakLV=%s,ratio=%s,%s,×Ü%s(    RVRRQRR^RIR\RR(
R`R¡RYRXR_t
retBreakLVR°R¦R§R¨((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRNðs   c
CsÚi}x­td|ƒD]œ}tjd||ƒ}|s=qn|jƒ}|sUqn|\}}    tdt|    |dƒƒ}    |j|dƒ|    ||<|j|dƒ|    ||<qWtjd|||||fƒdS(NiRigY@s4    ¾õÐÑ·µ»¹: quality=%s,awakeLV=%s,ratio=%s,%s,×Ü%s(    RVRRQRR^RIR\RR(
R`RÁRYRXR_t
retAwakeLVRTR¦R§R¨((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyROs   c  CsÏtjƒj|ƒ}|j}tjd|ƒtjddƒ}g}i}tj|ƒ}|j    ƒj
t j ƒ}    xÁ|D]¹}
|
dks{|
|    j ƒkr¥q{n|    j|
ƒ} | s{| jƒrÍq{n| jt jƒ} | rtjd|
| fƒq{n| jƒr%tjd|
ƒq{n| jt jƒ} | rˆgt| ƒD]}| jt j|ƒ^qJ}tjd|
|fƒq{n| jƒ}|j|ƒ\}}}|
|krØtjd|
||fƒq{ntjd    |ƒ}|söq{n|jƒ}| jt jƒ}| jt jƒ}| jt jƒ}tjd
|ƒ}|sVq{ntjd |
|||||fƒ|jƒ}xS|D]K\}}td t |d ||d ƒƒ}|j!|dƒ|||<qŒWtjd|||||fƒt"||||ƒt#||||ƒ|j$|
| gƒq{W|sBdSx3|D]+\}
} t%j&|| | j ƒt'dƒqIW|rËg|j(ƒD]\}}||g^q‹}t)j*||ddt'igƒndS(NsÎ佫Dzɢ: itemIndexList=%sREiis7¾õÐѹýµÄÎ佫ÐèÏÈÖØÉúºó²Å¿ÉDzɢ! itemIndex=%s,awakeLV=%ss Ëø¶¨µÄÎ佫ÎÞ·¨Ç²É¢! itemIndex=%ss5ÉÏÕóÖеÄÎ佫ÎÞ·¨Ç²É¢! itemIndex=%s,lineupValueList=%ss<ÉúЧÖеĿ¨ÅÆÎÞ·¨Ç²É¢! itemIndex=%s,heroID=%s,effItemIndex=%sRNROsHDzɢ: itemIndex=%s,heroID=%s,quality=%s,heroLV=%s,breakLV=%s,heroStar=%sigY@s5    ÐǼ¶·µ»¹: quality=%s,heroStar=%s,ratio=%s,%s,×Ü%st HeroDismissRF(+RRŒRt ItemIndexListRRRÚRpRqRRR!R0RRR R?RBR³RDR3RVR‚RPtGetHeroEffectiveCardRQRRR>RAR@tGetDismissReturnItemsR^RIR\RMRNR[R’R¶R5RR#RQ( RgRžRŸRR«RXtdismissItemListRYtolPlayerR6R€RsRÁR„R…tlineupValueListR:Rkt effItemIndexR_R`R¢R¡theroStarRatdismissReturnItemstitemIDt    itemCountt
starRetCntRZR[R\((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt OnHeroDismissst      .   # % #+"cCsqtjƒj|ƒ}|j}|j}|j}i}g}xI|D]A}    |    j}
|    j} | |krmqCn|j| ƒ| ||
<qCW|t    j
kr¬tj d|ƒdStj d||f|j ƒƒ|j ƒjt    jƒ} d} i}xût| jƒƒD]ç}| j|ƒ}| s|jƒr1qn|jt    jƒ}|sOqn|jƒ}xŒt|ƒddd…D]q}|jt    j|ƒ}t|ƒd|kr¬qun|jt    j|ƒ| d7} | t    jkrÜPn|||<quWqWg}i}xü|jƒD]î\}
} | dks| | jƒkr7qn| j| ƒ}| s|jƒr_qn|jƒ}||kr”tj d| |fƒqn|j|ƒ|jƒ}t|||
ƒ}|jt    j|ƒ| |krë||| <n|
|| <qWx|jƒD]}|j ƒqWt!j"|ƒ}|j#|t$ƒ}|j%||ƒ|t    j&krmt!j'||ƒndS(Ns#²»´æÔÚ¸ÃÕóÈÝ£¬ÎÞ·¨±£´æ! lineupID=%ss±£´æÕóÈÝ: lineupID=%s, %siiÿÿÿÿis,ͬ¸öÎ佫ֻÄÜÉÏÕóÒ»¸ö! itemIndex=%s,itemID=%s((RRŒRtLineupIDt    ShapeTypet HeroPosListtPosNumRŽR[R!t
LineupListRRRRR0RVRRR RDR3RÐR‚Rƒt DelUserAttrt LineupObjMaxRRPR2R^tvaluesRÕRpRqt    GetLineupR5t    UpdLineupR1treloadEffHeroCard(RgRžRŸRR8R9t heroPosListt heroPosDictt    indexListtposInfoR;R€R6tdelCountt syncItemDictRsR„RØR…R<t
heroIDListt heroItemDictRmtsyncItemRhtlineup((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytOnHeroLineupSaveks€                          
      cCs|d|d|S(Ni'id((R8R9R;((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyR2¼scCs/|d}|dd}|d}|||fS(Ni'id((R<R8R9R;((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRƒ½s
 
c Cs²tj|ƒ}|jtj|ƒ}|td|ƒ@rStjd||fƒdStjd|ƒ}|sodS|j    ƒ}|t
|ƒkr‘dS||}tjd|ƒ}|s·dS|j ƒ}tjd|ƒ}    |    sßdS|    j ƒ}
|
st
|
ƒdkrdS|
\} } t ||ƒs8tjd|ƒdS|td|ƒO}tj|tj||ƒtjd||||fƒtj|| | ddtƒt||gƒdS(    Nis+ÕóÈÝÍÆ¼ö½±ÀøÒÑÁìÈ¡! recommendID=%s,index=%stLineupRecommendRNROs)Î佫δ»ñµÃ¹ý£¬²»¿É¼¤»îÕóÈÝÍÆ¼ö! heroID=%ss=ÕóÈÝÍÆ¼öÁì½±! recommendID=%s,index=%s,heroID=%s,awardState=%sR7(RtToIntDefRRtDef_PDict_HeroRecommendR"RRRQt GetHeroIDListRÝRRtGetRecommendAwardMoneyRnRRR9RˆR    ( Rt recommendIDRgt
awardStateRÏR‚R:R_R`RaR>R?R@((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pytGetLineupRecommendAwardÉs@ 
   c Cs”|dkr|}ncg}tjƒ}xNt|jƒƒD]:}|j|ƒ}|jƒsaq:n|j|jƒƒq:W|s‚dSg}xÄ|D]¼}tj    d|ƒ}|s³qn|dkró|j
t j |ƒ ró|j
t j |ƒ róqntjƒ}    ||    _|j
t j|ƒ|    _|j
t j |ƒd|    _|j|    ƒqW|sYdStjƒ}
||
_t|
jƒ|
_tj||
ƒdS(NRNi
(tNoneRRURVR0R1R3R[R2RQRRRutDef_PDict_HeroBookHtChPyNetSendPackt    tagSCHeroR+R!t    SkinStatet BookInitStatet tagSCHeroInfot HeroInfoListRÝtHeroCntt NetPackCommont SendFakePack( RR‚tsyncHeroIDListRfRgRÏt syncInfoListR:R_therot
clientPack((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRs>        #          c Csa|r|g}n    tj}g}tj|ƒ}xé|D]á}|j|tƒ}|s[q7nd„|jjƒDƒ}g}xOtddtj    ƒD]7}||kr»|j
||dƒq‘|j
dƒq‘Wt j ƒ}    |j |    _|j|    _||    _t|    jƒ|    _|j
|    ƒq7W|s&dSt jƒ}
||
_t|
jƒ|
_tj||
ƒdS(NcSsi|]\}}||“qS(((t.0RZR[((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pys
<dictcomp>Js    ii(R!RuRpRqRyR5RƒRRVRwR[R‘t tagSCLineupR8RqR9RrtHeroItemIndexListRÝR—ttagSCLineupInfot    LineupCntR˜R™( RR8t
syncIDListt
lineupListRhR…tposNumItemIndexDicttheroItemIndexListR;t
packLineupR((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt Sync_Lineup=s8                   cCs5tjƒ}|jtjƒ|_tj||ƒdS(N(R‘ttagSCPlayerHeroInfoRRRtAwakeRebirthCntR˜R™(RR((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyRas c
Csýg}tjƒ}x£t|jƒƒD]}|j|ƒ}|jƒ}|jtj|ƒ}|dkr}||kr‰q%q‰n |s‰q%nt
j ƒ}||_ ||_ |j|ƒq%W|sÂdSt
jƒ}    ||    _t|    jƒ|    _tj||    ƒdS(N(RRURVtGetLineupRecommendCounttGetLineupRecommendByIndextGetRecommendIDRRR‰RR‘ttagSCLineupRecommendt RecommendIDt
AwardStateR[ttagSCLineupRecommendInfot RecommendListRÝtCountR˜R™(
RR£t recommendListRfRgRÏRŒRt    recommendR((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyR    hs,                      (DR’R!RRR#R›R‘R•R˜RRpR˜RRRßRR
R R R RMRKRtRnRoR|R}RR1R‡R‰R­RRÆRµRˆR·RÑRRûRRRRR RRRR&R*R/R5R-RDR]RMRNRORpR†R2RƒRŽRRR¨RR    (((siD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerHero.pyt<module>s€                                           ,              ?             3        ;         y    +     .         E     ?        P    !                  N        @                Q    Q             I + $