cehua_lyf
2019-03-06 3c8ee0a8a524a6251d7d5aae2372e76fd8a99b9c
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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
r­b\c@s®ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl!Z!ddl"Z"ddl#Z#ddl$Z$ddl%Z%ddl&Z&ddl'Z'ddl(Z(ddl)Z)ddl*Z*ddl+Z+ddl,Z,ddl-Z-ddl.Z.ddl/Z/ddl0Z0ddl1Z1ddl2Z2ddl3Z3ddl4Z4ddl5Z5ddl6Z6ddl7Z7ddl8Z8ddl9Z9ddl:Z:ddl;Z;ddl<Z<ddl=Z=ddl>Z>ddl?Z?ddl@Z@ddlAZAddlBZBddlCZCddlDZDddlEZEddlFZFddlGZGddlHZHddlIZIddlJZJddlKZKddlLZLddlMZMddlNZNddlOZOddlPZPddlQZQddlRZRddlSZSddlTZTddlUZUddlVZVddlWZWddlXZXejYƒaZdZ[dZ\d„Z]e^dd„Z_d„Z`gd„Zagdddgd    „Zbgd
„Zcgd „Zdd „Zegd „Zfgd„Zggd„Zhgd„Zid„Zjgd„Zkggggggd„Zlgddddd„Zmddddd„Znd„Zod„Zpd„Zqd„Zrd„Zsd„Ztdd„Zuevd„Zwd„Zxd „Zyd!„Zzd"„Z{d#„Z|d$„Z}d%„Z~d&„Zd'„Z€d(„Zd)„Z‚d*„Zƒe^d+„Z„d,„Z…d-„Z†d.„Z‡d/„Zˆd0„Z‰d1„ZŠd2„Z‹d3„ZŒd4„Zd5„ZŽd6„Zd7„Zd8„Z‘d9„Z’d:„Z“d;„Z”d<„Z•d=„Z–d>„Z—d?„Z˜d@„Z™dddA„ZšgdB„Z›e^evdC„ZœdD„ZdE„Zždde^ddF„ZŸdG„Z dH„Z¡dI„Z¢dde^ddJ„Z£ddK„Z¤e¥dL„Z¦dM„Z§dN„Z¨dO„Z©dP„Zªej«evdQ„Z¬dR„Z­dS„Z®dT„Z¯dU„Z°dV„Z±dW„Z²ddX„Z³dY„Z´e^dZ„Zµe^d[„Z¶ej·idde^d\„Z¸d]„Z¹d^„Zºdd_„Z»d`„Z¼da„Z½db„Z¾ej¿ie^e^dc„ZÀdd„ZÁde„ZÂdf„ZÃdg„ZÄdh„ZÅdi„ZÆdj„ZÇdk„ZÈdl„ZÉdm„ZÊdn„ZËdo„ZÌdp„ZÍdq„ZÎdr„ZÏds„ZÐdtfdu„ƒYZÑdvfdw„ƒYZÒdx„ZÓdy„ZÔdz„ZÕd{„ZÖe^d|„Z×e^d}„ZØd~„ZÙd„ZÚd€„ZÛevd„ZÜd‚„ZÝdƒ„ZÞd„„Zßd…„Zàd†„Zád‡„Zâdˆ„Zãd‰„ZädŠ„Zåd‹„Zæe¥dŒ„Zçd„ZèddddŽ„Zé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›„Zödœ„Z÷d„Zødž„ZùdŸ„Zúd „Zûd¡„Züd¢„Zýd£„Zþd¤„Zÿd¥„Zd¦„Zd§„Zd¨„Zd©„Zdª„Zdd«„Zeve^d¬dd­„Zd¬dd®„Zd¯„Z    d°„Z
d±„Z d²„Z d³„Z d´„Zdµ„Zd¶„Zd·„Zd¸„Zd¹„Zdº„Zd»„Zd¼„Zd½„Zd¾„Zd¿„ZdÀ„ZdÁ„Zd„ZdÄZdĄZdńZdƄZ dDŽZ!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Ԅ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?dæ„Z@dç„ZAdè„ZBdé„ZCdê„ZDdë„ZEdì„ZFdí„ZGdî„ZHdï„ZIdð„ZJdñ„ZKdò„ZLdó„ZMdô„ZNdõ„ZOdö„ZPd÷„ZQdø„ZRdù„ZSdú„ZTdû„ZUdü„ZVdý„ZWdþ„ZXdÿ„ZYd„ZZd„Z[d„Z\d„Z]d„Z^d„Z_d„Z`d„Zad„Zbd    „Zcd
„Zdd „Zed „Zfd „Zgd„Zhd„Zid„Zjd„Zkd„Zld„Zmd„Znd„Zod„Zpd„Zqd„Zrd„Zsd„Ztd„Zud„Zvd„Zwd„Zxd„Zyd „Zzd!„Z{d"„Z|d#„Z}d$„Z~d%„Zd&„Z€d'„Zd(„Z‚d)„Zƒd*„Z„d+„Z…d,„Z†d-„Z‡d.„Zˆd/„Z‰d0„ZŠd1„Z‹d2„ZŒd3„Zd4„ZŽd5„Zd6„Zd7„Z‘d8„Z’d9„Z“d:„Z”d;„Z•d<„Z–d=„Z—d>„Z˜d?„Z™d@„ZšdA„Z›dB„ZœdC„ZdD„ZždE„ZŸdF„Z dG„Z¡dH„Z¢dI„Z£dJ„Z¤dK„Z¥dL„Z¦dM„Z§dN„Z¨dO„Z©dP„ZªdQ„Z«dR„Z¬dS„Z­dT„Z®dU„Z¯dV„Z°dW„Z±dX„Z²dY„Z³dZ„Z´d[„Zµd\„Z¶d]„Z·d^„Z¸d_„Z¹d`„Zºda„Z»db„Z¼dc„Z½dd„Z¾de„Z¿df„ZÀdg„ZÁdh„ZÂdi„ZÃdj„ZÄdk„ZÅdl„ZÆdm„ZÇdn„ZÈdo„ZÉdp„ZÊdq„ZËdr„ZÌds„ZÍdt„ZÎdu„ZÏdv„ZÐdw„ZÑe^e^dx„ZÒe^e^dy„ZÓdz„ZÔd{ZÕd|„ZÖd}„Z×d~„ZØd„ZÙd€„ZÚd„ZÛdd‚„ZÜddƒ„ZÝdS(„iÿÿÿÿNiic
Cs·tjƒjƒ}d}t||ƒ|kr\|jƒtjd||f|jƒƒtS||jdƒdkr•|j    dƒ|j
d|ƒn|j ƒ}||krôtjd|j ƒƒ|j ƒ}|j    |dƒ|dkrôtSntj|jƒ|jƒ||ƒ}tj||t|jƒƒƒd    }    ||    kr³tjd
||jƒ|jƒ||g|    ||fƒ|j ƒ}|j    |dƒ|dkr³tSntS( NiˆsZPlayerMoveCheckClientWorldTick -- ·þÎñÆ÷tick %s-¿Í»§¶Ë%sʱ¼äÏà²î¹ý´ó£¬¿ÉÄÜÒòÍøÂçÒýÆð£¬À­»Øt    CheckTicki`êis/---clientWorldTick < lastMoveTick: %s, TickÌ«Âýiiis>¾àÀë²î%s ×ø±êS/C:%s---ÑéÖ¤Á½´Îtick¼ä¿ÉÄܲúÉúµÄ×ø±ê²î%s %s - %s(t    GameWorldt GetGameWorldtGetTicktabstSync_ClientTicktDebugLogtGetIDtFalset GetDictByKeyt SetMoveCounttSetDicttGetClientMoveTicktGetAccIDt GetMoveCounttGetDisttGetPosXtGetPosYtmathtceiltfloattGetSpeedtTrue(
t    curPlayertclientWorldTickt sendPack_PosXt sendPack_PosYt gameWorldTicktDef_Max_Move_Tickt lastMoveTickterrCnttdistt canMoveDist((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerMoveCheckClientWorldTickxs6
         $' #  icCs;|dkrd}n|j|jƒ|jƒ||ƒdS(Niÿÿÿÿi(t    NotifyAllt    GetBuffert    GetLength(RtsendPackt
notifySelft    notifyCnt((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PyNotifyAll«s     cCsä|jƒ}|jƒ}|jƒ}tjƒj||ƒr@tStj||dƒ}|jƒ}|jƒ}||kr¬||kr¬|j    ƒtj
d||f|ƒn4|j ||ƒ|j    ƒtj
d||f|ƒt S(Nis Íæ¼ÒÎÞ·¿É×ß, ´ò»ØÖØÉúµã!(%d,%d)s"Íæ¼ÒÕ¾ÔÚÕϰ­µãÖÐ, Í£Ö¹Òƶ¯ (%d,%d)( RRRRtGetMaptCanMoveRtGameMaptGetEmptyPlaceInAreatStopMovetLogtResetPosR(Rt curPlayerPosXt curPlayerPosYt curPlayerIDt
curFindPost curFindPosXt curFindPosY((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoLogic_PlayerInBarrierPoint¸s     
 
cCs7|dkrtjdƒdS|j|t|ƒƒdS(NsNotifyCode Player = None(tNoneRtErrLogt
NotifyCodet__GetNotifyCodeList(RtmsgMarkt msgParamList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR9Þs
  cCs)tjƒj|d|t|ƒ|ƒdS(Ni(RtGetPlayerManagertBroadcastCountry_NotifyCodeR:(tcountryR;R<tlineIDt mergeMinOSDt mergeMaxOSDt mergeMapInfo((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt WorldNotifyïs%cCsitjd6|||gd6S(NtTypetParams(t ShareDefinetCrossNotify_World(R?R;R<((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCrossWorldNotifyInfoóscCsitjd6|||gd6S(NRERF(RGtCrossNotify_Family(tfamilyIDR;R<((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCrossFamilyNotifyInfoöscCs>t||gƒ}tjƒjdddd|t|ƒƒdS(sò ¿ç·þ¹ã²¥ÐÅÏ¢Ìáʾ£¬Ö§³Öͬ²½¶àÌõ£¬Í¬Ê±Ò²½¨Òé¶àÌõÒ»Æðͬ²½
    @param serverGroupIDList: ÐèҪͬ²½µ½µÄÄ¿±ê·þÎñÆ÷×éIDÁбí
    @param crossNotifyList: ÐÅÏ¢ÌáʾÁÐ±í£¬Í¨¹ý GetCrossWorldNotifyInfo GetCrossFamilyNotifyInfo º¯Êý»ñµÃ·µ»ØÖµÌí¼Óµ½Áбí
    it CrossNotifyN(tstrRR=tGameServer_QueryPlayerResulttlen(tserverGroupIDListtcrossNotifyListtsendMsg((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRMùs(cCs&tjƒjd||t|ƒƒdS(Ni(RR=R>R:(RKR;R<((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt FamilyNotify    s"cCs tjƒj|t|ƒƒdS(N(RtGetMapCopyPlayerManagertBroadcastFB_NotifyCodeR:(R;R<((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBNotifyscCstjƒ}xlt|jƒƒD]X}|j|ƒ}|dks|jƒrRqn|jƒ|krt|||ƒqqWdS(N(    RRUtxrangetGetPlayerCounttGetPlayerByIndexR7tIsEmptyt
GetFactionR9(tfactionR;R<tcopyMapPlayerManagertiR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotifySelfs cCstjƒ}xlt|jƒƒD]X}|j|ƒ}|dks|jƒrRqn|jƒ|krt|||ƒqqWdS(N(    RRURXRYRZR7R[R\R9(R]R;R<R^R_R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotifyOther"s cCstjƒ}x|t|jƒƒD]h}|j|ƒ}|dks|jƒrRqn|jƒ|krwt|||ƒqt|||ƒqWdS(N(    RRURXRYRZR7R[R\R9(R]t selfMsgMarktselfMsgParamListt otherMsgMarktotherMsgParamListR^R_R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotify-s cCsL|dkrdSd||f}tjƒjdd|d|t|ƒƒdS(Nis
("%s", %s)t
TeamNotify(RR=RORP(tteamIDR;R<RS((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRg?s
 (c        Csvt||||||||gƒ}tjƒjdddd|t|ƒƒtjd|||||||fƒdS(sÅúÁ¿·¢ËÍÓʼþ, ÓÃÓÚ˲¼äÐèÒª·¢ËͶà·â£¨´óÁ¿£©ÓʼþµÄ£¬±ÈÈçһЩ¹«¹²¸±±¾»î¶¯µÈ½áËãʱ
    @param mailTypeKey: ÓʼþÄ£°åkey
    @param batchPlayerIDList: [playerIDList, playerIDList, ...]
    @param batchAddItemList: [addItemList, addItemList, ...]
    @param batchParamList: [paramList, paramList, ...]
    @param batchGold: [batchGold, batchGold, ...]
    @param batchGoldPaper: [batchGoldPaper, batchGoldPaper, ...]
    @param batchSilver: [batchSilver, batchSilver, ...]
    @param batchDetail: [¼Ç¼ÓʼþÁ÷ÏòÓÃ, ...]
    it SendMailBatchsSendMailBatch %s, batchPlayerIDList=%s, batchAddItemList=%s, batchParamList=%s, batchGold=%s, batchGoldPaper=%s, batchSilver=%sN(RNRR=RORPR.(    t mailTypeKeytbatchPlayerIDListtbatchAddItemListtbatchParamListt    batchGoldtbatchGoldPapert batchSilvert batchDetailtmsgInfo((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRiHs
$(    tc    
CsW|stj}nd|tj|dtƒf}td|d||||||ƒ    dS(s'
    @param detail: ¼Ç¼ÓʼþÁ÷ÏòÓÃ
    s!<MailTemplate>%s</MailTemplate>%st ensure_asciiRsiN(RGtDefaultLackSpaceMailTypetjsontdumpsRtSendMail(    Rjt playerIDListt addItemListt    paramListtgoldt    goldPapertsilvertdetailtcontent((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SendMailByKeyYs
 "c        Cs¿|s
dS|dkrdStjƒr*dSi}    g}
xð|D]è} t| tƒre|
j| ƒq=nt| ƒdkr}q=n| \} } }tj| ƒrÿtjtj    | |ƒƒ}|sÜtj
d| | |fƒq=n|
jt j |ƒƒ|j ƒq=| |f}|    j|dƒ| |    |<q=Wx<|    jƒD].\}} |\} }|
j| | |fƒq6W|||||
||||g    }tjƒjddddd|tt|ƒƒƒtS(Niis-Óʼþ¶¨ÖÆÎïÆ·×ª»¯Ê§°Ü£¡itemID, itemCnt, isBindRxs%s(Rt IsCrossServert
isinstancetdicttappendRPt ItemControlertGetAppointItemRealIDt GetItemByDatatGetAppointItemDictDataR8t
ItemCommontGetMailItemDicttCleartgettitemsR=RORNR(ttitleR€tgetDaysRyRzR|R}R~Rt itemCountDicttcombineItemListtmailItemtitemIDtitemCnttisBindtappointItemObjtkeytcmdList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRxgs<       !2cCs†tjƒ|stSxk|D]c}t|ƒ}|tjkrLtj|ƒq|tjkrqtjt|ƒƒqtj|ƒqWtS(N(    tNotifyCodeListRŒttypettypestIntTypetAddInttLongTypetAddStrRN(R<tmsgtitemPythonType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR:™s
  cCs\|jƒ}|dks$|dkr(dStj|ƒ}tjtjƒƒ}tj||ƒS(NRst0i(t GetLogoffTimeRtGetDateTimeByStrtGetCurrentDataTimeStrtGetDiff_Minute(Rt logoffTimeStrt
logoffTimet    loginTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerMinute²s  cCsp|jƒ}|dks$|dkr(dStj|ƒ}tjtjƒƒ}||}|jddd|jS(NRsR£iii<(R¤RR¥R¦tdaystseconds(RR¨R©Rªt    diff_Time((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerSecondÂs 
cCs‰|jƒ}|dks$|dkr(dS|jƒd}tjƒjƒd}tj|tjƒ}tj|tjƒ}||}|jS(NRsR£i(R¤tsplitRR¦R¥tChConfigtTYPE_Time_Format_DayR¬(RR¨t loginTimeStrR©RªtdiffTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLastLeaveServerPastDayÔs 
cCsÓ|jƒdkrtSt|ƒs&tStjƒjƒtjkrytjƒjƒt    j
ddƒkryt |dƒtSntj ƒ r£t |ƒr£t |dƒtS|jtjƒrÏtjd|jƒƒtStS(NitDungeonDeliveritCarry_lhs_844170t
CrossMap10s¿Í»§¶Ë×Ô¶¨Ò峡¾°ÏÂÎÞ·¨´«ËÍ!(tGetHPRtCheckTransStateRR)t GetMapFBTypet IPY_GameWorldtfbtNulltGetMapIDt IpyGameDataPYtGetFuncEvalCfgR9R‚t GetCrossMapIDR    R±tDef_PlayerKey_ClientCustomSceneR.t GetPlayerIDR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckPlayerTransportês $  cCsh|dkrtS|jƒjtjƒ}|jtjƒ}|rQ|jƒ rQtSt|d|gƒt    S(NiL'tGeRen_lhs_861048(
RtGetItemManagertGetPackR¼trptEquiptGetAttretWingR[R9R(Rt    destMapIDt playerEquiptcurEquip((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckEquipCanTrans"s cCsut|ƒ|jƒt|tƒ|j|ƒ|j|ƒ|j|ƒ|jƒtj    ƒj
ƒ}t ||ƒdS(N( tExitPlayerConfrontingR-tSetIsNeedProcessRtSetPrepareTimetSetPrepareStatet SetPrepareIDtSync_PrepareBeginRRRtDelLimitSuperBuff(Rt prepareTimet prepareTypet    prepareIDttick((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÔ:s
 
 
 cCsð|jƒ}||krdSt|ƒ|tjkrBt|ƒn|tjkr‘| r‘|tjtjgkr‘t    j
d||j ƒƒdSn|tj kr­t |ƒn|j|ƒ|tjkrÍdSt    jƒjƒ}t||ƒdS(Ns²»Ç¿ÖÆ×ª»»×´Ì¬ %s(tGetPlayerActiont DoPlayerStandR±tDef_PlayerCancelConfrontingRÏR¼tpaEventtpaNulltpaAttackRRRt paPreparingtDoExitPreparingtSetPlayerActionRRRÕ(Rt changeActiont forceChangetcurPlayerActionRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytChangePlayerActionSs$  
    cCsÉtj|ƒ|jƒ}|dkr?tjd|jƒƒdS|jƒtj    krntjd|jƒƒdStj
ƒj |j ƒƒ}|dkr¯tjd|jƒƒdS|j ƒ}|jƒdS(NsDoExitPreparing -> Ã»ÓÐÄ¿±êsDoExitPreparing -> ²É¼¯¶ÔÏó²»¶ÔsDoExitPreparing ->ûÓÐÕâ¸öNPC(t    NPCCommontClearCollectNPCt GetActionObjR7RR.RÃtGetGameObjTypeR¼tgotNPCt GetNPCManagert GetNPCByIndextGetIndextGetPlayerHurtListRŒ(RttagObjtcurNPCtcurNPC_HurtList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRáxs     
cCsOt||ƒrdS|jtjƒ}|td|ƒB}t|tj|ƒdS(Ni(tGetPyPlayerActiontNomalDictGetPropertyR±tDef_Player_Dict_PyPlayerActiontpowtNomalDictSetProperty(RRãtstate((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytChangePyPlayerAction”s cCs/|jtjƒ}|td|ƒ@}|dkS(Nii(RôR±RõRö(Rtactiont receiveStateRø((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRó¤scCsA|jƒ}||krdS|j|ƒtj|d|ƒdS(NsÉèÖÃÍæ¼ÒÊÇ·ñ¼¤»î:%s(tGetIsNeedProcessRÐRtGodLog(Rt isNeedProcesstcurPlayerIsNeedProcess((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRвs    cCs|jƒtjkrtStS(N(RÚR¼RßRR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytIsPlayerInFightÁscCsdS(N((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAutoEnterPlayerConfrontingÔscCsdS(N((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÏëscCs&|jƒtjkrdS|jƒtjtjgkr;dStjƒj    ƒtj
krZdS|j ƒ}|dkrvdS|j ƒtjkrdStjƒj|jƒƒ}|dkrºdS|jƒtjdƒkrÙdStjd|jƒƒt|tjƒ|j ƒdkr"|jdƒndS(NtBreakPlayerCollectNPCIDLists    ²É¼¯±»´ò¶Ï ²É¼¯ÎïNPCID=%s(RÚR¼RàtGetPrepareStatetpstMissionCollectingRGtDef_PstProduceRR)R»R½RéR7RêRëRìRíRîtGetNPCIDt ReadChConfigtGetEvalChConfigRRæRÞt SetActionObj(RRðRñ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytBreakPlayerCollects*   cCs>|jƒtjkrdS|jƒt|tƒ|jƒdS(N(RÚR¼tpaSitR-RÐRtSit(RRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt DoPlayerSit2s 
 
cCs'|jƒtjkrdS|jƒdS(N(RÚR¼R tStand(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÛIs
cCs2|jdƒt|ƒ|jƒ|j|ƒdS(N(R    R7RÏR-tView_ShowPlayerFace(RtfaceType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoPlayerShowPlayerFaceWs
 
 
 cCs6|jƒ|j|jtjƒ|jtjƒƒdS(N(R-tSetDeadR    R±tDef_NPCDead_KillerIDtDef_NPCDead_KillerType(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt DoPlayerDeadgs
c Csß|jƒs&tjd|jƒƒtS|jƒsLtjd|jƒƒtStjƒ}t}|j||ƒtkr#t    j
||t j ƒ}|j ƒ|krÖ|jƒ|krÖtjd||f|jƒƒtStjd|||j ƒ|jƒf|jƒƒ|j ƒ}|jƒ}n|j ƒ}|jƒ}    tj||||    ƒ}
|
dkryt|||||ƒtSt}tjd||||    |
fƒ|}|    }t|||||ƒtSt|||||ƒtS(NsµØÍ¼Ã»ÓжÁÈ¡³É¹¦, Ë¢ÐÂʧ°ÜsûÓÐËٶȲ»ÄÜË¢ÐÂ×ø±ê!s6Íæ¼ÒÖØÖÃλÖÃʧ°Ü, °ÑÍæ¼Ò´ò»ØÖØÉúµã posX = %s posY = %ssX×ø±ê´íÎ󣬼ì²éÍæ¼ÒͣϵÄ×ø±êÊÇ·ñÕýÈ· posX = %d, posY = %d, ÖØÖÃλÖÃ:posX = %d, posY = %dis+Client=(%s,%s), Server=(%s,%s), ²îÒì¾àÀë=%s(t GetMapLoadOKRR.RÃRRR)R*RR+R,R±tDef_DropItemDistRRRt__FixPlayerPosR( RtcheckObjtposXtposYtcanChangeClientPostcurMapt needResetPost    resultPostobjPosXtobjPosYR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerRefreshPosysB       $        )        cCs8|r|j||ƒdS|r4|j||ƒdSdS(N(R/t    ChangePos(Rt
changePosXt
changePosYtneedResetServerPostneedChangeClientPos((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR:scCsag}x6t|jƒƒD]"}|j|ƒ}|j|ƒqWx|D]}tj|ƒqFWdS(N(trangetGetSummonCounttGetSummonNPCAtR…Rçt    SetDeadEx(Rt summon_Listtindext curSummonNPCt    summonNPC((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytKillPlayerSummonNPCKs cCs|jƒ}|tjkS(N(RÚR±tDef_Player_Can_Transfer_State(RRå((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerCanStateTransferZs cCsCdStj|ƒr?|jƒ}|jdƒtj||ƒndS(N(t PlayerTrucktGetHaveAutoTrucktGetTrucktSetOwnerR7tPlayerTruckDown(RtcurPlayerTruck((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__TruckPlayerDisconnectgs   cCs,|jƒtjkr(tj|tƒndS(N(tGetPlayerVehicleR¼tpvHorset PlayerHorsetPlayerRideHorseDownR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RidingHorsePlayerDisconnectvscCsÅtj|ƒ|jƒ}|dkr5|jdƒntj||ƒtj|dƒt    j
|||ƒt j |ƒtj |ƒtj|ƒtj|ƒtjƒjƒdkrþtjƒjƒ}|rÒdnd}||gtj|<tj||ƒntj||ƒt|ƒt||ƒtj|ƒ|jƒtj kr`tj j!|jƒƒnt"t_#t$j%||ƒ|st&j'|ƒn|jƒ}tj(j!|dƒtj)j!|dƒdS(Niii(*t
EventShelltEventResponse_OnLeaveMapR5R7R6t SkillCommontRefreshAllSkillRemainTimet PlayerTradet
LeaveTradet
PlayerTeamtTeamPlayerLeaveMapRçRèt DoExitEventt ExitShopItemtExitWatchShopItemRR)R»RtGetCurGameWorldIndext
PyGameDatatg_lastExitFBTypetFBLogict DoExitFBLogictGameLogic_ManorWartDoExitFBt__ClearLeaveNoSaveBufftUpdateOnLineTimetPassiveBuffEffMngtOnPlayerLeaveMapRÃtg_maliciousAttackDicttpopRtg_needRefreshMapServerStatet PlayerSuccesstFinishDelayAddSuccessProgresstCrossPlayerDatatClearCrossSyncDataCachetg_zhuXianSkillAddPerDicttg_zhuXianSkillReducePerDict(RRÙt isDisconnectR8tfbIndext
exitFBTypetplayerID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerLeaveServerLogicƒs<       
       cCs—|jtjƒ}|dkr5|jtj|ƒdS|jtj|ƒ||d}|dkr“|j|jƒ|ƒ|j|jƒ|ƒndS(Niiè(R    R±tDef_PlayerKey_CalcOLTimeTickR tSetWeekOnlineTimetGetWeekOnlineTimet SetOnlineTimet GetOnlineTime(RRÙt lastCalcTicktdiffSec((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRRÑs  cCs=dStjƒ}|jƒ|jƒ|_tj||ƒdS(N(tChPyNetSendPackttagMCOnLineTimeTotalRŒRgtOnLineTimeTotalt NetPackCommont SendFakePack(RR%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSyncOnLineTimeTotalås  
cCsPdStjƒ}|jƒ||_|jtj|ƒ|_tj    ||ƒdS(N(
RjttagMCOnlineTimeLastOpenPackRŒtPackTypeRôR±t$Def_Player_Dict_LastAutoOpenPackTicktLastOnLineTimeRmRn(RtpackTypeR%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSyncOnLineTimeLastOpenPackñs 
    cCs|jƒjƒdS(N(t
GetMapBuffRŒ(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRQþscCsÌt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||j    ƒt|ƒdS(N(
tPlayerClearBuff_Singlet GetBuffStatetClearBuffByDisconnecttGetDeBuffStatetGetAurat
GetIncBuffRvtGetActionBuffManagertGetProcessBuffStatetGetProcessDeBuffState(RRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DisconnectClearBuffscCsÇtj||ƒt||ƒt|ƒ}|jƒtj|ƒtj||ƒt    ||t
ƒt |ƒt |ƒt |ƒ||jƒ|jƒgtj|jƒ<tjdtj|jƒƒdS(NsÍæ¼Ò´Ó±¾µØÍ¼ÀëÏß: %s(t
PetControltDoLogic_PetInfo_OnLeaveServerR€t PlayerControltRefreshAllStatetPlayerBillboardt"UpdatePlayerBillboardOnLeaveServertPlayerViewCacheTubetOnPlayerLogOutRbRR>R9R0RRRKtg_disconnectPlayerRÃRR(RRÙt playerControl((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLeaveServer$s  
 
 
 
(cCs"|tjkrdStj|dS(Ni(RKR‰(Ra((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerTickEscCs%|tjkrdStj|dd!S(Niii(ii(RKR‰(Ra((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerPosLscCsQxJtjjƒD]9\}}|d}||dkrtjj|ƒqqWdS(Nii€î6(RKR‰RŽRV(RÙRat    leaveInfot    leaveTick((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt"RemoveTimeoutLeaveServerPlayerInfoTs
 
cCs6|tjkr2tjj|ƒtjd|ƒndS(Ns%½øÈë±¾µØÍ¼£¬ÒƳýÉÏ´ÎÔÚ±¾µØÍ¼ÀëÏ߼Ǽ!(RKR‰RVRR(Ra((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRemoveLeaveServerPlayerInfo\scCs~|jƒjtjƒ}xLt|jƒƒD]8}|j|ƒ}| s+|jƒrYq+n|jƒq+Wt    |t
j dƒdS(Ni( RÆRÇR¼t
rptRecycleR(tGetCountRÉR[RŒR÷R±tDef_Player_Dict_DelPackIndex(RtbackPackR_tcurItem((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDelRecylcePackgscCsc|jƒ}|dkrtStj|jƒ|jƒ|jƒ|jƒƒ}|tjkr_tSt    S(N(
R5R7RRRRRR±tDef_PlayerTruckEventDistR(RtcurTruckR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__GetCanChangeMapSetTruckzs  
c
Cst|ƒ|jƒ}|tkr:t|ƒs:t}q:n|tkrƒ|jƒtjkrƒ|jƒ}|rƒt    j
||ƒqƒn|j |ƒ|j ƒ}|j ƒr¸t|dƒnt||tƒtj||ƒtj|ƒx,|jƒr|jdƒ}tj|ƒqèWtjƒjƒtjkré|jƒtjddƒkré|jƒ}|jƒ}|j ƒ}|j!ƒ}    t"|t#j$|ƒt"|t#j%|ƒt"|t#j&|ƒt"|t#j'|    ƒtj(d||    ||fƒne|j)t#j$ƒ}|j)t#j%ƒ}|j)t#j&ƒ}|j)t#j'ƒ}    tj(d||    ||fƒ|j*ƒ|tkr™|jƒ}|dkr™|j,dƒ|j-ƒq™ndS(NtGeRen_admin_70569itMapLineis>×îºóÒ»´ÎÀ뿪µÄ·ÇÖÐÁ¢³£¹æµØÍ¼¸üÐÂ!mapID=%s,lineID=%s,Pos(%s,%s)s>×îºóÒ»´ÎÀ뿪µÄ·ÇÖÐÁ¢³£¹æµØÍ¼²»±ä!mapID=%s,lineID=%s,Pos(%s,%s)(.tNotifyStartChangeMaptGetChangeMapTakeTruckRRšRR:R¼tpvTruckR5R3R7tSetChangeMapTakeTruckt GetPlayerShoptGetIsStartShopR9RbRMtDoPlayerChangeMapLogicRtReCallFightPetR)R*RçR+RR)R»R½R¾R¿RÀRRtGetClientLineIDR÷R±tDef_Player_Dict_FromMapIDtDef_Player_Dict_FromPosXtDef_Player_Dict_FromPosYtDef_Player_Dict_FromLineIDRRôtDoResetWorldPosAndClearR7tSetTruckt    Disappear(
RRÙt    takeTruckR™t
playerShopR/tmapIDRRR@((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoPlayerResetWorldPos—sR
    !     9     
    c
Csk|jtjƒs&tj|dƒdStjd|jƒƒtjƒrYt    j
|ƒdS|j ƒt j ddƒkr=|jtjƒ}|jtjƒ}|jtjƒ}|jtjƒ}|smt j ddiƒ}|sädS|jƒ}d}||kr||\}}}q:|jƒ}|d\}}}qmn0|jƒ}|jƒ}|jƒ}|jƒ}||j ƒkr´tjƒ}|jƒ|jƒ|jƒ}}}ntjd|||f|jƒƒtjƒrtjƒjƒj ƒdkrtj!ƒ}    |    j"dƒnt#||||t$|ƒ|j%ƒt&j'gksZ|j(ƒrg|j)ƒndS(NisPlayerLeaveFB...Rœit CreateRoleMapis.PlayerLeaveFB MapID = %d, PosX = %d, PosY = %d(*RôR±t!Def_Player_Dict_RouteServerInitOKtGameServerRefresht%Set_PlayerRouteServerInitOK_OnLeaveFBRR.RÃR‚tCrossRealmPlayertPlayerExitCrossServerR¾R¿RÀR¦R§R¨R©tGetJobtvaluest GetFromMapIDt GetFromPosXt GetFromPosYt GetFromLineIDR)tGetRebornMapIDt GetRebornMapXt GetRebornMapYtGameWorldProcesstIsNoPlayerNeedCloseFBRRURYt    GetGameFBtSetIsSafeClosetPlayerResetWorldPosFBRRÚR¼RÞtIsMovingt
BeginEvent(
RR¯RRR@tcreateRoleMapDicttjobt mapInfoListtgameMaptgameFB((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerLeaveFBøsJ          )#* 
$ cCsý|jƒ}tjd||ƒtjƒr=tjdƒdSt|ƒrctjd|jƒƒdStjƒs€t    |dƒdS|j
ƒdkr£t    |dƒdSt j |ƒrÃt    |dƒdSt j|ƒrét    |d|gƒdStj||ƒdS(    NsÍæ¼ÒÇëÇó½øÈë¿ç·þµØÍ¼: mapID=%ss¿ç·þ·þÎñÆ÷²»ÔÊÐí¸Ã²Ù×÷!s+Íæ¼Òµ±Ç°Îª¿ç·þ״̬£¬²»ÔÊÐíÔÙ´ÎÇëÇó½øÈë¿ç·þ!tCrossMatching18it    CrossMap4t    CrossMap3t SingleEnterPK(RÃRR.R‚RRÁR8RµtIsCrossServerOpenR9R¹tPlayerCrossRealmPKtGetIsCrossPKMatchingt PlayerStatet IsInPKStatetGY_Query_CrossRealmRegtRegisterEnterCrossServer(RR¯Ra((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerEnterCrossServer>s,        c CsCtj|ƒ}tjd||||f|jƒƒtjƒj|ƒshtjd||jƒƒdStj    |ƒ}tj
||ƒ}|s•|n    |j ƒ}tj ƒj ƒ}t||||||ƒtjkrÛdS|dkrS|dkrStj|||ƒ}    tj||||    |ƒ}
|
sDtjd||fƒdS|
\}}n|jƒrl|jƒnd} t} tjƒj|ƒ} | tjkrà|jƒrà|jƒtjkr×tjd|jƒƒdSt} n| s
|tjks
|t j!dƒkr g}|tj"kr{t#j$ddƒ}||kr`t%||||t| d    |ƒdSt&j'|ƒ}|g}n‹|tj(krt)j'|ƒ}|d
g}|j*tj+tj(ƒ}|tj,|tj(ƒkr|j*tj-ƒr||j.ƒg}qqnt/|||||ƒdSt%||||t| d    |ƒdS( Ns4Íæ¼ÒÇëÇó½øÈ븱±¾! mapID=%s,lineID=%s,posX=%s,posY=%ss###·Ç·¨µØÍ¼Êý¾Ý£¬mapID: %sis&δÕÒµ½½øÈ븱±¾×ø±ê£¡mapID=%s,lineID=%ss!·Ç¶Ó³¤£¬ÎÞ·¨·¢Æð½øÈë×é¶Ó¸±±¾ÇëÇó!tMapID_SendToGameServertSealDemonNewbieLineit
funcLineIDiÿÿÿÿ(0tFBCommontGetRecordMapIDRR.RÃR)t IsMapIDExistR8Rt GetFBIpyDatatGetFBLineIpyDataR¾RRt CheckMoveToFBRGtEntFBAskRet_OKtGetFBLineEnterPosInfoRMtOnGetFBEnterPosRÅR-RtGetMapFBTypeByMapIDR¼tfbtTeamt    GetTeamIDt    GetTeamLVt    tmlLeaderRR±tDef_MapID_SendToGameServerRRtDef_FBMapID_SealDemonR¿RÀRÄtGameLogic_SealDemontCurFBLineBOSSIDtDef_FBMapID_ZhuXianBosstGameLogic_ZhuXianBossRôtDef_Player_Dict_EnterFbCntDaytGetEnterFBMaxCnttDef_PDict_ZhuXianBossHelpCntt GetFamilyIDtSendToGameServerEnterFB(RR¯R@RRt    fbIpyDatat fbLineIpyDatat
sceneMapIDRÙtipyEnterPosInfotretPostfbIDtisSendToGameServert    mapFBTypetextendParamListtnewbielineListtbossIDtenterCnt((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerEnterFBcsd    $         cCstjd|||f|jƒƒ|dkrGtj|||ƒ}n||g}|j|ƒd|}|jtj    dd|t
|ƒƒdS(Ns=SendToGameServerEnterFB mapID=%s,lineID=%s,extendParamList=%ss%sitEnterFB( RR.RR7RMtGetPlayerFBLineIDtextendtGameServer_QueryPlayerByIDR±tqueryType_EnterFBRP(RR¯R@RÙRýRS((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRôÆs       
"c    Csìtj|||||d||ƒ}|tjkr7|S|jƒdkr]tjdƒtjStj    |ƒr|rˆt
|d|gƒntj S|rÃ|j ƒt jkrÃtj|ƒrÃtjSntj|ƒrõ|rît
|d|gƒntjStj|ƒr'|r t
|d|gƒntjSt|ƒre|tjkre|r^t
|d|gƒntjS|jƒ}    |    t jkr£|rœt
|d|gƒntjS|    t jkrÏ|rÈt
|d    ƒntjS|j tj!ƒr|r÷t
|d    ƒntjd
|j"ƒƒtj#S|    tj$kr@|r9t
|d    ƒntj#Sx=tj%D]2}
t&||
ƒrJ|rut
|d    ƒntj#SqJWtj'ƒj(ƒt j)kršt*} t+j,d ƒ} tj'ƒj-ƒ} | | krç|| | krçt.} ntj'ƒj/|ƒ}|t j)kr/| t0j1d dƒkrnt.} qnn?tj2| ƒtj2|ƒkrnt3j4|||ƒrnt.} qnn| sš|rt
|d |gƒntj5Snt3j6||||ƒsåtj7d|j"ƒƒ|rÞt
|dƒntj#StjS(sþÅжϿɷñ½øÈ븱±¾£¬°üº¬ÊÖ¶¯¼°Æ¥Åä
    @param isTeamAsk: ÊÇ·ñÊǶÓÎé½øÈëÇëÇóµÄ£¬Ò»°ãÊǶÓÎé״̬Ï£¬¶Ó³¤·¢Æð½øÈ븱±¾£¬ÐèÒª¼ì²é¶ÓÔ±¿É·ñ½øÈ룬´ËʱΪTrue£¬¿É×öһЩ¸½¼Ó´¦Àí
    @note: ²ß»®ÒªÇóÌáʾ°´ÓÅÏȼ¶À´£¬¸±±¾×ÔÉíµÄÌõ¼þÏÞÖÆÓÅÏÈÌáʾ£¬ÆäËû¸½¼ÓÌáʾÓÅÏȼ¶½ÏµÍ
    iisÍæ¼ÒÒѾ­ËÀÍö, ÎÞ·¨½øÈ븱±¾!tSingleEnterDefaulRÐtCrossMatching8t    CrossMap5tSingleEnterGathertCarry_lhs_697674s¿Í»§¶Ë×Ô¶¨Ò峡¾°ÏÂÎÞ·¨½øÈ븱±¾!tFBEnableTransportMapR¶tSingleEnterDungeons    OnEnterFBEvent False!(8RÜtCheckCanEnterFBCommRGRâR¹RR.tEntFBAskRet_Deadt    PlayerTJGtGetIsTJGR9tEntFBAskRet_TJGRèR¼RéRÔt IsInBossStatetEntFBAskRet_BossStateRÕtEntFBAskRet_PKStateRÒRÓtEntFBAskRet_CrossPKMatchingRÁR±tDef_CrossMapIDListtEntFBAskRet_InCrossMapRÚRàtEntFBAskRet_PreparingR tEntFBAskRet_SitR    RÂRÃtEntFBAskRet_OthertDef_Player_Cannot_TransStatet(Def_Player_NotCan_EnterFbPyGameEvenStateRóR)R»R½RRRR¾RRåR¿RÀRÝRMtCanChangeSameDataMapFBtEntFBAskRet_InFBtOnEnterFBEventR(RR¯R@RõRöRÙtisNotifyt    isTeamAsktrett playerActionR-tcanFBMoveToOthertfbEnableTransportMaptcurMapIDt toMapFBType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRáÛsŽ$ 
        
cCs&tjƒjƒ}tj||ƒdS(N(RRRtPlayerGameWallowtDoLogic_WallowOnlineTime(RRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerTickbscCs7|jƒ|krdSt|tj|ƒtjd||||f|jƒƒ|jtj|ƒ|jtj    |ƒ|jtj
|ƒt |||ƒt |ƒt jƒ}|jƒ||_||_||_tj||ƒ|jdƒ|j||ƒt||ƒt jƒ}|jƒtj||ƒdS(sPÍæ¼ÒÇл»µ½Ö¸¶¨¸±±¾¶ÔÓ¦µÄ¹¦ÄÜÏß·ID£¬ÊÊÓÃÓڶೡ¾°ºÏ²¢Ò»ÕŵØÍ¼µÄÇé¿ö£¬ºó¶ËÐèÔÚͬһÕÅÎïÀíµØÍ¼²ÅÄÜʹÓøú¯Êý
    ÓÉÓÚǰ¶ËµØÍ¼ºÏ²¢µÄ³¡¾°¼ÓÔØÊÇ·Ö¿ªµÄ£¬ËùÒÔÔÚÇг¡¾°µÄʱºò²»ÄÜÖ±½ÓÉèÖÃ×ø±ê£¬ÒòΪǰ¶Ëʵ¼ÊÉϲ»´æÔÚ¸Ã×ø±ê
    Íæ¼ÒÖ±½ÓÔÚµØÍ¼ÖÐÇл»¹¦ÄÜÏß·ID£¬´Ëʱǰ¶ËÐèÒª×ßÕý³£µÄÇÐͼÁ÷³Ì²ÅÄܼÓÔØÄ¿±ê¹¦ÄÜÏß·ID¶ÔÓ¦µÄ³¡¾°
    ¹ÊÕâÀï×ö¸öÐé¼ÙÇÐͼÁ÷³Ì
    NsHÍæ¼Ò¸±±¾Öбä¸ü¹¦ÄÜÏß·ÐéÄâÇеØÍ¼: mapID=%s,posX=%s,posY=%s,funcLineID=%si(R¾R÷R±tDef_Player_Dict_ReqFBFuncLineRR.RÃR tDef_PlayerKey_ChangeMapIDtDef_PlayerKey_ResetFBLinePosXtDef_PlayerKey_ResetFBLinePosYtNotifyPrepareChangeMapRt ChNetSendPackttagPlayerMapInitRŒtMapIDtPosXtPosYRmRntSetSightR/tSetFBFuncLineIDttagServerPrepareOK(RR¯RRRÛt playerMapInitt    prepareOK((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerResetWorldPosFBLineIDls.    
 
               
c     Cstjƒjƒ}    |jtjƒ}
|    |
dkrztjd||||||||    |
f    |jƒƒt|dƒdS|j    tj|    ƒ|} tj
ƒj |ƒt j krêtj|ƒ}tj||ƒ} | rê| jƒ} qêntjdƒ} || kr;| |}|r;tj|ƒ} tjd| ƒq;n|rN|jƒn|sjtj|tjƒntj|||ƒ}t|tj|ƒtjd| |||||||    |
f    |jƒƒ|j | |||||ƒ|j    tj!| ƒt"|ƒt#|| |ƒdS(sÎ
    ²ÎÊý˵Ã÷:
        @param fbID:
            ´óÓÚ0µÄÕûÊý:
                Èç¹û²ÎÊýmapIDÖ¸¶¨µÄµØÍ¼´æÔÚfbIDÖ¸¶¨µÄ·ÖÏߣ¬ÔòÖ±½Ó´«Ë͵½²ÎÊýmapIDËùÖ¸¶¨µÄµØÍ¼µÄfbIDËùÖ¸¶¨µÄ·ÖÏߣ¬·ñÔòÔÚËùÓдæÔڵķÖÏßÖУ¬Ëæ»úѡһÌõ·ÖÏß´«Èë¡£fbIDµÄ¼ÆËã¼ûÏÂÃæfbID=-1µÄ˵Ã÷¡£
            -1£º
                ½Ó¿ÚÄÚ²¿×Ô¶¯Ìæ»»³Éµ±Ç°fbID£¬´«Èë²ÎÊýmapIDËùÖ¸¶¨µÄµØÍ¼£¨ÕâÀï²ÎÊýmapIDÆäʵÊÇDataMapID£©µÄͬһfbIDµÄµØÍ¼(Èç¹ûÓУ¬Ã»ÓÐÔòËæ»ú)¡£
                Ï־͵±Ç°fbIDµÄ¼ÆËã,¾ÙÀý˵Ã÷,¼ÙÉèµØÍ¼AºÍµØÍ¼BÔÚMapID.txtÅäÖÃÈçÏ£º
                MapName     MapID   DataMapID FBCount
                µØÍ¼A         101     101     3
                µØÍ¼B         102     101     3 
                ¼´µØÍ¼AºÍµØÍ¼BÓй²Í¬µÄDataMapID,ÄÇôµØÍ¼B½ø³ÌÄÚ²¿µÄµÚÒ»Ìõ·ÖÏߵĿͻ§¶ËID¾ÍÊÇ3(ËùÓзÖÏߵĿͻ§¶Ë·ÖÏßID:0¡¢1¡¢2¡¢3¡¢4¡¢5)
            -2£º
                Ö±½ÓËæ»ú´«µ½²ÎÊýmapIDËùÖ¸¶¨µÄµØÍ¼µÄijһÄÚ²¿·ÖÏߣ¬ÕâÀïµÄijһÄÚ²¿·ÖÏßÏÞÓÚMapID.txtÖÐmapIDΪ´«Èë²ÎÊýmapIDµÄµØÍ¼½ø³ÌµÄ·ÖÏß¡£
    
        @param funcLineID: ¹¦ÄÜÏß·ID
    ièsiÍæ¼ÒÇÐͼCDÖÐ: mapID=%s,posX=%s,posY=%s,takeTruck=%s,fbID=%s,msg=%s,funcLineID=%s,tick=%s,lastTransTick=%st    MapMoveCDNt
FBMapShuntsµ¥È˵ØÍ¼·ÖÁ÷ sceneMapID=%ssrÍæ¼ÒÇëÇó¿ªÊ¼ÇÐͼ: sceneMapID=%s,posX=%s,posY=%s,takeTruck=%s,fbID=%s,msg=%s,funcLineID=%s,tick=%s,lastTransTick=%s($RRRR    R±tDef_PlayerKey_TransTickR.RÃR9R R)RåR¼R½RÜRÝRàR¾RRtrandomtchoiceRRÆR3tSetAutoTruckStateRGt Def_Out_TruckRMtGetPlayerResetWorldPosFBMsgR÷R,tResetWorldPosReqR-R+R0(RR¯RRR­RúR¡tcanLockRÛRÙt lastTransTickR÷RötFBMapShuntDictt    shuntList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÄžsB    ,  
     ,
cCs_|jtƒtjƒ}|jƒ||_||_tj||ƒt    j
d|j ƒƒdS(Ns ×¼±¸Çл»µØÍ¼( t
SetVisibleRRjttagMCPrepareChangeMapRŒR3t
FuncLineIDRmRnRR.R(RR÷RÛR%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR0ãs  
        cCsjtjƒ}|jƒ|jtjƒ|_|jtjƒ|_    t
j ||ƒt j d|jƒƒdS(Ns֪ͨ¿ªÊ¼Çл»µØÍ¼(RjttagMCStartChangeMapRŒR    R±R-R3RôR,RKRmRnRR.R(RR%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRïs 
cCs-tjƒjƒ|kr-tjd|ƒdStjƒ}|jƒtjkr_t|dƒdS||j    ƒkr›tjd||j    ƒf|j
ƒƒdSt |t j |dƒt |t jdƒt |t jdƒt||jƒ|jƒ|jƒt|ƒtjd|jƒ|f|j
ƒƒdS(NschangLineID SameLine = %stGeRen_liubo_180377s»»ÏßµÄÄ¿µÄµØ²»´æÔÚ = %s, %siisÍæ¼Ò = %s Çл»·ÖÏß = %s, Ëø×¡(RRt    GetLineIDR8R)R»R¼R½R9t GetMaxFbCountRR÷R±t Def_Player_Dict_PlayChangeLineIDt Def_Player_Dict_FuncChangeLineIDt Def_Player_Dict_HighChangeLineIDRÄR¾RRRR.tGetName(Rt changLineIDRÊ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerChangeLineÿs   &+&c     Cstjƒ}    t||    jƒ|    jƒ|||ƒ}
tjd|||
f|jƒƒ|    jƒ|krØ|
dks†|    jƒ|
krØ|r¥tj||||ƒntj    |||ƒt
j |tjƒj ƒƒdSt ||||||
||ƒtjƒdS(Ns&·ÖÁ÷ mapID=%s,lineID=%s,shuntLineID=%siÿÿÿÿ(RRtGetResetWorldPosShuntLineIDR¾RNRRÃtChPlayertNotifyPlayerMovetResetPlayerPost
SkillShelltProcessMapBuffRRÄRÀtOnPlayerLeaveMapCloseFB( RR¯RRR­R@R¡REtexData1t    gameWorldt shuntLineID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerResetWorldPos(s '#0
cCstj|ƒr)tjd|jƒƒ|Stjƒr9|S|tjksW|tjkr[|Stj|}|jƒ}|jt    j
ƒ}|jt    j ƒ}    |jt    j ƒ}
tjd|||||f|ƒ|dkr´| r"|     r"|
r"t |t    j |dƒtjd||f|ƒn|r°tj|ƒr°t||||||jƒƒ} | dkr°tjƒjƒ} tjd|| f|ƒtj||| || ƒ| Sn|S||krÔtjd|ƒ|Stjddƒ} || kr>| |}i}xK|jƒD](\}}||kr-qn|||<qWn|}t|ƒ}tjd    ||fƒ|r›|t|ƒkr›tjd
||ƒ|dS|    râ|    t|ƒkrâtjd |    |ƒt |t    j d ƒ|    dS|
r)|
t|ƒkr)tjd |
|ƒt |t    j d ƒ|
dS||kr³tjd||ƒt|||ƒ}|dkrÈ| rÈ|     rÈ|
rÈt |t    j |dƒtjd||f|ƒqÈnt||||ƒ}|dkr |d|kr |d}tjd|||fƒn|S(s§»ñÈ¡ÇÐͼÏß·ID
    ÇÐÏßÓÐÈýÖÖÇé¿ö
    1. Íæ¼ÒÊÖ¶¯Çл»Ïß·£¬ÓÅÏȼ¶×î¸ß
            ¼Ç¼key  Def_Player_Dict_PlayChangeLineID£¬ ÀëÏß³¬¹ý±£»¤Ê±¼äºóÖØÖã¬È·±£¶ÏÏßÖØÁ¬Õý³£¼´¿É
            
    2. ¹¦ÄÜÇл»µ½Ö¸¶¨Ïß·£¬Èç´òboss¡¢´«Ë͵½Ä¿±êÍæ¼ÒÏß·£¨±»»÷ɱÇйýÈ¥°ï棩
            ¼Ç¼key  Def_Player_Dict_FuncChangeLineID£¬ ÀëÏß³¬¹ý±£»¤Ê±¼äºóÖØÖã¬È·±£¶ÏÏßÖØÁ¬Õý³£¼´¿É
            
    3. ³£¹æÇÐͼ
            Ïß·ѡÔñÓÅÏȼ¶: ÊÖ¶¯ÇÐÏ߼Ǽ > ¹¦ÄÜÇÐÏ߼Ǽ > ¸ßµÍÇÐÏ߼Ǽ > ÏµÍ³·ÖÁ÷ÇÐÏß¹æÔò
            
            ÏµÍ³·ÖÁ÷ÇÐÏß¹æÔò: µ±Ç°µØÍ¼Ïß· ¶ÔÓ¦ Ä¿±êµØÍ¼Ïß·ÈËÊý Èç¹ûµ½´ï¶î¶¨Öµ²Å½øÐзÖÁ÷£¬·ÖÁ÷µ½ÈËÊý½ÏÉÙµÄÏß·
            
        ÌØÊâboss·ÖÁ÷: 
        @param bossID: ·ÖÁ÷bossID
    sÍÑ»úµÄÍæ¼Ò²»´¦Àí·ÖÁ÷£¡sD´¦Àí·ÖÁ÷,curMapID=%s,curLineID=%s,tagMapID=%s,tagLineID=%s,bossID=%siÿÿÿÿisI¹¦ÄÜÖ¸¶¨Çл»Ä¿±êÏß·£¬¼Ç¼µ±Ç°Ïß·ºóÐøÇÐÏß±¸ÓÃ! curLineID=%s,tagLineID=%ss&·ÖÁ÷boss, bossID=%s,bossShuntLineID=%ssͬµØÍ¼Çл»×ø±ê²»´¦Àí·ÖÁ÷£¡Rœs,Ä¿±êµØÍ¼¿ÉÓ÷ÖÁ÷Ïß·ÈËÊýÐÅÏ¢: tagMapID=%s,%ss$ÓÐÖ÷¶¯Çл»¹ýÏß·!playChangeLineID=%ss,¹¦ÄÜÓÐÖ¸¶¨¹ýÏß·ÀúÊ·Ïß·,funcChangeLineID=%sis(ÓиßÏßÇеÍÏßÀúÊ·Ïß·,highChangeLineID=%ss!Ä¿±êµØÍ¼²»´æÔÚ¸ÃÏß·,curLineID=%ss?¸ßÏßÇеÍÏߣ¬¼Ç¼µ±Ç°Ïß·ºóÐøÇÐÏß±¸ÓÃ! curLineID=%s,tagLineID=%ssг£¹æ·ÖÁ÷ºóµÄlineIDΪ-1£¬µ«ÊÇÄ¿±êµØÍ¼µ±Ç°Ïß·²»¿ÉÓ㡲»¿É´«Ë͵½¸ÃÏß·£¡curLineID=%s + 1 > tagMapMaxLine(%s), Ç¿ÖÆ·ÖÁ÷µ½Ïß·(shuntLineID=%s)(RRRRRÃR‚RKtg_commMapLinePlayerCountDictRôR±RPRQRRR÷RçtIsMapNeedBossShuntt__GetBossShuntLineIDtkeysRRtAddBossShuntRelatedPlayerR¿t
GetFuncCfgRŽRPt__GetShuntLineID(RR't    curLineIDttagMapIDt    tagLineIDRÿttagLinePlayerCountDictRatplayChangeLineIDtfuncChangeLineIDthighChangeLineIDtbossShuntLineIDRÙt mapLineDictt tagMapMaxLinettagLinePlayerCountShuntDicttktvR_((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRVFs~        !   
   ! 
    c Cs!|jƒ}|jƒtjddƒkr>tjd|ƒdStjddƒ}||krptjd|ƒdS||}|dkrÀ||}||krÀtjd|||f|ƒdSng|jƒD]\}}    |    |g^qÍ}
|
j    ƒ|
dd} tjd    ||
f|ƒ| S(
NtSetWorldPosShuntis³¬¹ýÖ¸¶¨µÈ¼¶²»·ÖÁ÷iÿÿÿÿisÄ¿±êµØÍ¼²»ÐèÒª·ÖÁ÷sBδ´ïµ½¶î¶¨ÈËÊýÖµ,²»Ó÷ÖÁ÷,curLineID=%s,Ä¿±êµØÍ¼µ±Ç°Ïß·ÈËÊý: %s/%sis@·ÖÁ÷µ½ÈËÊý½ÏÉÙµÄÏß·,tagMapID=%s,linePlayerList[count,lineID]=%s(
RÃtGetLVR¿RfRRRÀR7RŽtsort( RRiRrRhRat mapShuntDicttlineMaxPlayerCountttagLinePlayerCountR@t playerCounttlinePlayerListR_((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRg®s(  
 
     +
c Cs |jƒ}|jƒ}d}d}    idggd6dggd6}
tjj|iƒ} t} tjddiƒ} tj    d||||| tj
f|ƒ|| krt d| |dƒ}|dkr||kr|j |ƒtj    d||f|ƒqnx||D]t}||f}tj
j|iƒ}d}d}xu|j ƒD]g\}}|d}||krtqLn|d7}|d}|rL||krL||krL|d7}qLqLW|rØ||    krØ|}    |}n| j|dƒ}|södnd}|
|\}}| r(|dkr(|}n|j||gƒ||g|
|<|sZt} ntj    d|||||    |f|ƒq W|dkr¨tj    d    ||ƒ|S||krä|tjdd
ƒkrätj    d ||ƒ|S| rðdnd}tj    d | |
fƒ|
|\}}|jƒ|d\}}tjd dƒ}||kr|dkrtj    d||f|ƒ|Stj    d|||f|ƒ|S(sz»ñȡĿ±êµØÍ¼boss·ÖÁ÷Ïß·
                ¸ù¾ÝÈËÊý·ÖÁ÷Íæ¼Ò£¬ÓÅÏÈ·ÖÅäµ½»î×ŵÄÏß·
                ¶ÓÎéÎÞÊÓÈκιæÔò£¬Ä¬ÈÏ·ÖÅäµ½¶ÓÎé¶ÓÔ±¶àµÄÄÇÌõÏß
                
                Ç°¶Ë£º
        1.ÔÚÖÐÁ¢µØÍ¼µÄʱºò£¬ÏÔʾµ±Ç°Ïß·BOSSµÄ״̬
        2.ÔÚ³£¹æµØÍ¼µÄʱºò£¬ÏÔÊ¾Íæ¼Ò»÷ɱBOSSµÄCDʱ¼ä
        3.±¾µØÍ¼²»»»Ïߣ¬60Ãë¹æÔò±£³Ö²»±ä
        4.½øÈëBOSSÇøÓòÀˢÐÂBOSS״̬
        
                Íæ¼ÒÔÚ·ÇÖÐÁ¢µØÍ¼£º
                ±¾µØÍ¼²»»»Ïߣ¬60Ãë¹æÔò±£³Ö²»±ä£¨£©
                
                Íæ¼ÒÔÚÖÐÁ¢µØÍ¼
                Ã»ÓÐ60Ãë¹æÔò
                Ö±½Ó·¢´«ËͰü£¬Óɺó¶Ë¾ö¶¨£¨ÓжÓÔ±ÔÚ²»Í¬Ïß·´òͬһֻboss£¬Ôò´«ËÍ£¬·ñÔòmove£©
    iÿÿÿÿiiRœisnÍæ¼Òboss·ÖÁ÷: playerTeamID=%s,tagMapID=%s,npcID=%s,lineIDList=%s,bossLineStateDict=%s,g_bossShuntPlayerInfo=%ss>    ·Ç1ÏߵĻÏß·²»²ÎÓë·ÖÁ÷: activityLineID=%s,lineIDList=%ssg    lineID=%s,lineBossIsDead=%s,playerCount=%s,teamPlayerCount=%s,hurtTeamMemCount=%s,hurtTeamLineID=%ss,    ·ÖÁ÷µ½¶ÓÓÑÈËÊý¶àµÄÏß· hurtTeamLineID=%sis/    ÖÐÁ¢µØÍ¼ÔÚ±¾µØÍ¼ÖÐĬÈϵ±Ç°Ïß· curLineID=%ss>    boss״̬¶ÔÓ¦Ïß·ÈËÊý: haveAliveLine=%s, ×´Ì¬key0Ϊ»î×Å: %st    BossShunts4    ·ÖÁ÷µ½¿ÕÐÂÏß· shuntBossIsDead=%s,emptyLineID=%ssX    ·ÖÁ÷µ½ÈËÊý×îÉÙµÄÏß· shuntBossIsDead=%s,minPlayerCntLineID=%s,linePlayerCountList=%s(RÃRçRKtg_bossShuntLineStateRRR¿RÀRRtg_bossShuntPlayerInfotmaxtremoveRŽR…RRwRf(RR'RhRitnpcIDt
lineIDListRat playerTeamIDthurtTeamLineIDthurtTeamMemCounttbossLinePlayerDicttbossLineStateDictt haveAliveLinetactivityMapLineDicttactivityLineIDR@R˜tshuntPlayerDictR{tteamPlayerCountt shuntPlayerIDt    shuntInfoRÿt shuntTeamIDt lineIsAlivetlineBossIsDeadt emptyLineIDtlinePlayerCountListtshuntBossIsDeadtminPlayerCntLineIDtbossShuntPlayerCountMax((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRcÉsx             
 
 
                ! $
    cCs¼d}d}|jƒ}tjƒ}|j||ƒsVtjd||||fƒn\tj|||ƒ\}}|dks‰|dkr²tjd||||f|jƒƒn||fS(Nis=ÖØÉúµãÒì³££¬³¬¹ýµØÍ¼(%s)±ß½ç posX = %s, posY = %s, round = %ssKÖØÉúµã·¶Î§ÄÚÕÒ²»µ½¸ÃµØÍ¼(%s)µÄ·ÇÕϰ­ÖØÉúµã posX = %s, posY = %s, round = %s(    R¾RR)t
IsValidPosR8R+tGetNearbyPosByDisR.RÃ(RRRtroundt
rebornPosXt
rebornPosYR'RÊ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__GetLegitRebornPoint0    s           c
CsÞtjƒ}|jƒ}|jƒ}|jƒ}t}tjƒ}|jƒ}g}    g}
|stjd|j    ƒƒt
}n}xUt d|ƒD]D} |j | ƒ} |
j | ƒtj|| ƒr|    j | ƒqqW|    sütjd|j    ƒƒt
}n|r¯tj|    ƒ} |j | ƒ} | jƒ}| jƒ}| jƒ}t||||ƒ\}}|dksƒ|dksƒ|dkr¯tjd|jƒ|j    ƒƒt
}q¯nt}|sb|jƒ}|jƒ}|jƒ}|jƒ|krt|||tjƒ\}}n|dks6|dks6|dkrbtjd|jƒ|j    ƒƒt
}qbn|s |jƒ}tjdƒ}tj||ƒ}|d}d}|dtj| |ƒ}|d    tj| |ƒ}tjd
|jƒ|||f|j    ƒƒn|jƒtj krw|j!|ƒ|j"|ƒ|j#|ƒtjd |j$ƒ|||f|j    ƒƒdS|j%|ƒ|j&|ƒ|j'|ƒtjd |j$ƒ|||f|j    ƒƒt(j)||
ƒdS( Ns´ËµØÍ¼Ã»ÓÐÖØÉúµãis´ËµØÍ¼Ã»ÓкÏÊÊÍæ¼ÒµÄÖØÉúµãs2µØÍ¼Éϲ¼µÄÖØÉúµã·¶Î§ÄÚÕÒ²»µ½¸ÃµØÍ¼(%s)µÄºÏ·¨ÖØÉúµãs,tagChinMap.txtÄÚÕÒ²»µ½¸ÃµØÍ¼(%s)µÄºÏ·¨ÖØÉúµãtPlayer_Reborn_PlaceiiisqtagBornRefresh.txtºÍtagChinMap.txtÄÚ¶¼ÕÒ²»µ½¸ÃµØÍ¼(%s)
µÄºÏ·¨ÖØÉúµã£¬ÉèÖÃÍæ¼ÒÖØÉúµãΪ´´½¨½ÇɫʱµÄ³õʼµã%s-(%s,%s)s,Íæ¼Ò%s,ÉèÖÃĬÈÏÖØÉúµãÍê±Ï mapID = %s-(%s,%s)s0Íæ¼Ò%s,ÉèÖø±±¾Ä¬ÈÏÖØÉúµãÍê±Ï mapID = %s-(%s,%s)(*RR)R¾t GetRebornPosXt GetRebornPosYRt GetGameDatatGetBornRefreshCountR.RÃRR(tGetBornRefreshByIndexR…t IsSameCountryR?R@RRtGetRoundRR½R¾R¿R±tDef_RebornPos_Area_RangeR·RRtrandintR»R¼R½tSetRebornMapIDt SetRebornPosXt SetRebornPosYt GetPlayerNametSetFBRebornMapIDtSetFBRebornPosXtSetFBRebornPosYRMt OnRebornPlace(RRÙRÊt rebornMapIDR›RœthasBornRefreshPointtgameDatatbornRefreshCounttbornListt
fbBornListR_tbornRefreshPointt    bornIndextbRP_PosXtbRP_PosYt bRP_RoundPosthasBornPointInTxtt curPlayerJobtposListtpost    bornRange((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshRebornPointO    s„                  $        $      
&   ,   ,cCs,|dkr|dkrdS|ddSdS(Niiii
((tcurLV((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRankÛ    sc    Csëtƒ}|dkr&tjdƒ|Sg}x¸td|jƒƒD]¡}|j|ƒ}|dksB|jƒdkr{qBn|jƒdkr“qBntj    |||j
ƒ|j ƒƒ|krÃqBn|j |ƒ|j |jƒƒqBW|S(Ns»ñÈ¡¶ÓÎéÇøÓò³ÉÔ±£¬¶ÓÎé²»´æÔÚ£¡i( tlistR7RR8R(tGetMemberCountt    GetMemberRÃR¹RRRR…(    tcurTeamtcenterXtcenterYtareatisLogt
playerlistRyR_t curTeamPlayer((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAreaTeamMemberé    s"        cCsztƒ}|dkr|SxZt|jƒƒD]F}|j|ƒ}|dks,|jƒdkreq,n|j|ƒq,W|S(s »ñȡͬµØÍ¼ÖеĶÓÔ± iN(RÃR7RXRÄRÅRÃR…(RÆRËR_RÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMapTeamMember
s     cCs'|tjkr#tjd|ƒn|S(Ns½ðÇ®ÀàÐÍÌîд´íÎó %s(R±tDef_MoneyType_AllRR8(Rt    moneyType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytChangeMoneyType.
scCs„|tjkr|jƒS|tjkr2|jƒS|tjkrKt|ƒS|tjkrd|jƒS|t    j
kr€t ||ƒSdS(Ni( R¼tTYPE_Price_Gold_MoneytGetGoldtTYPE_Price_Gold_Papert GetGoldPapertTYPE_Price_Silver_Moneyt    GetSilvertTYPE_Price_Silver_PapertGetSilverPaperRGtTYPE_Price_CurrencyDicttGetPlayerCurrency(Rt
TYPE_Price((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMoney=
s
 
 
 
 cCsy|tjkr|jƒS|tjkr2|jƒS|tjkrK|jƒS|tjkrd|jƒSt    j
d|ƒdS(Ns#GetWarehouseMoney, moneyType:%d Erri( R¼RÒtGetWarehouseGoldRÔtGetWarehouseGoldPaperRÖtGetWarehouseSilverRØtGetWarehouseSilverPaperRR8(RRÐ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWarehouseMoneyY
s
 
 
 
cCs|jtj|ƒS(N(RôR±tDef_PDict_Currency(Rt currencyType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÛl
scCs+t|tj||ƒt|||ƒdS(N(R÷R±RãtNotifyPlayerCurrency(RRätvalue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPlayerCurrencyr
scCse|tjkrdStj|}|dkr0dS|dkrNt||ƒ}n|j||tƒdS(Ni(RGRÚR7RÛtSendPropertyRefreshR(RRäRæt refreshType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRåx
s   cCsÍg}xdtjD]Y}tj|}|dkr5qntjƒ}||_t||ƒ|_|j|ƒqWtj    ƒ}|j
ƒ|j ƒ|_ |j ƒ|_t|ƒ|_||_tj||ƒdS(N(RGRÚR7RjttagRefreshTypet RefreshTypeRÛtValueR…ttagObjInfoListRefreshRŒRtObjIDRêtObjTypeRPtCountRmRn(Rt
notifyListRäRét notifyStructR%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyPlayerAllCurrency…
s         
    cCs|dkrtSd}d}|tjkr@|jƒ}d}n«|tjkrd|jƒ}d}n‡|tjkrˆt|ƒ}d}nc|tjkr¬|j    ƒ}d}n?|t
j krÍt ||ƒ}nt jd||jƒƒtS||kr|r|rt||ƒntStS(NiRstGoldErrt GoldPaperErrt    SilverErrtSilverPaperErrs¸¶·Ñ½ðÇ®Òì³£ TYPE_Price = %s(RR¼RÒRÓRÔRÕRÖR×RØRÙRGRÚRÛRR.RÃR9R(RRÜtPricet
needNotifytneedMoneyCountt
notifyCode((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    HaveMoney£
s2                       cCs|dkrgS|tjtjtjtjgkrZt||||ƒrV||ggSgS|tjkrí|jƒ}|j    ƒ}|||kr«|r§t
|dƒngS||krÇtj|ggS||}tj|gtj|ggSt j d||j ƒƒgSgS(NiRôs¸¶·Ñ½ðÇ®Òì³£ TYPE_Price = %s(R¼RÒRÔRÖRØRüRGtTYPE_Price_Gold_Paper_MoneyRÕRÓR9RR.RÃ(RRÜRøRùR}R|tneedGold((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt HaveMoneyExÔ
s*     
cCs|dkrtS|dkr:tjd||jƒƒtS|tjkr
|jƒ}||krrt|dƒtS||}    |j    |    ƒt
|t j ƒ}
|
} |t jkrÆtd|
|ƒ} n|    | krÛ|    } n| |
krýt|t j | ƒn| |d<nG|tjkrV|jƒ} | |krBt|dƒtS|j| |ƒnû|tjkr¢t|ƒ} | |krŽt|dƒtSt|| |ƒn¯|tjkrî|jƒ}||krÚt|dƒtS|j||ƒnc|t jkr3t||ƒ}||krtSt||||ƒntjd||jƒƒtSt|||||||ƒ|rŒt|d    ||gƒntS(
Nis###---¿ÛÇ®Òì³£ = %sRôt BourseMoneyRõRöR÷s¸¶·Ñ½ðÇ®Òì³£ type_Price = %st    LostMoney(RRR.RÃRR¼RÒRÓR9tSetGoldRÝRGtTYPE_Price_BourseMoneyR±tUnUseInner_CostTypeR€RçRÔRÕt SetGoldPaperRÖR×t    SetSilverRØRÙtSetSilverPaperRÚRÛt__PayMoneyAfter(Rt
type_PricetpricetcostTypetinfoDicttquantityt costVIPGoldR!t curPlayerGoldt updPlayerGoldtcurBourseMoneytupdBourseMoneytcurPlayerGoldPapertcurPlayerSilvertcurPlayerSilverPapert curCurrency((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPayMoney sd     
                  c
    Csb|tjkr(t|||||ƒnc|tjkrMt||||ƒn>|tjkrlt||ƒn|tjkr‹t||ƒnt    j
|||ƒ|dkr°|nt t j |d|ƒƒ}|}|}    |tjkrøtj|}    n|tjtjgkr#|tjkr#dStj||    |||ƒtj|||||tj|ƒdS(Nigð?(R¼RÒt__PayMoneyAfterByGoldMoneyRÔt__PayMoneyAfterByGoldPaperRÖt__PayMoneyAfterBySilverMoneyRØt__PayMoneyAfterBySilverPapertPlayerActivitytOnPayMoneyActivitytintRRR±tDef_CostType_DicttDef_Cost_UnknowntDataRecordPackt DR_UseMoneyt EventReporttWriteEvent_virtual_resourceRGtDef_UserAction_Money_Use(
RR    R
R R R Rt    unitPricet reason_namet    eventName((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRP s*/cCs@tj||||ƒtj|||ƒtj|||ƒdS(N(tPlayerCostRebatetAddCostRebateGoldtPlayerFairyCeremonyt AddFCCostGoldtPlayerNewFairyCeremony(RR
R R R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRŸ scCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RjttagMCGoldCostReportRŒtCostTypeRøtItemIDRmRn(RR R
R”R%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__Sync_GoldCostReportË s 
            cCsdS(N((RR
R R ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÙ s
cCsdS(N((RR
((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRê scCsdS(N((RR
((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRò sc Csö|dkrtS|dkr7tjd||fƒdStjƒr›t|ƒ}i|jƒd6|d6|d6|d6|d6}tjtj||gƒtS|t    j
kr&|j ƒ|t j krÚt|d|gƒdS|j|j ƒ|ƒ|r®t|tj|ƒt|tjƒ|d    <q®nˆ|t    jkr|jƒ|t j kret|d|gƒdS|j|jƒ|ƒn/|t    jkr¨t|t|ƒ|ƒn|t    jkr|jƒ|t jkrçt|d|gƒdS|j|jƒ|ƒn­|tjkrt||ƒ}    |    t jkr2dSt t j|    |ƒ}
t!|||
ƒ|tj"kr®t#j$|tj%|ƒt&j'|ƒq®ntjd
||jƒƒdS|rÜ|tjkrÜt|d ||gƒnt(|||||ƒtS( Nis1Íæ¼Ò»ñµÃ½ðÇ®Òì³£ £¬ value = %s , priceType = %s ,tPlayerIDt    MoneyTypeRìtGiveTypet AddDataDictt MoneyIsFullRs½ðÇ®ÀàÐÍ´íÎó, priceType = %sRÝ()RRR.R‚tGetPlayerServerGroupIDRÃtSendMsgToClientServerRGtCrossServerMsg_GiveMoneyR¼RÒRÓR±tDef_PlayerTotalMoney_GoldR9Rt    GiveMoneyRRÝRÔRÕRRÖRR×RØRÙtDef_PlayerTotalMoney_SilverRRÚRÛtDef_UpperLimit_DWordtminRçtTYPE_Price_RealmPointRXtDoAddSuccessProgresstSuccType_GetRealmPointR?tEventRespons_GetRealmPointt__GiveMoneyAfter( Rt    priceTypeRætgiveTypet addDataDictt    isSysHinttisGiveBourseMoneyt serverGroupIDRrRtupdValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR;ý sZ    /c    Cs™|tjtjgkr+|tjkr+dS|}|tjkrZtj|}||d<ntj|||||ƒtj    |||d|t
j |ƒdS(NR(i( R¼RÒRÔR±tDef_GiveMoney_UnknowntDef_GetType_DictR!t DR_GiveMoneyR#R$RGtDef_UserAction_Money_Get(RRDRæRERFR(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRCF s   0cCsB|dkrtS|tjkrR|jƒ|tjkr>t|d|gƒtSnì|tjkr”|j    ƒ|tjkr>t|d|gƒtSnª|tj
kr¦n˜|tj krè|j ƒ|tj kr>t|d|gƒtSnV|tjkr t||ƒ}||tjkr>tSntjd||jƒƒtStS(NiR6s½ðÇ®ÀàÐÍ = %sÌî´íÀ²(RR¼RÒRÓR±R:R9RRÔRÕRÖRØRÙR<RGRÚRÛR=RR.RÃ(RRDRæR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt CanGiveMoney s. cCsdS(N((RRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAutoRestoreHP¸ scCsdS(N((RRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAutoRestoreMPÁ scCs&t|jƒƒ}|sdS|jƒS(Ni(tGetPlayerLVIpyDataRvtGetReExp(Rt    lvIpyData((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerReExpÉ scCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerReMoneyÒ scCs]|jƒ}tƒ}||kr%dSd}t|||ƒ}||krYt|dƒndS(Nit PK_lhs_202580(t
GetPKValuet GetMaxPKValuet ChangePKValueR9(RRÙtcurPlayerPKValuet
maxPKValuetaddPointt changePKValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddPlayerPKValueÛ s       c
Cs-|jƒ}tƒ}tdt|||ƒƒ}||krA|Stjd|||f|jƒƒ|dkr}t|ƒn¬tj    }|j
|ƒt j ||ƒ}|d}||}    |s
t j |||ƒ|dkr
t j ||ƒ}|d}|d}    q
n|    r)|r)t|||    ƒn|S(s¸ü¸ÄPKÖµis7¸üÐÂPKÖµ: curPlayerPKValue=%s,newPKValue=%s,addValue=%si(RXRYR€R>RRRÃt ClearPKValueR±tDef_SkillID_Redt
SetPKValueRAt FindBuffByIDtAddBuffBySkillType_NoRefurbisht__AddPKValueRedBuffTime(
RtaddValueRÙR[R\t
newPKValuet    addBuffIDt findBuffInfotredBufft addTimeValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRZî s,      #       
 
 
 cCsª|jƒ}|sdStj|ƒ}|jƒ|}|jƒ}ttd||ƒtjƒ}|j    |ƒt
j |||ƒt j d||||f|jƒƒdS(sSÔö¼ÓPKÖµ¶ÔÓ¦buffʱ³¤
    @param addTimeValue: Ôö¼ÓµÄbuffµ¥Î»Ê±³¤´ÎÊý, Ö§³ÖÕý¸º
    NisL    Ôö¼ÓºìÃûbuffʱ³¤: addTimeValue=%s,remainTime=%s,addTime=%s,resultTime=%s(tGetSkillRAt GetBuffTypet GetLastTimet GetRemainTimeR>R€R±tDef_Max_Buff_RemainTimet SetRemainTimet    BuffSkilltPYSync_RefreshBuffRRRÃ(RRjRkt    buffSkilltbuffTypetaddTimet
remainTimet
resultTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRe
s       cCsæ|jƒ}|sdStj|ƒr)dStj|tjƒd}|sY|jdƒdS|jƒ}|sodS|j    ƒ}|j
ƒ}t t j |t|ƒƒƒ}||krâ|j|ƒtjd||f|jƒƒndS(Nis&¸üÐÂÍæ¼ÒPKÖµ: remainTime=%s,pkValue=%s(RXRRRARcR±RaRbRlRoRnRRRRRRRÃ(Rt
curPKValueRjRtRwtperPKValueTimetpkValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPKValueByRedBuff s&       #cCs9|jdƒtjƒjƒ}tj|tj|ƒdS(sÇå³ýPKÖµiN(RbRRRRrtDelBuffBySkillIDR±Ra(RRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR`1 s cCstjddƒS(s »ñÈ¡×î´óPKÖµtPKConfigi(R¿Rf(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRY8 scCsr|jƒ}|jƒ}tjddiƒ}tj||dƒ}|dkrhtd||fƒ‚dSt|ƒS(Nt LVUPAddPointiis0Íæ¼Ò»ñµÃÉý¼¶ÊôÐÔµãÒì³£, curLV = %s PlayerID = %s(    RRvR¿RÀRtGetDictValueByRangeKeyR7t    ExceptionR(RR2RÁt addPointDictR]((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLvUp_AddPointA s   cCs–tjtjƒ}|jƒ}||kr.dStjddiƒ}tjddƒ}|}x4t||dƒD]}|t    j
||dƒ7}qoW|S(NiRii( t GameFuncCommtGetFuncLimitLVRGtGameFuncID_AddPointRvR¿RÀRfRXRR€(RtopenLVRÁR‚t initFreePointt setFreePointtlv((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAllPointByLVN s  cCs{|jƒ}t|ƒ}|jƒ}i|d6}|j|ƒtj|d||ƒtjd|||f|jƒƒdS(sټӵ㹦ÄÜ¿ªÆô ´¦Àí¸ø×ÔÓÉÊôÐԵ㼰ÀϺŴ¦Àí  
                    Çå³ýÀÏ·þÍæ¼Òδ¼ÓµãµÄµãÊý£¨ÇåÁ㣩£¬ÒÔǰ¼ÓµÄ¼ÓµãÊôÐÔ²»Çå³ý£¬ÊôÐÔ²»±ä£¬Õ½Á¦²»¼õ£¬ ¸ù¾Ý×îеļӵ㿪ÆôµÈ¼¶ºÍÀÏ·þÍæ¼ÒµÄµ±Ç°µÈ¼¶£¬Ïà²îµÄ²îÖµ¸øÓèÍæ¼Ò¶ÔÓ¦µÄ¼ÓµãµãÊýtbeforeFreePointt AddPointOpensB    ¼Óµã¹¦ÄÜ¿ªÆô´¦Àí  beforeFreePoint=%s,curLV=%s, setFreePoint=%sN(    t GetFreePointR‹Rvt SetFreePointR!t DR_FreepointRRR(RRŒR‰RÁRF((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoAddPointOpen[ s     #c Csˆtj|tjtjƒrdStj|tjtjdƒt|jƒƒ\}}}}|jƒ}i|d6|d6|d6|d6}x8|j    ƒD]*\}}|t
|d|ƒƒ|7}q”Wt |ƒ}    ||    kr„x1|j    ƒD]#\}}t
|d|ƒ|ƒqçW|j |    ƒt j|ƒtd|jƒggd    d
ƒi|d 6}
tj|d |    |
ƒtjd ||    fƒndS(NitBaseSTRtBasePNEtBasePHYtBaseCONsGet%ssSet%stPointCompensationR}iÈtbeforeTotalPointtFixOldAddPoints6ÀϺżӵ㴦Àí ÖØÖÃÒѼӵãÊý addPoint=%s, fixFreePoint=%s(RtGetDictValueByBitR±tDef_Player_Dict_VersionFixtDef_VerFix_AddPointtSetDictValueByBittGetPlayerBasePointR·RŽRŽtgetattrR‹RtPlayerGreatMastertDoResetMasterSkillPointRRR!RR.( RtbaseSTRtbasePNEtbasePHYtbaseCONR]t attrInfoDicttattrKeyt    basePointt fixFreePointRF((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR˜h s& ""     tModuleFightPowercBs_eZdZdZejgZd„Zd„Zd„Z    d„Z
d„Z d„Z d„Z RS(    s%ss    Noline_%scCs||_|jƒdS(N(tmfpTypet    ClearAttr(tselfRª((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__init__ s    
cCsix7tdtjƒD]#}d}t||j||ƒqWx(|jD]}t||j|dƒqDWdS(Nii(RXR±tDef_Calc_AllAttrType_MAXtsetattrt_ModuleFightPower__AttrNamet!_ModuleFightPower__NolineAttrListt!_ModuleFightPower__AttrNameNoline(R¬t    attrIndexRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR«˜ s cCs‘|tj}x*|jƒD]\}}|j||ƒqW|tj}xC|jƒD]5\}}||jkrTt||j||ƒqTqTWdS(N(R±tCalcAttr_BattleRŽtAddCalcMFPAttrtCalcAttr_BattleNolineR±R¯R²(R¬t allAttrListtbattleAttrDictR³RætbattleNolineAttrDict((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCalcMFPBattleAttr¥ s  cCsCd|kotjknr?|j|}t|||ƒndS(Ni(R±R®R°R¯(R¬R³RætattrName((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCalcMFPAttr³ s cCsPd|kotjknrL|j|}t||t||ƒ|ƒndS(Ni(R±R®R°R¯Rž(R¬R³RæR»((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRµ¾ s c7Cs:t||jtjƒ}t||jtjƒ}t||jtjƒ}t||jtjƒ}t||jtjƒ|jƒ}t||jtj    ƒ|j
ƒ}t||jtj ƒ}t||jtj ƒ}    t||jtj ƒ}
t||jtjƒ|jƒ} t||jtjƒ} t||jtjƒ} t||jtjƒ|jƒ}t||jtjƒ|jƒ}t||jtjƒ|jƒ}t||jtjƒ|jƒ}t||jtjƒ|jƒ}t||jtjƒ}t||jtjƒ|jƒ}t||jtjƒ}t||j tjƒ|j!ƒ}t||jtj"ƒ}t||jtj#ƒ}t||jtj$ƒ}t||jtj%ƒ}t||jtj&ƒ}t||jtj'ƒ|j(ƒ}t||jtj)ƒ|j*ƒ}t||jtj+ƒ|j,ƒ}t||jtj-ƒ|j.ƒ}t||jtj/ƒ} t||jtj0ƒ|j1ƒ}!t||jtj2ƒ|j3ƒ}"t||jtj4ƒ}#t||jtj5ƒ}$t||jtj6ƒ|j7ƒ}%t||jtj8ƒ|j9ƒ}&t||jtj:ƒ|j;ƒ}'t||jtj<ƒ|j=ƒ}(t||jtj>ƒ|j?ƒ})t||jtj@ƒ|jAƒ}*t||jtjBƒ|jCƒ}+t||jtjDƒ|jEƒ},t||jtjFƒ}-t||jtjGƒ}.t||jtjHƒ}/t||jtjIƒ}0t||jtjJƒ}1t||jtjKƒ}2|jLƒ}3|jMƒ}4tNjOdƒ}5tPtQjRd|5ƒƒ}6|6tSjTkr6tUjVd|jW|6|jXƒfƒtSjT}6n|6S(NtFightpowerFormulas2Ä£¿éÕ½Á¦³¬¹ýÊýÖµÉÏÏÞ, MfpType=%s,fightPower=%s, %s(YRžR°R±tTYPE_Calc_AttrMaxHPtTYPE_Calc_AttrATKMintTYPE_Calc_AttrATKMaxtTYPE_Calc_AttrDEFtTYPE_Calc_AttrHitt    GetCftHittTYPE_Calc_AttrMisst
GetCftMisstTYPE_Calc_AttrAtkSpeedtTYPE_Calc_SuperHitRatetTYPE_Calc_SuperHittTYPE_Calc_SuperHitReducePertGetCftSuperHitReducetTYPE_Calc_LuckyHitRatetTYPE_Calc_LuckyHittTYPE_Calc_LuckyHitRateReducetGetCftLuckyHitRateReducetTYPE_Calc_SkillAtkRatetGetCftSkillAtkRatetTYPE_Calc_SkillAtkRateReducetGetCftSkillAtkRateReducetTYPE_Calc_DamagePertGetCftDamagePertTYPE_Calc_AttrDamReducetGetCftDamReducetTYPE_Calc_HPRestorePertTYPE_Calc_DamBackPertGetCftDamBackPertTYPE_Calc_AttrSpeedR²tGetCftSpeedPertTYPE_Calc_PetMinAtktTYPE_Calc_PetMaxAtktTYPE_Calc_PetDamPertTYPE_Calc_AttrIceAtktTYPE_Calc_AttrIceDeftTYPE_Calc_IgnoreDefRatetGetCftIgnoreDefRatetTYPE_Calc_IgnoreDefRateReducetGetCftIgnoreDefRateReducetTYPE_Calc_DamChanceDeftGetCftDamChanceDeftTYPE_Calc_BleedDamagetGetCftBleedDamagetTYPE_Calc_AtkBackHPPertTYPE_Calc_FaintRatetGetCftFaintRatetTYPE_Calc_FaintDefRatetGetCftFaintDefRatetTYPE_Calc_FinalHurttTYPE_Calc_FinalHurtReducetTYPE_Calc_DamagePerPVPtGetCftDamagePerPVPtTYPE_Calc_DamagePerPVPReducetGetCftDamagePerPVPReducetTYPE_Calc_JobAHurtAddPertGetCftJobAHurtAddPertTYPE_Calc_JobBHurtAddPertGetCftJobBHurtAddPertTYPE_Calc_JobCHurtAddPertGetCftJobCHurtAddPertTYPE_Calc_JobAAtkReducePertGetCftJobAAtkReducePertTYPE_Calc_JobBAtkReducePertGetCftJobBAtkReducePertTYPE_Calc_JobCAtkReducePertGetCftJobCAtkReducePertTYPE_Calc_ComboRatetTYPE_Calc_ComboDamPertTYPE_Calc_ProDefHPPertTYPE_Calc_OnlyFinalHurttTYPE_Calc_PVPAtkBackHPtTYPE_Calc_NPCHurtAddPertGetCftAtkSpeedtGetCftLuckyHitR¿RftevaltFormulaControltGetCompileFormulaRGR=RR8Rªt GetMFPAttrStr(7R¬tfpParamtMaxHPtMinAtktMaxAtktDeftHittMisstAtkSpeedt SuperHitRatetSuperHittSuperHitReducet LuckyHitRatetLuckyHittLuckyHitRateReducet SkillAtkRatetSkillAtkRateReducet    DamagePert    DamReducet    HPRestoret
DamBackPert
SpeedValuetSpeedPert    PetMinAtkt    PetMaxAtkt    PetDamPertIceAtktIceDeft IgnoreDefRatetIgnoreDefRateReducet DamChanceDeft BleedDamaget    AtkBackHPt    FaintRatet FaintDefRatet    FinalHurttFinalHurtReducet DamagePerPVPtDamagePerPVPReducetJobAHurtAddPertJobBHurtAddPertJobCHurtAddPertJobAAtkReducePertJobBAtkReducePertJobCAtkReducePert    ComboRatet ComboDamPert    ProDefPert OnlyFinalHurtt PVPAtkBackHPt NPCHurtAddPertAtkSpeedParametertLuckyHitParameterR½ttotalFightPower((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetModuleFightPowerÄ sr########################  # cCs¿d}x\tdtjƒD]H}|j|}t||ƒ}|dkrMqn|d||f7}qWxS|jD]H}|j|}t||ƒ}|dkr£qon|d||f7}qoW|S(NRsiis%s=%s,(RXR±R®R°RžR±R²(R¬tattrStrR³R»t    attrValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR     s    (t__name__t
__module__R°R²R±RÚR±R­R«RºR¼RµRAR (((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR©† s                           ERƒcBseZeZiZd„Zd„Zd„Zd„Zd„Z    d„Z
e j e d„Zd„Zd„Zed    „Zd
„Zd „Zeeed „Zd „Zed„Zd„Zeed„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z!e 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%„Z.d&„Z/d'„Z0RS((cCs ||_dS(N(t_PlayerControl__Player(R¬tiPlayer((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR­+scCs8|jj|ƒ}|s4t|ƒ}||j|<n|S(N(t_PlayerControl__fpTypeObjDictRR©(R¬tfpTypetfpObj((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetModuleFightPowerObj2s
 cCs(x!|jjƒD]}|jƒqWdS(N(RHR¸R«(R¬tobj((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytResetFightPowerObj<scCs^|j}|jƒ}t|ƒ}|dkrZ||}tj|d|ƒ|j|ƒndS(NitLvUP(RFRŽRƒR!RR(R¬Rt curFreePointR]R‰((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DoLVUPAddPointEs       
cCsš|dks|ddkr tS|j|dƒ}|dkrX|jƒtjkrXtS|dkr–tj|ƒtkr–t    j
d|j ƒƒtSntS(Nii
iids´¥·¢·â¾ôÈÎÎñʧ°Ü( Rt FindMissionR7tGetStateR±tDef_Mission_State_OverR?tEventResponse_LVFullRRR.RÃ(R¬RRÁt
curMission((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__LVUpDoInvestitureYs! cCsUtjdƒ}|jƒ}|d}tjdƒ}||krQ||d}n|S(NtReincarnation_Conditionit PlayerMaxLVi(RRtGetReincarnationLvR¿Rf(R¬RtReincarnation_ConditionDictt
curReinCntt nextReinCntt
nextReinLV((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNextReincarnationLVqs 
 cCsª|j}|j||||ƒ\}}|rutjƒ}|tj|_|tj|_||_t    j
||ƒnt j ƒj ƒtjkr¦tj|||ƒn|S(N(RFt_PlayerControl__AddExpRjt tagMCAddExpR±tDef_PerPointValuetExpPointtExptSourceRmRnRR)R»R¼R½RMtOnGetExp(R¬taddExpt expViewTypeRGRt finalAddExpt expNotifyTypeR%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddExps         cCs=|dkr||fS|jƒtj|jƒ}tjddƒ}tjddƒ}|jƒ}||kr•||kr•|j|dƒd|fS|tj    krð|j
tj ƒ}    t j |ddtjƒ}
|    |
7}    |
r5tj}q5nE|tjtjgkr|jƒ}    nttjƒjƒtjƒ}    t||    ttjƒƒ}tj||ƒ}||krt|td||ƒƒ}n|dkr²tjdƒd|fS||} | tj} | tj} |jƒ| krø|j| ƒn|jƒ| kr|j | ƒn||kr3|j!ƒn||fS(NiRXit MaxLVExpStoretGeRen_admin_825676s ÎÞ·¨»ñµÃ¾­Ñé("t GetExpPointR±Rat GetTotalExpR¿RfRvt_PlayerControl__NotifyExpFullRGtDef_ViewExpType_KillNPCR    tDef_PlayerKey_TotalExpRateRSt!GetPassiveSkillValueByTriggerTypeR7tTriggerType_AddExpRatetDef_ViewExpType_KillNPCSupertDef_ViewExpType_GameEventtDef_ViewExpType_SittGetGameEventExpRateR€RRt
GetExpRatetDef_MaxRateValueRRR)tChangeExpByWallowR>Rt SetExpPointt SetTotalExpt
PlayerLvUp(R¬RRfRgRGt curTotalExptmaxLVt maxLVExpStoreRÁtexp_ratet    superRatettotalExptcurExptexpPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__AddExp“sF 
 
 
 
$
    cCs?|jtjƒ}|s;t||ƒ|jtjdƒndS(Ni(R    R±tDef_PlayerKey_ExpFullNotifyR9R (R¬RtexpFullNotifyMarktexpFullNotifyState((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__NotifyExpFull s
 cCsw|j}|jƒdkrdStjd|jƒƒ}|sXtjd|jƒƒdS|jƒtj    |j
ƒ}|dkr…dS|jƒtj    |j ƒ}||kr²dSt }t }|jƒ}tj ddƒ}    |jƒ|jƒ}
|jƒ} |jƒ} |jƒ} |jƒ}|jƒ}|jƒ}x&||krb||    krbt}|d}t}|dkr€t }n|j||ƒtj|ƒtj||jƒt|ƒ|ƒtj|tji|d6ƒ|jƒt|jƒƒ}|r,|j ƒ}|r,t}t!j"||ƒq,nt#j$|ƒ||}t%|ƒ}|dkr=Pq=q=W|j&ƒ|rf|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|| krð|j|t ƒt'j(|t)j*|ƒn|| kr |j+|ƒn|| kr(|j,|ƒn||krD|j-|ƒn||kr`|j.|ƒn||kr||j/|ƒn|r’t!j0|ƒnt1j2|ƒt3j4|ƒ|ddkrÌt5j6|ƒn|j7d    t8j9ƒt:j;|ƒ|j<|j=ƒƒ|j>ƒdkr'|j?|j>ƒƒnt@jA|ƒtBjC|t)jD|jƒƒtEjF|| |ƒntG||ƒdS(
NitPlayerLVs¾­Ñé±íÒì³£  lv= %sRXii2RŠi
t billboardFunc(HRFR¹R¿tGetIpyGameDataRvRR8RmR±RatGetExpRnRRftBeginRefreshStatetGetXPRŽt
GetBaseSTRt
GetBasePNEt
GetBasePHYt
GetBaseCONRtSetLVR#tWriteEvent_level_upR!tDR_PlayerUpgradetGetPlayerTotalExptCache_FightPowerChangeInfotPowerDownType_LVUPt_PlayerControl__DoLVUPAddPointRRtGetTalentPointRŸtAddGreatMasterSkillPointByLVR?tEventResponse_LVUptGetLVUPTotalExpNeedtEndRefreshStateRXtUptateSuccessProgressRGtSuccType_HeroLVRt
SetBaseSTRt
SetBasePNEt
SetBasePHYt
SetBaseCONtSync_GreatMasterFreeSkillPointR„tDoFuncOpenLogictChEquiptCalcEquips_OutOfPrintt    PlayerPettCalcPetItemAddPlayerAttrtRefreshPlayerAttrStateR…tUpdatePlayerLVBillboardtPlayerWorldAverageLvtUpdatePlayerWorldAverageLvtSetHPtGetMaxHPtGetMaxMPtSetMPRMt OnPlayerLVUptOpenServerCampaigntUpdOpenServerCampaignRecordDatatDef_Campaign_Type_LVtFunctionNPCCommontMysticalShopOpentSetPlayerTotalExp(R¬thandLvUpRRTt lvUpNeedExpR~tneedSyncTalentPointtplayerNeedDoLVUpRÁRtbefXPtbefLVt befFreePointt
befBaseSTRt
befBasePNEt
befBasePHYt
befBaseCONtisNotifyServertaddTalentPointtaftLVt aftFreePointt
aftBaseSTRt
aftBasePNEt
aftBasePHYt
aftBaseCON((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR}s¨       
 
      "
 
 
                 c Cs>|jƒ}|jƒ}tjd|dƒ}tjd|dƒ}|sbtjd||ƒdS|s€tjd||ƒdS|jƒ}|jƒ}|jƒ}|j    ƒ}    |j
ƒ}
|j ƒ} |j ƒ} |j ƒ} |jƒ}tjd|| || || |    ||
f    ƒgtdƒD] }i^q%}tjddƒ}||kr‰x1||jƒD]\}}t|||ƒqfWnxL|jƒD]>\}}ttjd    ||f|ƒƒ}t|||ƒq–WxL|jƒD]>\}}ttjd
||f|ƒƒ}t|||ƒqåWt|tj|ƒdS( Ns
LVUPAttr%sis PointAttr%ssÎÞ´ËÖ°ÒµµÈ¼¶Ë¢ÊôÐÔÅäÖÃ!job=%ssÎÞ´ËÖ°ÒµÊôÐÔµãË¢ÊôÐÔÅäÖÃ!job=%ssFCalcRoleBaseAttr LV=%s,STR=(%s~%s),PNE=(%s~%s),PHY=(%s~%s),CON=(%s~%s)itCreatRoleBaseAttrs LVUPAttr%s_%ssPointAttr%s_%s(RR·R¿RÀRR8RvtGetSTRtGetPNEtGetPHYtGetCONR‘R’R“R”RR(RŽtCalcAttrDict_TypeRR    R
tSetCalcAttrListValueR±tDef_CalcAttrFunc_RoleBase(R¬RR2RÈt
lvAttrDictt pointAttrDicttLVtSTRtPNEtPHYtCONR¡R¢R£R¤t_R·troleBaseAttrDictt    attrEffIDRætformulat    calcValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcRoleBaseAttr­sD               # ""cCsÉ|j}g}g}|jtjƒ}x¦|jƒD]˜\}}tj||ƒ\}}    }
} |    sjq4n|r‚||kr‚q4ntjƒ} |    | _    || _
|
r¶|j | ƒn| r4|j | ƒq4q4W|r5tj ƒ} | j ƒ|jƒ| _|jƒ| _t|ƒ| _|| _    tj|| ƒnt|ƒdkr©tj ƒ} | j ƒ|jƒ| _|jƒ| _t|ƒ| _|| _    t|| tdƒn|sÅ|jtjdƒndS(Niiÿÿÿÿi(RFR    R±t Def_PlayerKey_NotifyAllAttrStateRŽt    EffGetSettGetValueByEffIndexExRjRêRëRìR…RíRŒRRîRêRïRPRðRmRnR(RR (R¬tplayerStateDictRtnotifySelfListt notifyAllListtnotifyAllAttrStateR-RætcurPlayerStatetattrTypeR&t    notifyAllRòR%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyAllStateäsH              
     
    cCs+tjdƒ|jƒ|j||ƒdS(NsStart RefreshAllState!!!(RRtRefreshPlayerActionStateR­(R¬t
isSyncBuffRŒtisForce((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR„s 
cCsYtjdƒ|j}xtjD]}t||ƒq W|jƒtj|ƒt    j
|ƒt j |ƒt j|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒt j!|ƒt"j#|ƒt$j%|ƒt&j'|ƒt(j)|ƒt*j+|ƒ|j,dt-ƒtjdƒdS(NsStart ReCalcAllState!!!RñsEnd ReCalcAllState!!!(.RRRFR±tCalcAttrFuncListtClearCalcAttrListValuetRefreshAllSkillR©tRefreshPlayerEquipAttributet
PlayerWingt CalcWingAttrR<tCalcHorseAttrExtPlayerPrestigeSystCalcOfficialRankAttrtPlayerGodWeapontCalcGodWeaponAttrtPlayerDienstgradtCalcAllDienstgradAttrR«R¬t
PlayerRunetRefreshRuneAttrtPlayerMagicWeapontCalcMagicWeaponAttrtCalcMagicWeaponSoulAttrRXtCalcSuccessAttrt    PlayerVipt CalcVIPAttrtPlayerRefineStovet CalcStoveAttrtPlayerFamilyTechtCalcFamilyTechAttrtPlayerEquipDecomposet RefreshEDAttrt
PlayerDogztRefreshDogzAttrt EquipZhuXiantCalcZhuXianAttrtPlayerGatherSoultRefreshGatherSoulAttrt
PlayerCoattCalcClothesCoatSkinAttrR„R(R¬Rt    funcIndex((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytReCalcAllState's6     
                    cCs3|j}|jtjdƒ|r/|jƒntS(Ni(RFR R±tDef_Player_RefreshAttrByBufftRefreshPlayerAttrByBuffExR(R¬RñR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerAttrByBuffJs
     cCså|j}|jtjƒdkr%dStjdƒ|jƒ}t|ƒ}i}x:tdtj    ƒD]&}|j
it j ||ƒ|6ƒqcW|j ƒt j|ƒ|jƒ|j|||ƒ|jtjdƒtjdƒdS(Nis"Start RefreshPlayerAttrByBuffEx!!!is End RefreshPlayerAttrByBuffEx!!!(RFR    R±RRRR²t GetSpeedValueRXR®tupdateRåtGetValueByEffIndexRtRestorePlayerFuncAttrt_PlayerControl__RefreshBuffAttrt'_PlayerControl__DoRefreshAttrAfterLogicR (R¬Rt beforeMaxHPtbeforeMoveSpeedValueRçR-((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRSs        $
 
 cCs[|j}|jtjdƒ|rD|tjkrDtjj|ƒn|rW|jƒndS(Ni(RFR R±tDef_Player_RefreshAttrRKtg_refreshAttrBillboardFuncR…tRefreshPlayerAttrStateEx(R¬RŒRñR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR­{s     cCsld}xHtdtjƒD]4}tj||ƒ}|rd|||f}qqWtjd||fƒdS(NRsis%s,%s=%ss%s AttrInfo=%s(RXR±R®RåRRR(R¬RtmarktattrInfoR-Ræ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    PrintAttr‡sc/CsV    |j}|jtjƒdkr%tStjdƒ|jƒ}t|ƒ}t    |ƒ}i}x:t
dtj ƒD]&}|j it j||ƒ|6ƒqoW|jƒ|jƒ|jƒi}i}gtdƒD] }    i^qÐ}
g} xÉtjD]¾} | tjkr3| jgtdƒD] }    i^qƒqòn| tjkrU| j|
ƒqònt|| ƒ} tjd| | fƒ| j| ƒt|| tjƒt|| tjƒqòW|sÀ|rútjd||fƒtj||ƒtj||ƒn|j|ƒt|tjƒ}
|
| tj<tjdtj|
fƒt | tj!| tj"| tj#gƒ}t | tj|| tj$gƒ}i|tj%6|tj&6|tj'6|tj(6|tj)6|tj*6| tj!tj+6| tj#tj,6| tj"tj-6| tj"tj.6| tj/tj06| tj/tj16| tj2tj36| tj2tj46| tj2tj56| tj6tj76| tj8tj96| tj:tj;6| tj<tj=6| tj>tj?6| tj$tj@6}i}xtA| ƒD]\}}|tjB}|sqáni}xÃ|jCƒD]µ\}}||ks|tjDkrFqn|tEtjFƒ}tjD|}||tjG}xT|D]L}||kr–q~n||}tH||ƒ}|jI|dƒ|||<q~WqW|rá|||<qáqáWtjd|ƒx5|jCƒD]'\}}tjJ| |tjG|ƒqWg}gg}} xStA| ƒD]E\} } | tjKkrŠ|j| ƒ|j| ƒqR| j| ƒqRWt |ƒ}!tjd|ƒtjd    |!ƒt | ƒ}"tjd
tjKƒtjd |"ƒi}#xtjLjCƒD]\}$}%tM|%ƒdkr?| |%d}&n#t g|%D]}| |^qIƒ}&|jN|$ƒ}'|'jO|&ƒ|&tjB|#|'<qWgtdƒD] }    i^q }(tPjQ||(ƒx,tjD]!} t |(t|| ƒgƒ}(qÌWtjd |(ƒi})t|)|!tjBƒt|)|"tjBƒt|)|(tjBƒtjd |)ƒtj||!tjGƒtj||)|#ƒ|jRƒ}*tSjTd|*ƒ}+i},xŒ|#jUƒD]~}'|+sÂdn |'jV|+ƒ|,|'jW<|,|'jW|jtjX|'jWƒ|,|'jW<|,|'jW|jtjY|'jWƒ|,|'jW<q°Wtj||"tjGƒtj||(tjGƒ|jZ|ƒt j[|ƒ|j\ƒ|j]|||ƒ|j^||ƒ|j_||,ƒtMt`jaƒ}-xV|-dkr    t`jar    |-d8}-t`jajbdƒ}.tjd|.ƒ|.|dtcƒqÉW|jdtjdƒ|jdtjedƒtjdƒtcS(s« ±¾ÏîĿˢÊôÐÔ¹æÔò
                ¹¦ÄÜÊôÐԲ㼶һ(ÏßÐԲ㼶¡¢·ÇÏßÐԲ㼶)
                ¹¦ÄÜÊôÐԲ㼶¶þ(ÏßÐԲ㼶¡¢·ÇÏßÐԲ㼶)
                ...
                ¹Ì¶¨ÊôÐԲ㼶
              buff²ã¼¶
              
            1. ³õʼ»¯
            
            ¹¦ÄÜÊôÐԲ㼶һ¡¢
            2.»ù´¡ÊôÐÔ¼ÆËã
            3.Õ½¶·ÊôÐÔ¼ÆËã
                ÏßÐԲ㼶ÊôÐÔ:  »ù´¡²ã¼¶ÊôÐÔ + ¹¦Äܲ㼶ÊôÐÔ
                    »ù´¡²ã¼¶ÊôÐÔ£º½ÇÉ«»ù´¡ÊôÐÔ£¨µÈ¼¶ÌáÉý + ÊôÐÔµãÌáÉý£© + ×°±¸ÎïÆ·±í»ù´¡ÊôÐÔ + ²¿Î»Ç¿»¯»ù´¡ÊôÐÔ
                    ¹¦Äܲ㼶ÊôÐÔ£ºÉñ±ø + ×øÆï + È«Éí²¿Î»Ç¿»¯ÐǼ¶ÀÛ¼Ó + Õ䯷 + Ê±×° + Ì××° + ±¦Ê¯ + Õ½Ã˿Ƽ¼ + ·ûÎÄ + ÊØ»¤ µÈ
                    
                                    ×¢Ò⣺¸Ã²ãÖл¹°üº¬Õë¶Ô»ù´¡ÊôÐÔ»ò¹¦ÄÜÊôÐÔµÄÊýÖµ°Ù·Ö±ÈÌáÉý£¬´ËÌáÉýÖµÒ²ÊÇÀÛ¼Óµ½ÏßÐԲ㼶ÊôÐÔ
                                    Èç: ¡¾»ù´¡¹¥»÷°Ù·Ö±È¡¿¼´¶Ô »ù´¡ÊôÐÔ Öй¥»÷ÊôÐÔ°Ù·Ö±ÈÌáÉý
                                    ¡¾Éñ±øÉúÃüÊôÐ԰ٷֱȡ¿¼´¶Ô Éñ±ø¹¦ÄÜÊôÐÔ ÖÐÉúÃüÊôÐÔ°Ù·Ö±ÈÌáÉý
                                    ÀàËÆ´ËÀàÊôÐÔ²¢²»ÊÇÕæÕýÒâÒåÉϵķÇÏßÐÔÊôÐÔ£¬½öÊǶÔij¸ö¹¦ÄÜ»ò¹¦ÄÜ×éµÄ¶ÔÓ¦ÊôÐÔ½øÐаٷֱÈÌáÉý£¬×îÖÕµÄÌáÉýÖµ»¹ÊÇËãÈçÏßÐÔÊôÐÔ²ã
                    
                ·ÇÏßÐԲ㼶ÊôÐÔ: ¼´ÕûÌå²ã¼¶°Ù·Ö±ÈÔö¼ÓÊôÐÔ
                    Ö±½ÓÒÔµ±Ç°ÊôÐÔΪ»ùÖµ½øÐÐÊôÐÔ°Ù·Ö±ÈÌáÉý
            ¹¦ÄÜÊôÐԲ㼶¶þ¡¢
            ...
              
            4.¹Ì¶¨ÊôÐÔ:
                    ¸½¼ÓµÄ¹Ì¶¨ÖµÊôÐÔ£¬¸ÃÊôÐÔÔÚ·ÇÏßÐÔ¼ÆËãÖ®ºó£¬Ö±½ÓÀÛ¼Ó£¬²»ËãÈë·ÇÏßÐÔÊôÐԵĻùÖµ
            
            5.¼ÆËãÒÔÉÏËùÓÐÊôÐÔµÄÕ½¶·Á¦
            
            6.buff²ã¼¶£º
                    ¹Ì¶¨Öµbuff£¬ Ö±½ÓÀÛ¼ÓÊýÖµ
                    °Ù·Ö±Èbuff£º ÕæÕýµÄ×î×î×îÍâ²ã£¬Ö±½Ó°´°Ù·Ö±ÈÌáÉý¶ÔÓ¦µÄÊôÐÔÖµ
                    ×¢£º¸Ã²ãÌáÉýµÄÊôÐÔ²»ËãÕ½¶·Á¦
        is!Start RefreshPlayerAttrStateEx!!!is¹¦ÄܵãÊôÐÔ: %s, %ss1¹¦Äܸ½¼Óµã: baseAttrDict=%s,baseAttrNolineDict=%sis½»²æÓ°ÏìÊôÐÔ: %ssÕûÌå²ã¼¶¹¦Äܵã: %ssÕûÌå²ã¼¶ÏßÐÔÊôÐÔ: %ss¸½¼Ó²ã¼¶¹¦Äܵã: %ss¸½¼Ó²ã¼¶ÏßÐÔÊôÐÔ: %ssÎÞÕ½Á¦±»¶¯ÊôÐÔ: %ss×îÖÕ·ÇÏßÐÔÊôÐÔ: %stFightPowerParams»Øµ÷ÅÅÐаñ: %st isForceUpdatesEnd RefreshPlayerAttrStateEx!!!(fRFR    R±R"RRRR²Rt GetMaxProDefRXR®RRåRRRMtInitPlayerStateR(RòtCalcAttrExFuncListNoFightPowerR…RÖtGetCalcAttrListValuetAddAttrDictValuet CalcAttr_BasetCalcAttr_BaseNolinetCalcLineEffectt ChangePlayerAttrInLineEffectListtCalcNoLineEffectt"ChangePlayerAttrInNoLineEffectListRãtAddAttrListValuet Def_CalcAttrFunc_EquipBaseWeapontDef_CalcAttrFunc_EquipBaseArmort Def_CalcAttrFunc_EquipBaseRelicstDef_CalcAttrFunc_PlusBasetTYPE_Calc_BaseAtkAddPertTYPE_Calc_BaseMaxHPAddPertTYPE_Calc_BaseDefAddPertTYPE_Calc_BaseHitAddPertTYPE_Calc_BaseMissAddPertTYPE_Calc_EquipBaseAddPertTYPE_Calc_WeaponAtkAddPertTYPE_Calc_RelicsAtkAddPertTYPE_Calc_ArmorMaxHPAddPertTYPE_Calc_ArmorDefAddPertDef_CalcAttrFunc_GodWeapontTYPE_Calc_GodWeaponMaxHPPertTYPE_Calc_GodWeaponAtkPertDef_CalcAttrFunc_StonetTYPE_Calc_StoneMaxHPPertTYPE_Calc_StoneAtkPertTYPE_Calc_StoneBasePertDef_CalcAttrFunc_PrestigetTYPE_Calc_RealmBasePertDef_CalcAttrFunc_HorsetTYPE_Calc_HorseAtkPertDef_CalcAttrFunc_HorcruxtTYPE_Calc_HorcruxBasePertDef_CalcAttrFunc_WingtTYPE_Calc_WingHPPertDef_CalcAttrFunc_SuittTYPE_Calc_SuiteBasePertTYPE_Calc_PlusBaseAtkPert    enumerateR¶RŽtFuncNoLinearAttrDictRRyR´RRt AddDictValuetCalcAttrExFuncListtMFPTypeAttrFuncIndexDictRPRKRºRZtCalcPassiveAttr_EffectRvR¿RRdRARªtDef_PlayerKey_MFPSkilltDef_PlayerKey_MFPExt _PlayerControl__RefreshMaxProDeftCopyPlayerFuncAttrRRt_PlayerControl__SyncBaseAttrtSendModuleFightPowerPackRKR#RVRR R(/R¬RR R!tbeforeMaxProDefRçR-t baseAttrDicttbaseAttrNolineDictRÞtroleBaseAttrInfotfuncAttrInfoListRR&tequipBaseAttrListt baseAttrListtfuncAttrPerInfotfuncAddAttrPerInfoDictR_t funcAttrListtbattleNoLineAttrDictt addAttrDicttnoLineAttrTypet
addAttrPertattrRatetaddAttrTypeListt useAttrDictRìt    baseValueRftallFuncAttrIndexListtallFuncAttrInfoListtattrInfoExListR·t allAttrExListtmfpObjAttrDictRªtattrFuncIndexListt mfpAttrListtmfpObjtskillNoFightPowerAttrListtallNoLineAttrDictRÁR tmfpDictt billFuncCntRŒ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR$s"%        $
 
 
&      
 
 
 
 
 
 
"    #  "+/  
 
 c
Cs|j}t|ƒdkrdS|jƒ}t|ƒ}tjddƒ}ttjd|ƒƒ}t|t    |ƒƒt
|ƒ}t d||ƒ}t |ƒ}    |dkré|dkré|j ƒtjkrét|t|    ||ƒƒn%|    |krt|t|    |ƒƒndS(Nit
GodWeapon4i(RFtGetProDefHPPerR²R¿RfRR    R
t SetMaxProDefRR*R€t    GetProDefRÚR¼tpaDiet    SetProDefR>(
R¬RbRtmaxHPt    proDefPerR€t    maxProDeftafterMaxProDefRft    curProDef((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RefreshMaxProDef¢s         - cCsÄ|j}gtdƒD] }i^q}tj||ƒtj||ƒ|tj}tj    ||dt
ƒ|tj }t j ||dt
ƒ|j|ƒ|jƒtjd|ƒ|jƒdS(Nit
isBuffAttrsBuff²ãÊôÐÔ: %s(RFR(RZtCalcBuffers_EffecttGameLogic_DuJietCalcDujieFBAttrAddR±R¶R3R4RR´R1R2t _PlayerControl__RefreshMoveSpeedt_PlayerControl__SetAtkIntervalRRt_PlayerControl__DoRefreshGMAttr(R¬RRÞtallAttrListBuffstbattleNolineAttrBufftbattleAttrBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RefreshBuffAttr¼s       
 
cCsl|j}tjƒ}|tjkr(dS|jƒtjkrAdStj    ƒ}|j
ƒs]dStj |j ƒƒ}d}d}x˜t|j
ƒƒD]„}|j|ƒ}|jƒs¸q‘n|jƒ}    |jƒ|    krÜq‘n|jƒ}
|
|krþ|}Pn|
r‘| r‘|}q‘q‘W|s2|s)dS|}ni} |jƒ} |jƒ} |jƒ}| rÙ| dkr}|jƒ} nt| ƒ}|rÙt|jƒ|ƒ| tj<t|jƒ|ƒ| tj<t|jƒ|ƒ| tj<t|jƒ|ƒ| tj <t|j!ƒ|ƒ| tj"<t|j#ƒ|ƒ| tj$<t|j%ƒ|ƒ| tj&<t|j'ƒ|ƒ| tj(<t|j)ƒ|ƒ| tj*<t|j+ƒ|ƒ| tj,<t|j-ƒ|ƒ| tj.<t|j/ƒ|ƒ| tj0<t|j1ƒ|ƒ| tj2<t|j3ƒ|ƒ| tj4<t|j5ƒ|ƒ| tj6<t|j7ƒ|ƒ| tj8<t|j9ƒ|ƒ| tj:<t|j;ƒ|ƒ| tj<<t|j=ƒ|ƒ| tj><t|j?ƒ|ƒ| tj@<qÙnx$| jAƒD]\}}|| |<qæWgtBdƒD] }i^q }xC| jAƒD]5\}}|sQ| jC|ƒq,ntD|||ƒq,W|r¥x7|tjEjAƒD]\}}tFjG|||ƒqWn|jHƒ}gtBdƒD] }i^q¾}x*|jAƒD]\}}tD|||ƒqÝWtIjJ||tjEƒtjKd|jLƒ|fƒtjKd| || | |fƒtjKd||fƒdS(Niis*GM²âÊÔÉèÖÃÊôÐÔ: GMAttrID=%s,playerAccID=%ssH    GMµÈ¼¶ÊôÐÔ: GMAttrLV=%s,attrPer=%s,setAttrDict=%s,specAttrDict=%s,%ss     GM¸½¼ÓÊôÐÔ: attrExDict=%s,%s(MRFRt GetPlatformtGMShelltTestPlatformListt
GetGMLevelR±t Def_GM_LV_GodR¿tIPY_DatatGetGMAttrCounttGetPlatformAccIDR R7RXtGetGMAttrByIndext
GetIsValidt
GetGMMaxLVRvt
GetGMAccIDtGetAttrSpecDictt    GetAttrLVt
GetAttrPerRRRt
GetReMaxHPtAttrName_MaxHPtGetReAtkt AttrName_AtktGetReDeft AttrName_DeftGetReHitt AttrName_Hitt    GetReMisstAttrName_DefRatet GetReAtkSpeedtAttrName_AtkSpeedtGetReSkillAtkRatetAttrName_SkillAtkRatetGetReDamagePertAttrName_DamagePertGetReDamReducetAttrName_DamReducePertGetReIgnoreDefRatetAttrName_IgnoreDefRatetGetReLuckyHitRatetAttrName_LuckyHitRatet GetReLuckyHittAttrName_LuckyHittGetReBleedDamagetAttrName_BleedDamaget GetReIceAtktAttrName_IceAtkt GetReIceDeftAttrName_IceDeft GetRePetAtktAttrName_PetAtktGetRePetSkillAtkRatetAttrName_PetSkillAtkRatetGetRePetDamPertAttrName_PetDamPertGetReFinalHurttAttrName_FinalHurttGetReFinalHurtReducetAttrName_FinalHurtReduceRŽR(RVRÔR´RåtSetValueByEffIndext GetAttrExDictR1R2Rt GetGMAttrID(R¬Rtplatformt
ipyDataMgrt playerAccIDt    gmIpyDatat commIpyDataR_tipyDatatgmMaxLVtgmAccIDt setAttrDictt specAttrDicttattrLVtattrPerRTRìRCRÞt gmAttrSetInfoR˜Ræt
attrExDictt gmAttrExInfo((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DoRefreshGMAttrØsž                     #       cCsÏ|j}|jƒ}td||ƒ}|dkrx|dkrx|jƒtjkrx|jt|jƒ||ƒƒn|j    ƒ|j
|ƒ|t |ƒkr·t |t |ƒƒn|j ƒt|ƒdS(sßË¢Íê×ÜÊôÐÔ(¹¦ÄÜÊôÐÔ + buffÊôÐÔ) ºóÐèÒª´¦ÀíµÄÂß¼­
            °üº¬Ò»Ð©ÊýÖµ¾ÀÕý¡¢ÊôÐÔ±ä¸ü֪ͨµÈ
            @attention: ´Ëº¯ÊýΪˢ ¹¦ÄÜÊôÐÔ ¼° buffÊôÐԠͨÓÃÂß¼­£¬ËùÒÔ²»ÊÇÊÜbuffÓ°ÏìµÄÏà¹Ø´¦ÀíÇë²»Òª·ÅÕâÀ±ÈÈçÕ½¶·Á¦µÈ
        iN(RFR²R€RÚR¼R„R±R>R¹R RîRt SetSpeedValuet_PlayerControl__RestoreHPMPtSync_ExpRateChange(R¬R R!RçRt
afterMaxHPtaddMaxHP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DoRefreshAttrAfterLogic7s     -#
 
 
cCsš|tj}itjtjgtj6tjtjgtj6tj    tj
gtj 6tj tj gtj6tjtjgtj6tjtjgtj6}g}x‘|jƒD]ƒ\}}|\}}    |j|dƒ}
|j|ƒ} |
| krª|j||
ƒtjƒ} |    | _|
| _|j| ƒqªqªW|r–tjƒ} | jƒ|j ƒ| _!|j"ƒ| _#t$|ƒ| _%|| _t&j'|| ƒndS(Ni((R±R´tDef_PlayerKey_BaseAtkMinRGtCDBPlayerRefresh_BaseAtkMinR¿tDef_PlayerKey_BaseAtkMaxtCDBPlayerRefresh_BaseAtkMaxRÀtDef_PlayerKey_BaseMaxHPtCDBPlayerRefresh_BaseMaxHPR¾tDef_PlayerKey_BaseDeftCDBPlayerRefresh_BaseDefRÁtDef_PlayerKey_BaseHittCDBPlayerRefresh_BaseHitRÂtDef_PlayerKey_BaseMisstCDBPlayerRefresh_BaseMissRÄRŽRR    R RjRêRëRìR…RíRŒRRîRêRïRPRðRmRn(R¬RRhtbaseBattleAttrDicttattrTypeKeyDictt notifySListRìR&R¦RéRst curBaseValueRòR%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SyncBaseAttrUs6             
    cCsÕ|j}|jƒ}x(tjD]}|jtj|dƒqWxtd|jƒƒD]j}|j    |ƒ}tj
j |j ƒtj ƒ}|jtj|ƒ}|jtj|||jƒƒqVWtj|ƒdS(Ni(RFtGetSkillManagerRGtModuleFightPowerTypeListR R±R\R(t GetSkillCounttGetSkillByIndextDef_SkillFuncType_MFPTypeRt GetFuncTypetDef_MFPType_RoleR    t GetFightPowerR«tSetPetSkillFightPower(R¬Rt skillManagerRªR_tcurSkilltskillMFP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRô}s     % c    CsÔ|j}tjƒj|ƒ}|s(dStjj|jƒtj    ƒ}|j
ƒ|}|j tj |ƒ}|j tj |td||ƒƒtjd||||||f|jƒƒ|rÐ|jƒndS(NisSˢм¼Äܸ½¼ÓÕ½¶·Á¦: skillID=%s,beforeFightPower=%s,mfpType=%s,skillMFP=%s,updMFP=%s(RFRR¡tGetSkillBySkillIDR±RüRRýRGRþRÿR    R\R R€RRÃR­(    R¬tskillIDtbeforeFightPowertisRefreshStateRRRªt addFightPowerR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshSkillFightPowerEx“s    $    $ cCsdS(N((R¬((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcPassiveBuffAttrªsc Csôg}d}tjdtjƒtjd|ƒxi|jƒD][\}}t|||ƒtjƒ}|jƒ||_    ||_
|j |ƒ||7}q>W|t j krÒtjd||jƒƒt j }ntjƒ}|jƒ||_t|ƒ|_||_tj||ƒ|jƒ}    |j|tƒ||    krTtj||    ƒn|jtjdtjƒ}
||
kr—t|tj|tjƒntjd||
|    fƒt j!|ƒt"j#|t j$|ƒ|    |krðt%j&|ƒndS(NisÕ½Á¦¹¦Äܵã: %ss Ä£¿éÕ½Á¦: %ss&×ÜÕ½Á¦³¬¹ýÊýÖµÉÏÏÞ£¡totalFightPower=%ss1×ÜÕ½Á¦: %s, ÀúÊ·×î¸ßÕ½Á¦: %s, beforeFightPower=%s('RRR±RZRŽtSetMFPFightPowerRjttagMCModuleFightPowerRŒtMfpTypet
FightPowerR…RGR=R8RÃttagMCModuleFightPowerInfotTotalFightPowerRPtMFPCnttMFPListRmRnRÿt SetFightPowerRR!tDR_FightPowerChangeInfoRôtDef_PDict_FightPower_HighesttDef_PDictType_FightPowerR÷R…tUpdatePlayerFPTotalBillboardR¶R·tDef_Campaign_Type_FightPowerRZtOnPlayerFightPowerChange( R¬RR~t mfpDataListR@Rªt
fightPowertmfpDatatmfpInfoRthighestFightPower((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRa¶sH 
           
               c CsÝ|j}tjdƒ}tj|ƒrMtjddƒ}tjd|ƒn t|ƒ}tjd|ƒ|jƒt    j
krµ|j t j ƒ}||7}tjd||fƒn|t j}|t j}|jt jdƒ}|jt jdƒ}    |s|    rJt|tj|    ttjƒ|ƒ}tjd||    |fƒnt|dƒ}t|ƒ|krÙt||ƒttjd|ƒƒ}
|j|
ƒtjd|
ƒ|jƒjƒ} | rÙ| j|
ƒqÙndS(    Nt    MoveSpeedisÔËïڹ̶¨ËÙ¶ÈÖµ: speed=%ss¹¦ÄÜÒÆ¶¯ËÙ¶ÈÖµ: speed=%ss     Æï³Ë״̬¸½¼ÓÖµ: %s, speed=%sis;    buffÓ°ÏìºóËÙ¶ÈÖµ: speed=%s,buffSpeedPer=%s,buffSpeed=%ss(¹«Ê½¼ÆËãºóÒÆ¶¯ÆµÂÊ: moveSpeed=%s ºÁÃë/¸ñ(RFR¿RfR3R4RRtGetSpeedNotBuffR:R¼R;R    R±tDef_PlayerKey_SpeedHorseR´R¶RRÚRRGRyRR€RRáRR    R
tSetSpeedt    GetPetMgrt GetFightPet( R¬R“RtmoveSpeedFormattspeedt
speedHorsetbuffBattleAttrtbuffBattleNolineAttrt    buffSpeedt buffSpeedPert    moveSpeedtfightPet((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RefreshMoveSpeedás8     
   (  cCsY|j}t|ƒ}tjdƒ}|s0dnttjd|ƒƒ}|j|ƒdS(Nt AtkIntervali(RFt GetAtkSpeedR¿RfRR    R
tSetAtkInterval(R¬RtatkSpeedRát atkInterval((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetAtkIntervals      $ cCs4tjdƒ|j}tj|ƒtj|ƒdS(Ns!Start RefreshPlayerActionState!!!(RRRFtOperControlManagertClearObjActionStateRZtCalcBuffer_ActionState(R¬R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRïs      cCsÅ|j}|jƒ}|jƒ|kr7|j|ƒn|jƒ}|jƒ|kre|j|ƒn|jƒ}|jƒ|kr“|j    |ƒn|j
ƒ}|j ƒ|krÁ|j |ƒndS(N( RFRÐt GetTotalSTRt SetTotalSTRRÑt GetTotalPNEt SetTotalPNERÒt GetTotalPHYt SetTotalPHYRÓt GetTotalCONt SetTotalCON(R¬Rt curPlayerSTRt curPlayerPNEt curPlayerPHYt curPlayerCON((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetPlayerStateInDB0s        cCsQ|j}|jƒsdS|jƒ}|jƒ}||krM|j|ƒndS(N(RFt    GetInitOKR¹R²R±(R¬Rt curPlayerHPtcurPlayerMaxHP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt __RestoreHPMPJs        cCsz|j}|jƒi
|jƒtj6|jƒtj6|jƒtj6|j    ƒtj
6tj tj 6t jƒjƒtj6t jƒjƒtj6t jƒjƒtj6tjtj6tjtj6}xmtdtjƒD]Y}|tjtjtjgkrÿqÕn||krdn||}tj|||ƒqÕW|jƒtjkrZ|jtjƒn|j ƒsv|j!t"ƒnt"S(Nii(#RFtClearBattleEffectR‘R±tTYPE_Calc_AttrCurSTRR’tTYPE_Calc_AttrCurPNER“tTYPE_Calc_AttrCurPHYR”tTYPE_Calc_AttrCurCONtDef_BaseAtkSpeedRÆRRRxtTYPE_Calc_AttrFightExpRatetTYPE_Calc_AttrGameExpRatetTYPE_Calc_AttrPetExpRateRytTYPE_Calc_HitSucessRatetTYPE_Calc_CurePerRXR®tTYPE_Calc_AttrHPtTYPE_Calc_AttrMPtTYPE_Calc_ProDefRåRÎt GetPickupDisttDef_RolePickupItemDistt SetPickupDistt GetCanAttackt SetCanAttackR(R¬Rt initAttrDictR_Ræ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR+fs.    
   cCsG|j}tj|jƒ|jƒƒtjkrC|jtjƒndS(N(RFR+tGetAreaTypeByMapPosRRR¼t    gatNormalt SetAreaType(R¬R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInitMapBuffState’s    'cCsï|j}tjƒjƒ}|tjkrQ|jƒ}|jƒ}|jƒ}n$|j    ƒ}|j
ƒ}|j ƒ}|dkr¬t |dƒtj d||jƒƒdS||jƒkrÕtj|||ƒdSt||||tƒdS(NitObjectMapNonentitysÈËÎïÖØÉúµØÍ¼ID = %sÒì³£!(RFRR)R»R¼R½R½RŸR tGetFBRebornMapIDtGetFBRebornPosXtGetFBRebornPosYR9R.RÃR¾RYR`R(R¬RRüR°R›Rœ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetToBornPlace s$           cCsÄ|j}tj|ƒt|ƒ|jƒt|ƒtj|ƒtj|ƒ|j    ƒ|j
ƒdkrz|j dƒnt j |ƒ|j|ƒt jƒjƒ}t|ƒtj||ƒdS(Ni(RFRMRtReSetPlayerStatet#_PlayerControl__PlayerDeadClearBuffR0RR¤R3tClearUseSkillRecR¹R±RtClearPlayerPosCounttSetPlayerDeadCntRRRtPlayerTJGReborn(R¬RRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÑs      
 
 
 
 
cCswt|tjttjƒƒƒtj|tjƒd}|o_|jƒj    ƒ|jƒj
ƒksfdS|j |ƒdS(Ni( R÷R±tDef_Player_Dict_DeadTimeRttimeRARctDef_SkillID_ReviveTiredRlt
GetSkillLVt GetSkillMaxLVtNotifyPlayerDeadTime(R¬RtfindBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRjs *! cCs–tj|tjƒd}|r’|jƒjƒ|jƒjƒkr’|jtjƒr’|jtj    ƒ}t
j ƒ}||_ t j||ƒq’ndS(Ni(RARcR±RnRlRoRpRôtDef_PDict_IsAddReviveTiredRlRjttagMCPlayerDeadTimetDeadTimeRmRn(R¬RRrtlastDeadTimeTicktpackData((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRq4s*     cCsç|j}tjƒjƒ}t||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||j    ƒt|ƒt||j
ƒt|ƒt||j ƒt|ƒt||j ƒt|ƒt||j ƒt|ƒdS(N(RFRRRRwRxtClearBuffByDieRzR{R|RvR}R~R(R¬RRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerDeadClearBuffDs    (1RDRER7RFRHR­RKRMR›t!_PlayerControl__LVUpDoInvestitureR^RGtDef_ViewExpType_MissionRRjR_RoRR}RãRîR„RRRR­R'R$R^RR’RR`RôR    R
RaRR‘Rït"_PlayerControl__SetPlayerStateInDBRâR+R`ReRRjRqRg(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRƒ"sV        
                        z     ”    7    7     #         (             ÿ            _        (              +    /                    ,        1    4    /    c    Csú|jƒ}d}g}tjƒj|ƒ}x³||jƒkrâ|j|ƒ}|s{tjd||ƒ|d7}q0n|r||ƒr|d7}q0n|j|j    ƒj
ƒƒ|rÒ|j |j    ƒƒn|j |ƒq0Wt j|||ƒdS(Nis###Íæ¼ÒÇå¿Õbuffʧ°Ü,Ë÷Òý = %si(RÃRStGetPassiveEffManagert GetPassiveEfft GetBuffCounttGetBuffRR.R…Rlt
GetSkillIDt DelBuffInfotDeleteBuffByIndexRZtClearBuffEffectBySkillIDList(    Rt    buffStatet funcClearBuffRÙR2R-tbuffSkillIDListt
passiveEfftcurBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRw[s& 
 
cCs |jƒ}|jƒt@dkS(Ni(RltGetDieContinuetDef_Buff_Clear_Die(R‰tskill((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRxs cCs |jƒ}|jƒt@dkS(Ni(RlRŠtDef_Buff_Clear_Disconnect(R‰RŒ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRy‰s c    CsJtjƒ}|j|ƒsFtjd||jƒƒt|dƒtS|j|ƒ}tj||j    ƒƒs~t|dƒtS|j
|ƒt j kr§t|dƒtSt ||ƒsºtSt|ƒ}tjdƒ}d}xB|jƒD]4\}}||krqèn||krtS|}qèW|dkrFt|d||gƒtStS(Ns###·Ç·¨µØÍ¼Êý¾Ý£¬mapID: %sRatEnemy_State_No_TranstCarry_lhs_306641tTransportMapLineCheckitCarry_yeqian_0(RR)RÞR8RÃR9RtGetCountryByMapIDtIsSameCountry_Namet
GetCountryRåR¼R½t CanEnterMaptGetPlayerLineIDRRRŽR(    RRËRÊt
mapCountryt    mapLineIDtmapLineCheckDicttcanEnterLineIDR@t    mapIDList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckTagCountry“s6  
 
 cCst|||ƒstStS(N(tCheckLVCanEnterMapRR(RRËt    isShowSys((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR•ÑscCs¤tjƒjƒj|ƒ}|s%dS|jƒ}|jƒ|krc|r_t|d|gƒntS|jƒ}|r t||ƒ r tj    d||fƒtSt
S(Nt Carry_hwj35_0s5¶Ô²»Æð£¬¸Ã³¡¾°destMapID=%sÐèÒªÍê³ÉÖ÷ÏßÈÎÎñ%s²ÅÄܽøÈë!( RR¡t
GetChinMapt
GetMapByIDRvR9Rt GetTreasureIDt    IsMapOpenRR(RRËRžtmapDatatenterLVt openMapStep((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRàs  cCs6tj|ƒ}|stS||jdƒkr2tStS(NtOpenMap(t QuestCommontGetCommonMissionRt GetPropertyR(RR¦t    mission_1((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR£òs cCs„|jƒ}|tjkr,t|dƒtS|jƒrE|jƒn|tjkrat    |ƒnt
j |tj tj ƒs€tStS(NR (RÚR±RR9RRÅR-R¼R RÛR5tIsObjCanDoActiontDef_Obj_ActState_ServerActt oalTransmitR(RR$((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRºs      cCsZ|jƒrdS|s+tjƒjƒ}ntj|tj|ƒrVt|ƒj    ƒndS(N(
RZRRRRrR}R±tDef_SkillID_LimitSuperBuffRƒR(RRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÕs  cCs{|s"|jƒtjkr"dSntj|tj|ƒtj|tj|ƒ|swt|tj    ƒ|j
tj ƒndS(N( RÚR¼t    paProduceRrR}R±tDef_ProduceBuffIDtDef_SkillID_ActionWuDiRæRÞtNotify_ProductionStatetDef_EndProduction(RRÙt isLeaveServer((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDelProduceBuff1scCstjƒjƒ}|jƒ}|tjkr@tj|dƒnA|tjkr_t    j
|ƒn"|tj krt j ||ƒn|tjkrt|ƒn|jƒ}|tjkrËtj|tƒn(|tjkrótj||jƒƒnt|ƒ|jdƒdS(Ni(RRRRÚR¼tpaTradeRCRDRÝR?RGt paGameEventtPlayerGameEventt StopGameEventRàRáR:R;R<R=RRŸR3R7R5RÏR    R7(RRÙRåtcurPlayerVehicle((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRfLs$   
 cCs$|jƒstS|jƒr tStS(N(RERt GetIsLoginOffR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__CanPullPlayerys
  cCs=|jƒtjkrtS|jƒr)tS|jƒr9tStS(N(RÚR¼RÞRRÅt IsBattleStateR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytIsPlanStateNull†s  
cCstj}|tjjƒkr"dS|jƒj|ƒ}tjj|ƒtj}tj    |j
|ƒ}|j |ƒ|j ƒdS(N( R¼trptItemR±tDef_Type_CanBuyPack_PlayerDictRdRÆRÇRtDef_PlayerPackDict_Index_KeytDef_PlayerFirstLoginOpenBackCntRôtSetCounttSync_PackCanUseCount(RRttcurPacktkeyNametcount((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt Init_ItemPack¢s     
cCstj}|tjjƒkr"dS|jƒj|ƒ}tjj|ƒtj}tj    |j
|ƒ}|j |ƒ|j ƒdS(N( R¼t rptWarehouseR±RÁRdRÆRÇRRÂtDef_FirstLogin_OpenWareHouseCntRôRÄRÅ(RRtRÆRÇRÈ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInit_Warehouse»s     
cCs6|jƒjtjƒ}|jtjƒ|jƒdS(N(RÆRÇRGt rptTreasureRÄR±tDef_PackCnt_TreasureRÅ(RRÆ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInit_TreasurePackÖs
cCs€tjj|ƒtj}|dkr:tjd|ƒdS|jƒj|ƒ}tj    |j
|ƒ}|j |ƒ|j ƒdS(NsInit_Pack Error type=%s( R±RÁRRÂR7RR8RÆRÇtDef_PackCnt_WeaponCoatRôRÄRÅ(RRtRÇRÆRÈ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInit_CabinetCountByTypeâs  
cCsetjƒ}xRt|jƒƒD]>}|j|ƒ}|dks|jƒ rSqnt|ƒqWdS(N(RR=RXRYRZR7RERã(t playerManagerR_R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshOperationAction_ExpRateós cCsat|ƒ}|jƒ}|tj|ƒ7}|tj|tjƒ7}tj    j
t j iƒ}t j|ƒ rÐ|j
t jƒrÐtjd|j
t jƒƒ}|rÐ|jƒ|jƒkrÐ||jƒ7}qÐn|jƒtjgkr||jtjƒ7}ntdtj|ƒdƒ}||tj7}||kr]|jtj|ƒ|j |ƒndS(Nt
ActExpRateii(!tGetPlayerExpRatetGetFightExpRateR¯tGetWorldAverageLvExpRateRtGetPrivilegeValueR±tVIPPrivilege_FightExpRateRKtg_operationActionDictRRGtOperationActionName_ExpRateRRt ActKey_StateR¿Rt ActKey_CfgIDRvt
GetLVLimitt GetAddExpRateR¾tDef_FBMapID_FamilyInvadeR    tDef_PlayerKey_TeamExpRateR€RÜtGetAreaRewardMultipleRyR RqtSync_CurExpRate(Rt totalExpRatet fightExpRatetactExpRateInfot actExpIpyDatatmapExpAddMultiple((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRãs"  " cCs|jtjƒS(N(R    R±Rq(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÕsc Cs*t|ƒ}|dkr|S|jƒ}xût|jƒƒD]ç}|j|ƒ}|jƒ}xÃt|jƒƒD]¯}|j    |ƒ}|j
ƒ}    |    dkr Pn|    t j krµqon|j dƒ}
|j dƒ} |j dƒ} | t jkso| rþqon| td|ƒ@ro||
8}qoqoWq;W|S(sA »ñÈ¡ÊÜÏÞ¹¦ÄÜ×ܾ­Ñé±¶ÂÊ
    @param limitType: ÊÜÏ޵ŦÄÜÀàÐÍ
    iiiN(RÕR7R|RXRR€RlR(tGetEffectCountt    GetEffectt GetEffectIDR±ROtGetEffectValuetEffCalcType_LinePlusRö( Rt    limitTypeRäR…R_R‰Rttjt    curEffectteffectIDt
effExpRatetcalcTypetlimitTypeValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLimitExpRates,      cCs&d
\}}}}tjd|dƒ}|sOtjd|ƒ||||fSxÄ|jƒD]¶\}}t|ƒtkr‰|jƒ}n|dtj    gkr§|}q\|dtj
gkrÅ|}q\|dtj gkrã|}q\|dtj gkr|}q\tjd    |ƒq\W||||fS( NisCreatRolePoint%sisCreatRolePoint, job = %sRÚRÛRÜRÝsCreatRolePoint, key = %s(iiii( R¿RÀRR8RŽR›RNtupperRGtDef_Effect_STRtDef_Effect_PNEtDef_Effect_PHYtDef_Effect_CON(RÈR¡R¢R£R¤tjobDictR˜Ræ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRAs$                cCsdS(N((RRÐtlogIndexttagIDtparR¡((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDataServerMoneyLogiscCs:|j|ƒ|jtj|ƒ|jtj|tƒdS(N(tSetGMForbidenTalktSendGameServerRefreshStateRGtCDBPlayerRefresh_ForbidenTalkRèR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR‚s cCs
|jƒS(N(t
GetExAttr1(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetJobRankŠscCs |jtj|ƒ|j|ƒS(N(RR¼tCDBPlayerRefresh_ExAttr1t
SetExAttr1(RtjobRank((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetJobRank‹scCst||d|ƒS(Ni
(tSetTeamCheckState(Rt joinReqCheckt inviteCheck((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTeamCheckStateExscCs|j|ttƒS(N(t
SetExAttr2RR(Rt
checkState((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR    ‘scCs
|jƒS(N(t
GetExAttr2(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTeamCheckState’scCs|j|ttƒS(N(t
SetExAttr3R(RRÛ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR7•scCs
|jƒS(N(t
GetExAttr3(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFBFuncLineID–scCs
|jƒS(N(t
GetExAttr5(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÁ™scCs-|j|ttƒ|s)tj|ƒndS(N(t
SetExAttr5RRRZR[(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetCrossMapIDšscCs|jƒtj|jƒS(N(t
GetExAttr6R±RaR×(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRסscCsn|tj}t|tjtjƒ}||jƒkrH|j|ƒn||jƒkrj|j|ƒndS(N(R±RaR>R=R×RRt
SetExAttr6(Rt totalSilverR~t silverPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¢s cCs
|jƒS(N(t GetExAttr11(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTodayXianyuanCoin¬scCs|j|ttƒS(N(t SetExAttr11RR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTodayXianyuanCoin­scCs|j|jƒ|ttƒS(N(RRRR(RRf((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddTodayXianyuanCoin®scCs
|jƒS(N(t
GetExAttr9(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVIPExpireTime±scCs|j|ttƒS(N(t
SetExAttr9RR(Rt
expireTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetVIPExpireTime²scCs
|jƒS(N(t GetExAttr10(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetChatBubbleBoxµscCs|j|ttƒS(N(t SetExAttr10RR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetChatBubbleBox¶scCs
|jƒS(N(t GetExAttr13(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR7¹scCsitjƒrdStjƒ}|s&dS|jƒ}||kre|j|ttƒtjd|ƒndS(Ns(¸üÐÂÍæ¼ÒËùÊô·þÎñÆ÷×éID: serverGroupID=%s(RR‚tGetServerGroupIDR)t SetExAttr13RRR(RRItplayerServerGroupID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytUpdPlayerServerGroupIDºs    cCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPrestigeÈscCsdS(N((RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPrestigeÉscCs|jtj||ƒdS(N(R R±tDef_PlayerKey_MFPFightPower(RRªR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR ÌscCs|jtj|ƒS(N(R    R±R0(RRª((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPFightPowerÑscCs|jƒdS(Ni(RN(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR–ØscCsœddl}|j|ƒ}|rJ|j|jƒdkrJ|jdƒdS|jtjƒtjkr‹|j    ƒ|kr‡|j|ƒndS|j|ƒdS(Niÿÿÿÿii(
R¨R©RªtDef_NewGuyNoSightR6RôR±t#Def_Player_Dict_AutoCheckHack_StatetDef_AutoCheck_State_DangertGetSight(RtsightR¨t firstMission((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR6às   cCs8|jƒ}|jtjƒtjkr4|d9}n|S(Nid(tGetAtkIntervalRôR±R3R4(RR3((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR8õs
   cCsm|s
dS||}tj|tjƒ}|r\tj|}t||ttjƒƒ}nt||ƒdS(N(RRØR±tVIPPrivilege_NPCSPRateRyRRtPlayerAddZhenQi(RtnpcSPt    killCountt
addSPValuet    npcSPRatet    npcHPRate((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddZhenQiByKillNPCÿs
   tunknowncCsG|dkrtSt|ƒ}||}||kr6tSt||ƒtS(Ni(Rt    GetZhenQiRt    SetZhenQi(RRft canOverbrimtisSysMsgR(t    eventDatat    curZhenQiRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR:s  
  cCsg|dkrtSt|ƒ}td||ƒ}|dkrVtjd||fƒtSt||ƒtS(NiscurZhenQi = %s, lostValue = %s(RRBR€RR8RRC(Rt    lostValueR(RFRGRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLostZhenQi-s    cCs|jƒtj|jƒS(N(t
GetExAttr8R±Rat
GetExAttr7(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRBAscCsn|tj}t|tjtjƒ}||jƒkrH|j|ƒn||jƒkrj|j|ƒndS(N(R±RaR>R=RKt
SetExAttr7RJt
SetExAttr8(Rt totalZhenQitzhenQit zhenQiPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRCBs cCsdS(N((RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetVsFightValueSscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVsFightValueYscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVsSportsPoint_scCsdS(N((RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetVsSportsPointescCs=t|ƒ}t|td||ƒƒt|d|gƒdS(NitArena_pan_474794(RSRTR€R9(RRætcurValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytReduceVsSportsPointks cCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetLongMaiLVvscCsdS(N((RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetLongMaiLV~scCsa|tjtjgkrdStj||ƒ}|s8dStj|tj}|j|ƒ}|j    ƒ}t
|||ƒ}d}    t ||ƒ|j ƒ}
|jtj |ƒ} |j|ƒ} d} | r×| d} nxƒt|ƒD]u}||d}|j|ƒ}d|krPn|ddkr-qän|d| }||
| krOPn|    d7}    qäW|    S(Nit
OnlineTimei(R¼RÀRÊtPlayerExpandPackCfgMgrtGetExpandPackCfgR±RÁRÂRôtGetCanAddCountR>RRRgRrtGetTotalAddAttrInfoByCountR(R7(RRttopenCntRÙtcfgObjRÇtcurCounttmaxCanAddCounttforCountRÈt
onlineTimetlastAutoOpenPackTickt lastInfoObjt notOnlineTimeR_t    nextCounttinfoObjtneedOnlineTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCanAutoOpenPackCount‡s:     cCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHolidayExpRateÅscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWorldBossExpRateÌscCs|jƒ}t|ƒS(N(RvtGetTotalExpByPlayerLv(RRÁ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLVUPTotalNeedExpÒs cCs t|ƒ}|sdSt|ƒS(Ni(RRRŸ(tplayerLVRT((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRnÜs cCs1tjd|ƒ}|s-tjd|ƒdS|S(NR‹s¾­Ñé±íÒì³£  lv= %s(R¿RRR8(RpRT((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRRâs
cCs%|s
dS|jƒtj|jƒS(Ni(RmR±RaRŽ(RT((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRŸéscCs%|jƒ}t|ƒ}t||ƒS(N(RvR˜tGetRealPlayerLvEx(Rt realPlayerLvR~((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealPlayerLvñs  cCsWt|ƒ}|s|Sx:||krR|d7}||8}t|ƒ}|sPqqW|S(Ni(Rn(RrR~t needTotalExp((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRqüs 
 
 cCs-|jƒ}|jƒ}|tj|}|S(N(RnRmR±Ra(RRƒR…ttotalMasterExp((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR˜ s  cCsb|tj}|tj}|jƒ|kr<|j|ƒn|jƒ|kr^|j|ƒndS(N(R±RaRmR{RnR|(RRƒR„R…((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR»s  cCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RjttagMCNotifySelectObjRŒREtIDtisSelectRmRn(RtobjTypetobjIDRxt    selectObj((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_SelectObj%s 
            cCsŠ|dkrdStjj|gƒ}|gkr5dStj|d|df}||}x)|dD]}tj|i||6ƒqeWdS(Niii(R±tItemEffect_AttrDictRtDef_CalcAttrIndexDictRRX(RìRæR·R&R-tattrDictR_((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÔ4s  
cCs|jtjƒS(N(R    R±tDef_PlayerKey_SpeedValueNotBuff(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR gscCs|jtj|ƒdS(N(R R±R€(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSpeedNotBuffhscCs|jtjƒS(N(R    R±tDef_PlayerKey_SpeedValue(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRjscCs-|jtj|ƒ|jtj|tƒdS(N(R R±R‚RèRGtCDBPlayerRefresh_SpeedValueR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRákscCs
|jƒS(N(tGetBattleValEx1(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR0rscCs|j|tƒdS(N(tSetBattleValEx1R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetAtkSpeedxscCs
|jƒS(N(tGetBattleValEx2(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAtkBackHPPerscCs|j|ƒdS(N(tSetBattleValEx2(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAtkBackHPPer†scCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAtkBackMPPerŠscCsdS(N((RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAtkBackMPPer‹scCs
|jƒS(N(tGetBattleValEx3(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceSkillCDŽscCs?|j|ƒtjdƒ}t|ƒ}|jtj|ƒdS(NtSkillCDReducePer(tSetBattleValEx3Rt GetChConfigRR R±tDef_PlayerKey_ReduceSkillCDPer(Rt reduceSkillCDtreducePerFormatt    reducePer((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetReduceSkillCDs
  cCs|jtjƒS(N(R    R±R’(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceSkillCDPer•scCs/tjƒjƒtjkr+|jtjƒSdS(Ni(RR)R»R¼R½R    R±tDef_PlayerKey_CommMapExpRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCommMapExpRate˜scCs|jtj|ƒS(N(R R±R˜(RtexpRate((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCommMapExpRateœscCs|jtjƒS(N(R    R±tDef_PlayerKey_NPCHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNPCHurtAddPerŸscCs-|jtj|ƒ|jtj|tƒdS(N(R R±RœRèRGtCDBPlayerRefresh_NPCHurtAddPerR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetNPCHurtAddPer scCs|jtjƒS(N(R    R±tDef_PlayerKey_JobAHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobAHurtAddPer¦scCs|jtj|ƒdS(N(R R±R (RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobAHurtAddPer§scCs|jtjƒS(N(R    R±tDef_PlayerKey_JobBHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobBHurtAddPer©scCs|jtj|ƒdS(N(R R±R£(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobBHurtAddPerªscCs|jtjƒS(N(R    R±tDef_PlayerKey_JobCHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobCHurtAddPer¬scCs|jtj|ƒdS(N(R R±R¦(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobCHurtAddPer­scCs|jtjƒS(N(R    R±tDef_PlayerKey_NPCAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNPCAtkReducePer±scCs|jtj|ƒdS(N(R R±R©(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetNPCAtkReducePer²scCs|jtjƒS(N(R    R±tDef_PlayerKey_JobAAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobAAtkReducePer´scCs|jtj|ƒdS(N(R R±R¬(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobAAtkReducePerµscCs|jtjƒS(N(R    R±tDef_PlayerKey_JobBAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobBAtkReducePer·scCs|jtj|ƒdS(N(R R±R¯(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobBAtkReducePer¸scCs|jtjƒS(N(R    R±tDef_PlayerKey_JobCAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobCAtkReducePerºscCs|jtj|ƒdS(N(R R±R²(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobCAtkReducePer»scCs|jtjƒS(N(R    R±tDef_PlayerKey_LuckyHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLuckyHitReducePer¿scCs|jtj|ƒdS(N(R R±Rµ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLuckyHitReducePerÀscCs|jtjƒS(N(R    R±tDef_PlayerKey_GreatHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetGreatHitReducePerÂscCs|jtj|ƒdS(N(R R±R¸(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGreatHitReducePerÃscCs|jtjƒS(N(R    R±tDef_PlayerKey_SuperHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSuperHitReducePerÅscCs-|jtj|ƒ|jtj|tƒdS(N(R R±R»RèRGtCDBPlayerRefresh_SuperHitReduceR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSuperHitReducePerÆscCs|jtjƒS(N(R    R±t Def_PlayerKey_IgnoreDefReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetIgnoreDefReducePerÊscCs|jtj|ƒdS(N(R R±R¿(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetIgnoreDefReducePerËscCs|jtjƒS(N(R    R±t Def_PlayerKey_LuckyHitRateReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLuckyHitRateReduceÏscCs-|jtj|ƒ|jtj|tƒdS(N(R R±RÂRèRGt#CDBPlayerRefresh_LuckyHitRateReduceR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLuckyHitRateReduceÐscCs|jtjƒS(N(R    R±t Def_PlayerKey_GreatHitRateReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetGreatHitRateReduceÔscCs|jtj|ƒdS(N(R R±RÆ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGreatHitRateReduceÕscCs|jtjƒS(N(R    R±t Def_PlayerKey_SuperHitRateReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSuperHitRateReduce×scCs|jtj|ƒdS(N(R R±RÉ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSuperHitRateReduceØscCs|jtjƒS(N(R    R±t!Def_PlayerKey_IgnoreDefRateReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetIgnoreDefRateReduceÚscCs-|jtj|ƒ|jtj|tƒdS(N(R R±RÌRèRGt$CDBPlayerRefresh_IgnoreDefRateReduceR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetIgnoreDefRateReduceÛscCs|jtjƒS(N(R    R±tDef_PlayerKey_FuhaoHitRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFuhaoHitRateáscCs|jtj|ƒdS(N(R R±RÐ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFuhaoHitRateâscCs|jtjƒS(N(R    R±tDef_PlayerKey_BleedDamage(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBleedDamageåscCs-|jtj|ƒ|jtj|tƒdS(N(R R±RÓRèRGtCDBPlayerRefresh_BleedDamageR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBleedDamageæscCs|jtjƒS(N(R    R±tDef_PlayerKey_FinalHurtPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFinalHurtPerëscCs-|jtj|ƒ|jtj|tƒdS(N(R R±R×RèRGtCDBPlayerRefresh_FinalHurtPerR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFinalHurtPerìscCs|jtjƒS(N(R    R±tDef_PlayerKey_FinalHurt(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetFinalHurtðscCs-|jtj|ƒ|jtj|tƒdS(N(R R±RÛRèRGtCDBPlayerRefresh_FinalHurtR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetFinalHurtñscCs|jtjƒS(N(R    R±tDef_PlayerKey_FinalHurtReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFinalHurtReduceõscCs-|jtj|ƒ|jtj|tƒdS(N(R R±RßRèRGt CDBPlayerRefresh_FinalHurtReduceR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFinalHurtReduceöscCs|jtjƒS(N(R    R±tDef_PlayerKey_BossIDHurt(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetBossIDHurtúscCs|jtj|ƒdS(N(R R±Rã(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetBossIDHurtûscCs|jtjƒS(N(R    R±tDef_PlayerKey_BossIDHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBossIDHurtAddPerýscCs|jtj|ƒdS(N(R R±Ræ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBossIDHurtAddPerþscCs|jtjƒS(N(R    R±tDef_PlayerKey_DropEquipDoCount(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDropEquipDoCountscCs|jtj|ƒdS(N(R R±Ré(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDropEquipDoCountscCs|jtjƒS(N(R    R±tDef_PlayerKey_BaseAtkAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseAtkAddPerscCs|jtj|ƒdS(N(R R±Rì(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseAtkAddPerscCs|jtjƒS(N(R    R±tDef_PlayerKey_BaseMaxHPAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseMaxHPAddPerscCs|jtj|ƒdS(N(R R±Rï(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseMaxHPAddPerscCs|jtjƒS(N(R    R±tDef_PlayerKey_BaseDefAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseDefAddPer
scCs|jtj|ƒdS(N(R R±Rò(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseDefAddPer scCs|jtjƒS(N(R    R±tDef_PlayerKey_BaseHitAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseHitAddPer scCs|jtj|ƒdS(N(R R±Rõ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseHitAddPerscCs|jtjƒS(N(R    R±tDef_PlayerKey_BaseMissAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseMissAddPerscCs|jtj|ƒdS(N(R R±Rø(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseMissAddPerscCs|jtjƒS(N(R    R±tDef_PlayerKey_HorcruxBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHorcruxBasePerscCs|jtj|ƒdS(N(R R±Rû(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHorcruxBasePerscCs|jtjƒS(N(R    R±tDef_PlayerKey_EquipBaseAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetEquipBaseAddPerscCs|jtj|ƒdS(N(R R±Rþ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetEquipBaseAddPerscCs|jtjƒS(N(R    R±tDef_PlayerKey_WeaponAtkAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWeaponAtkAddPerscCs|jtj|ƒdS(N(R R±R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetWeaponAtkAddPerscCs|jtjƒS(N(R    R±tDef_PlayerKey_RelicsAtkAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRelicsAtkAddPerscCs|jtj|ƒdS(N(R R±R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetRelicsAtkAddPerscCs|jtjƒS(N(R    R±tDef_PlayerKey_ArmorMaxHPAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetArmorMaxHPAddPerscCs|jtj|ƒdS(N(R R±R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetArmorMaxHPAddPer scCs|jtjƒS(N(R    R±tDef_PlayerKey_ArmorDefAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetArmorDefAddPer"scCs|jtj|ƒdS(N(R R±R
(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetArmorDefAddPer#scCs|jtjƒS(N(R    R±tDef_PlayerKey_GodWeaponMaxHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetGodWeaponMaxHPPer%scCs|jtj|ƒdS(N(R R±R (RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGodWeaponMaxHPPer&scCs|jtjƒS(N(R    R±tDef_PlayerKey_GodWeaponAtkPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetGodWeaponAtkPer(scCs|jtj|ƒdS(N(R R±R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGodWeaponAtkPer)scCs|jtjƒS(N(R    R±tDef_PlayerKey_StoneMaxHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetStoneMaxHPPer+scCs|jtj|ƒdS(N(R R±R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetStoneMaxHPPer,scCs|jtjƒS(N(R    R±tDef_PlayerKey_StoneAtkPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetStoneAtkPer.scCs|jtj|ƒdS(N(R R±R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetStoneAtkPer/scCs|jtjƒS(N(R    R±tDef_PlayerKey_HPCureEnhance(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHPCureEnhance1scCs|jtj|ƒdS(N(R R±R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHPCureEnhance2scCs|jtjƒS(N(R    R±tDef_PlayerKey_OnlyFinalHurt(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetOnlyFinalHurt5scCs-|jtj|ƒ|jtj|tƒdS(N(R R±RRèRGtCDBPlayerRefresh_OnlyFinalHurtR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetOnlyFinalHurt6scCs|jtjƒS(N(R    R±tDef_PlayerKey_PVPAtkBackHP(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPVPAtkBackHP<scCs|jtj|ƒdS(N(R R±R (RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPVPAtkBackHP=scCs|jtjƒS(N(R    R±tDef_PlayerKey_HitSucessRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHitSucessRate@scCs|jtj|ƒdS(N(R R±R#(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHitSucessRateAscCs|jtjƒS(N(R    R±tDef_PlayerKey_MissSucessRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMissSucessRateDscCs|jtj|ƒdS(N(R R±R&(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMissSucessRateEscCs|jtjƒS(N(R    R±tDef_PlayerKey_CurePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetCurePerHscCs|jtj|ƒdS(N(R R±R)(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetCurePerIscCs|jtjƒS(N(R    R±tDef_PlayerKey_BeHurtPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetBeHurtPerLscCs|jtj|ƒdS(N(R R±R,(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetBeHurtPerMscCs|jtjƒS(N(R    R±tDef_PlayerKey_HorseAtkPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHorseAtkPerPscCs|jtj|ƒdS(N(R R±R/(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHorseAtkPerQscCs|jtjƒS(N(R    R±tDef_PlayerKey_StoneBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetStoneBasePerTscCs|jtj|ƒdS(N(R R±R2(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetStoneBasePerUscCs|jtjƒS(N(R    R±tDef_PlayerKey_RealmBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealmBasePerXscCs|jtj|ƒdS(N(R R±R5(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetRealmBasePerYscCs|jtjƒS(N(R    R±tDef_PlayerKey_WingHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetWingHPPer\scCs|jtj|ƒdS(N(R R±R8(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetWingHPPer]scCs|jtjƒS(N(R    R±tDef_PlayerKey_SuiteBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSuiteBasePer`scCs|jtj|ƒdS(N(R R±R;(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSuiteBasePerascCs|jtjƒS(N(R    R±tDef_PlayerKey_PlusBaseAtkPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlusBaseAtkPerdscCs|jtj|ƒdS(N(R R±R>(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPlusBaseAtkPerescCs|jtjƒS(N(R    R±tDef_PlayerKey_AddBackHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAddBackHPPerjscCs|jtj|ƒdS(N(R R±RA(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAddBackHPPerpscCs|jtjƒS(N(R    R±tDef_PlayerKey_ReduceBackHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceBackHPPerwscCs|jtj|ƒdS(N(R R±RD(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetReduceBackHPPer}scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrFaintRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetFaintRatescCs-|jtj|ƒ|jtj|tƒdS(N(R R±RGRèRGtCDBPlayerRefresh_FaintRateR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetFaintRate‚scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrFaintDefRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFaintDefRate†scCs-|jtj|ƒ|jtj|tƒdS(N(R R±RKRèRGtCDBPlayerRefresh_FaintDefRateR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFaintDefRate‡scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrAtkerFreezed(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAtkerFreezedŒscCs|jtj|ƒdS(N(R R±RO(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAtkerFreezedscCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrAddAngry(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetAddAngryscCs|jtj|ƒdS(N(R R±RR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetAddAngry‘scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrComboRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetComboRate”scCs-|jtj|ƒ|jtj|tƒdS(N(R R±RURèRGtCDBPlayerRefresh_ComboRateR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetComboRate•scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrComboDamPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetComboDamPer™scCs-|jtj|ƒ|jtj|tƒdS(N(R R±RYRèRGtCDBPlayerRefresh_ComboDamPerR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetComboDamPeršscCs|jtjƒS(N(R    R±t Def_PlayerKey_SkillAtkRateReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSkillAtkRateReduceŸscCs-|jtj|ƒ|jtj|tƒdS(N(R R±R]RèRGt#CDBPlayerRefresh_SkillAtkRateReduceR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSkillAtkRateReduce scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrDamagePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetDamagePer¤scCs-|jtj|ƒ|jtj|tƒdS(N(R R±RaRèRGtCDBPlayerRefresh_DamagePerR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetDamagePer¥scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrDamagePerPVE(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVE©scCs|jtj|ƒdS(N(R R±Re(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVEªscCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrDamagePerPVP(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVP­scCs-|jtj|ƒ|jtj|tƒdS(N(R R±RhRèRGtCDBPlayerRefresh_DamagePerPVPR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVP®scCs|jtjƒS(N(R    R±t$Def_PlayerKey_AttrDamagePerPVPReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVPReduce±scCs-|jtj|ƒ|jtj|tƒdS(N(R R±RlRèRGt#CDBPlayerRefresh_DamagePerPVPReduceR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVPReduce²scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrHurtPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetHurtPer·scCs|jtj|ƒdS(N(R R±Rp(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetHurtPer¸scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrXPRestorePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetXPRestorePer»scCs|jtj|ƒdS(N(R R±Rs(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetXPRestorePer¼scCs|jtjƒS(N(R    R±t"Def_PlayerKey_AttrShieldMPCostRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetShieldMPCostRate¿scCs|jtj|ƒdS(N(R R±Rv(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetShieldMPCostRateÀscCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrDamChanceDef(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamChanceDefÃscCs-|jtj|ƒ|jtj|tƒdS(N(R R±RyRèRGtCDBPlayerRefresh_DamChanceDefR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamChanceDefÄscCs
|jƒS(N(t
GetExAttr4(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRƒÉscCs0tjƒr|j|tƒn |j|ƒdS(N(RR‚t
SetExAttr4R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR…Ês cCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrMaxProDef(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR*ÑscCs-|jtj|ƒ|jtj|tƒdS(N(R R±RRèRGtCDBPlayerRefresh_MaxProDefR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR‚ÒscCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrProDefHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÖscCs|jtj|ƒdS(N(R R±R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetProDefHPPer×scCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrProDefAbsorb(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetProDefAbsorbÛscCs|jtj|ƒdS(N(R R±Rƒ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetProDefAbsorbÜscCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrPetMinAtk(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPetMinAtkáscCs|jtj|ƒdS(N(R R±R†(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPetMinAtkâscCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrPetMaxAtk(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPetMaxAtkãscCs|jtj|ƒdS(N(R R±R‰(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPetMaxAtkäscCs|jtjƒS(N(R    R±tDef_PlayerKey_PetSkillAtkRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPetSkillAtkRateîscCs|jtj|ƒdS(N(R R±RŒ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPetSkillAtkRateïscCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrPerLVAtk(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPerLVAtkòscCs|jtj|ƒdS(N(R R±R(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPerLVAtkóscCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrPerLVMaxHP(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPerLVMaxHPõscCs|jtj|ƒdS(N(R R±R’(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPerLVMaxHPöscCs|jtjƒS(N(R    R±tDef_PlayerKey_AttrDropEquipPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDropEquipPerùscCs|jtj|ƒdS(N(R R±R•(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDropEquipPerúscCs|jtjtjdƒS(Ni(R    R±tDef_PlayerKey_CopyFuncAttrRÁ(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetFuncDefýscCs"|jtjtjd|ƒdS(Ni(R R±R˜RÁ(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetFuncDefþscCs|jtjƒS(N(R    R±tDef_PlayerKey_ZhuxianRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetZhuXianRatescCs-|jtj|ƒ|jtj|tƒdS(N(R R±R›RèRGtCDBPlayerRefresh_ZhuxianRateR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetZhuXianRatescCs|jtjƒS(N(R    R±tDef_PlayerKey_ZhuxianHurtPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetZhuXianHurtPerscCs-|jtj|ƒ|jtj|tƒdS(N(R R±RŸRèRGtCDBPlayerRefresh_ZhuxianHurtPerR(RRæ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetZhuXianHurtPerscCs€|jtjƒ}||7}t|tj|ƒ|rQt|dtj|gƒn|r|tjƒj    ƒ}t
j ||ƒndS(NRÝ( RôR±tDef_PDict_HighLadder_CurrencyR÷R9RGtTYPE_Price_HighLadder_CurrencyRRRtHighLadderTubetSendHighLadderState(RtaddCountREt    isRefreshRRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddHighLadderCurrencys
cCs·|jtjƒ}||ks*|dkr7t||fStd||ƒ}t|tj|ƒ|rt|dtj|gƒn|rªt    j
ƒj ƒ}t j ||ƒnt||fS(NiR(RôR±R£RR€R÷R9RGR¤RRRR¥R¦R(RtpayCountRER¨Rt updCurrencyRÙ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPayHighLadderCurrency!s cCsdS(N((RRttallAttrListEquip((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcFuncPackItem4s icCsät||ƒ|tj}tj|kr–t|jƒ|tjttjƒƒ}|j    tj
dƒ||tj
<|j    tj dƒ||tj <ntj |krß|jƒ|tj }|j    tj dƒ||tj <nxþt|ƒD]ð\}}d}xÛ|jƒD]Í\}    }
t|
tƒsOtjd||    |
f|jƒƒq nx†t|dtƒD]q} tj||| f} tj||| f} |j| ƒdkrc| }|j| |    ƒ|j| |
ƒPqcqcWq WqìWdS(NiiÿÿÿÿsBSetCalcAttrListValue funcIndex=%s,attrType=%s,Value=%s is not int!i(RóR±R´tTYPE_Calc_PerLVAtkRRvRRGRyRR¿RÀtTYPE_Calc_PerLVMaxHPR¾RVRŽRƒRR8RÃRXtDef_MaxAddAttrTypeCnttDef_PlayerKey_CalcAddAttrTypetDef_PlayerKey_CalcAddAttrValueR    R (RRR·R¸taddAtkRåR³Rmt    findIndexRìRCR_taddAttrTypeKeytaddAttrValueKey((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÕ_s2  * ##    c
CsgtdƒD] }i^q }t|tƒr:|g}nt|tƒrR|}n|Sx»|D]³}xªt|ƒD]œ\}}xttƒD]}|jtj    |||fƒ}|dkr¾Pn|jtj
|||fƒ}    ||krþ|    ||||<q‰|    ||<q‰WqpWq]W|S(Nii( R(RƒRRÃRVRXR±R    R±R²R³(
RRRÞtattrListt funcIndexListR³RR_RìRC((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR-€s"        cCs›x”tjD]‰}x€ttƒD]r}|jtj|||fƒ}|dkrRPn|jtj|||fƒ}||}t|i||6ƒqWq
W|S(Ni(R±tCalcAttrIndexListRXR±R    R²R³R.(RRR·R³R_tcurAddAttrTypetcurAddAttrValueRm((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddCalcAttrListValue˜s 
cCsŽx‡tjD]|}xsttƒD]e}tj|||f}|j|ƒ}|sRPn|j|dƒ|jtj|||fdƒqWq
WdS(Ni(R±RºRXR±R²R    R R³(RRR³R_R¶Rì((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRó¥s(cCs]gtdƒD] }i^q }x7|D]/}x&tjD]}t||||ƒq6Wq&W|S(Ni(R(R±RºR.(R¸RÞt addAttrListtaListR_((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR5°s
 cCs~xw|jƒD]i\}}||kr2|||<q ||}|tjkrhdd|d|||<q ||||<q WdS(Ni'(RŽR±tTYPE_Calc_DeclineList(tdict1tdict2R˜RætaValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR.¸s  
cCs«tj|ƒrh|tjtjgkrh|jƒ}tjj|iƒ}||||f<|tj|<n|dkrˆ|j    ||ƒdS|j
|t |tj ƒ|ƒdS(Ni( RZtIsNeedProcessCrossPlayerR±tDef_PDict_FightPower_TotaltDef_PlayerKey_CrossRegisterMapRÃRKtg_crossPlayerDictChangeInfoRtNomalDictDelPropertytNomalDictAddPropertyR>tDef_UpperLimit_DWordEx(RR˜RætdTypeRat
changeDict((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR÷Çs  cCs†g}tjƒ}|jƒ||_||_||_|j|ƒtjƒ}|jƒt|ƒ|_    ||_
t j ||ƒdS(N( RjttagMCSyncSingleBlessValueRŒRERìtMultipleR…ttagMCSyncBlessValueRPtTypeCntt    BlessInfoRmRn(Rt    blessTypeRætmultipletitemListt    valuePackR%((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_BlessValue×s 
              
    (ÞRR©RZR±R?RåR<R3RCRERAtChItemR+RMRÀRçRŠRt PlayerGMOperRrRR5t PlayerFamilyRGR…R³R¼R)RjRmR!R3R1R R    RýRùR¶RûRöR[R¯RORR¥RÜR‡RSR¹R#t PlayerTeHuiRRXR«RŸR†R„R¿RÿRŽRKRRìRïRRRR    R)RÖR+R-RÒR¹RµRZR1RRRÔR¨R RWR˜R?RœRRmRvtIPY_NotifyCodeListRšR‹RR!RR(R6R9RDRIRLRMRTRWR`RaRfRgRiRRxR:R«R¯RµRÄRÎRÔRRæRáRùRóRÐRRRÏR
R RÛRRR"RR0R2R9R>RbRRRoRuRQR€R‹RŒRRR‘R—RšR°RÌRØRRôRáR+R;RÄR0RRUR`RVR7RgRcRRÀRÂtDef_Team_GetExpScreenDistRÍRÎRÑRÝRâRÛRçRåRóRüRÿR RRRR1RRRRKR;RCRORPRQRURVR_RZReR|R`RYRƒR‹R‘R˜R©RƒRwRxRyRœR•RR£RºRÕR¶RfR½R¿RÉRÌRÏRÑRÓRãRÕRõRRÿRRRR R    RR7RRÁRR×RRRRR!R$R&R(R7R-R.R/R R1R–R6R8R@R:RIRBRCRQRRRSRTRWRXRYRkRlRmRoRnRRRŸRsRqR˜R»R|RÔR RRRáR0R†RˆRŠR‹RŒRŽR–R—R™R›RRŸR¡R¢R¤R¥R§R¨RªR«R­R®R°R±R³R´R¶R·R¹RºR¼R¾RÀRÁRÃRÅRÇRÈRÊRËRÍRÏRÑRÒRÔRÖRØRÚRÜRÞRàRâRäRåRçRèRêRëRíRîRðRñRóRôRöR÷RùRúRüRýRÿRRRRRRR    R R RRRRRRRRRRRRR!R"R$R%R'R(R*R+R-R.R0R1R3R4R6R7R9R:R<R=R?R@RBRCRERFRHRJRLRNRPRQRSRTRVRXRZR\R^R`RbRdRfRgRiRkRmRoRqRrRtRuRwRxRzR|RƒR…R*R‚RR‚R„R…R‡RˆRŠR‹RRŽRR‘R“R”R–R—R™RšRœRžR R¢R©R¬R®R±RÕR-R½RóR5R.R÷RÖ(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt<module>s¸                                                                                              3     &       
          2                    8      %                                2                 Á                          N                          !                             a    F    %c ‡    
    2E             ) h     g        Œ    0                              1 ,P    O    ,              I    G    +                                                                           œÿÿÿÿÿÿ?    &        
    >                   -                                        '    (                                                
                                                                
                                             >            
                                     3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                            %    !