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
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
²Ò5\c@s9ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    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@ddlAZAddlBZBddlCZCddlDZDddlEZEddlFZFddlGZGddlHZHddlIZIddlJZJddlKZKddlLZLddlMZMddlNZNddlOZOddlPZPddlQZQddlRZRddlSZSddlTZTejUƒaVdZWdZXd„ZYeZdd„Z[d„Z\gd„Z]gdddgd    „Z^gd
„Z_gd „Z`gd „Zagd „Zbd„Zcgd„Zdggggggd„Zegddddd„Zfddddd„Zgd„Zhd„Zid„Zjd„Zkd„Zld„Zmdd„Zneod„Zpd„Zqd„Zrd„Zsd„Ztd „Zud!„Zvd"„Zwd#„Zxd$„Zyd%„Zzd&„Z{d'„Z|eZd(„Z}d)„Z~d*„Zd+„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’ddd>„Z“gd?„Z”eZeod@„Z•dA„Z–dB„Z—ddeZddC„Z˜dD„Z™dE„ZšdF„Z›ddeZddG„ZœddH„ZeždI„ZŸdJ„Z dK„Z¡dL„Z¢dM„Z£ej¤eodN„Z¥dO„Z¦dP„Z§dQ„Z¨dR„Z©dS„ZªdT„Z«ddU„Z¬dV„Z­eZdW„Z®eZdX„Z¯ej°iddeZdY„Z±dZ„Z²d[„Z³dd\„Z´d]„Zµd^„Z¶d_„Z·ej¸ieZeZd`„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Édqfdr„ƒYZÊdsfdt„ƒYZËdu„ZÌdv„ZÍdw„ZÎdx„ZÏeZdy„ZÐeZdz„ZÑd{„ZÒd|„ZÓd}„ZÔeod~„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¢„Zùd£„Zúd¤„Zûd¥„Züd¦„Zýd§„Zþdd¨„ZÿeoeZd©ddª„Zd©dd«„Zd¬„Zd­„Zd®„Zd¯„Zd°„Zd±„Zd²„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ƄZdDŽZdȄZdɄZdʄ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ڄ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…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ÆeZeZdq„ZÇeZeZdr„ZÈds„ZÉdtZÊdu„ZËdv„ZÌdw„ZÍdx„ZÎdy„ZÏdz„ZÐdd{„ZÑdd|„ZÒdS(}iÿÿÿÿNiic
Cs­tjƒjƒ}d}t||ƒ|krRtjd||f|jƒƒtS||jdƒdkr‹|jdƒ|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 GetGameWorldtGetTicktabstDebugLogtGetIDtFalset 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.pytPlayerMoveCheckClientWorldTickts4         $' #  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.pyR8Ùs
  cCsŽtjƒret|||||||gƒ}tjƒjdddd|t|ƒƒt||ƒn%tjƒj|d|t|ƒ|ƒdS(NitMergeWorldNotify(    Rt IsCrossServertstrtGetPlayerManagertGameServer_QueryPlayerResulttlentFBNotifytBroadcastCountry_NotifyCodeR9(tcountryR:R;tlineIDt mergeMinOSDt mergeMaxOSDt mergeMapInfotsendMsg((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt WorldNotifyês !cCs&tjƒjd||t|ƒƒdS(Ni(RR?RCR9(tfamilyIDR:R;((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt FamilyNotifyýs"cCs tjƒj|t|ƒƒdS(N(RtGetMapCopyPlayerManagertBroadcastFB_NotifyCodeR9(R:R;((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRBscCstjƒ}xlt|jƒƒD]X}|j|ƒ}|dks|jƒrRqn|jƒ|krt|||ƒqqWdS(N(    RRMtxrangetGetPlayerCounttGetPlayerByIndexR6tIsEmptyt
GetFactionR8(tfactionR:R;tcopyMapPlayerManagertiR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotifySelf s cCstjƒ}xlt|jƒƒD]X}|j|ƒ}|dks|jƒrRqn|jƒ|krt|||ƒqqWdS(N(    RRMRORPRQR6RRRSR8(RTR:R;RURVR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotifyOthers cCstjƒ}x|t|jƒƒD]h}|j|ƒ}|dks|jƒrRqn|jƒ|krwt|||ƒqt|||ƒqWdS(N(    RRMRORPRQR6RRRSR8(RTt selfMsgMarktselfMsgParamListt otherMsgMarktotherMsgParamListRURVR((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?R@RA(tteamIDR:R;RI((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR^3s
 (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(R>RR?R@RAR-(    t mailTypeKeytbatchPlayerIDListtbatchAddItemListtbatchParamListt    batchGoldtbatchGoldPapert batchSilvert batchDetailtmsgInfo((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR`<s
$(    tc    
CsW|stj}nd|tj|dtƒf}td|d||||||ƒ    dS(s'
    @param detail: ¼Ç¼ÓʼþÁ÷ÏòÓÃ
    s!<MailTemplate>%s</MailTemplate>%st ensure_asciiRjiN(t ShareDefinetDefaultLackSpaceMailTypetjsontdumpsRtSendMail(    Rat playerIDListt addItemListt    paramListtgoldt    goldPapertsilvertdetailtcontent((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SendMailByKeyMs
 "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, isBindRps%s(RR=t
isinstancetdicttappendRAt ItemControlertGetAppointItemRealIDt GetItemByDatatGetAppointItemDictDataR7t
ItemCommontGetMailItemDicttCleartgettitemsR?R@R>R(ttitleRxtgetDaysRqRrRtRuRvRwt itemCountDicttcombineItemListtmailItemtitemIDtitemCnttisBindtappointItemObjtkeytcmdList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRp[s<       !2cCs†tjƒ|stSxk|D]c}t|ƒ}|tjkrLtj|ƒq|tjkrqtjt|ƒƒqtj|ƒqWtS(N(    tNotifyCodeListRƒttypettypestIntTypetAddInttLongTypetAddStrR>(R;tmsgtitemPythonType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR9s
  cCs\|jƒ}|dks$|dkr(dStj|ƒ}tjtjƒƒ}tj||ƒS(NRjt0i(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(NRjRš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(NRjRš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ƒtSnt S(NitDungeonDeliveritCarry_lhs_844170( tGetHPRtCheckTransStateRR(t GetMapFBTypet IPY_GameWorldtfbtNulltGetMapIDt IpyGameDataPYtGetFuncEvalCfgR8R(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²trptEquiptGetAttretWingRRR8R(Rt    destMapIDt playerEquiptcurEquip((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckEquipCanTranss 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.pytChangePlayerAction?s$  
    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 GetActionObjR6RR-t GetPlayerIDtGetGameObjTypeR²tgotNPCt GetNPCManagert GetNPCByIndextGetIndextGetPlayerHurtListRƒ(RttagObjtcurNPCtcurNPC_HurtList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÔds     
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ÓtGetPrepareStatetpstMissionCollectingRltDef_PstProduceRR(R±R³RÜR6RÞRßRàRáRâtGetNPCIDt ReadChConfigtGetEvalChConfigRRÙRÑt SetActionObj(RRäRå((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytBreakPlayerCollectìs*   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 DoPlayerSits 
 
cCs'|jƒtjkrdS|jƒdS(N(RÍR²RÿtStand(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÎ5s
cCs2|jdƒt|ƒ|jƒ|j|ƒdS(N(RýR6RÂR,tView_ShowPlayerFace(RtfaceType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoPlayerShowPlayerFaceCs
 
 
 cCs6|jƒ|j|jtjƒ|jtjƒƒdS(N(R,tSetDeadRR¨tDef_NPCDead_KillerIDtDef_NPCDead_KillerType(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt DoPlayerDeadSs
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.pytPlayerRefreshPosesB       $        )        cCs8|r|j||ƒdS|r4|j||ƒdSdS(N(R.t    ChangePos(R t
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.pytKillPlayerSummonNPC7s cCs|jƒ}|tjkS(N(RÍR¨tDef_Player_Can_Transfer_State(RRØ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerCanStateTransferFs cCsCdStj|ƒr?|jƒ}|jdƒtj||ƒndS(N(t PlayerTrucktGetHaveAutoTrucktGetTrucktSetOwnerR6tPlayerTruckDown(RtcurPlayerTruck((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__TruckPlayerDisconnectSs   cCs,|jƒtjkr(tj|tƒndS(N(tGetPlayerVehicleR²tpvHorset PlayerHorsetPlayerRideHorseDownR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RidingHorsePlayerDisconnectbscCs}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%||ƒdS(Niii(&t
EventShelltEventResponse_OnLeaveMapR)R6R*t SkillCommontRefreshAllSkillRemainTimet PlayerTradet
LeaveTradet
PlayerTeamtTeamPlayerLeaveMapRÚRÛt DoExitEventt ExitShopItemtExitWatchShopItemRR(R±RtGetCurGameWorldIndext
PyGameDatatg_lastExitFBTypetFBLogict DoExitFBLogictGameLogic_ManorWartDoExitFBt__ClearLeaveNoSaveBufftUpdateOnLineTimetPassiveBuffEffMngtOnPlayerLeaveMapRÝtg_maliciousAttackDicttpopRtg_needRefreshMapServerStatet PlayerSuccesstFinishDelayAddSuccessProgress(RRÌt isDisconnectR,tfbIndext
exitFBType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerLeaveServerLogicos2       
      cCs—|jtjƒ}|dkr5|jtj|ƒdS|jtj|ƒ||d}|dkr“|j|jƒ|ƒ|j|jƒ|ƒndS(Niiè(RR¨tDef_PlayerKey_CalcOLTimeTickR
tSetWeekOnlineTimetGetWeekOnlineTimet SetOnlineTimet GetOnlineTime(RRÌt lastCalcTicktdiffSec((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRFµs  cCs=dStjƒ}|jƒ|jƒ|_tj||ƒdS(N(tChPyNetSendPackttagMCOnLineTimeTotalRƒRVtOnLineTimeTotalt NetPackCommont SendFakePack(RR$((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSyncOnLineTimeTotalÉs  
cCsPdStjƒ}|jƒ||_|jtj|ƒ|_tj    ||ƒdS(N(
RYttagMCOnlineTimeLastOpenPackRƒtPackTypeRèR¨t$Def_Player_Dict_LastAutoOpenPackTicktLastOnLineTimeR\R](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.pyREâ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
GetIncBuffRetGetActionBuffManagertGetProcessBuffStatetGetProcessDeBuffState(RRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DisconnectClearBuffòscCsÇtj||ƒt||ƒt|ƒ}|jƒtj|ƒtj||ƒt    ||t
ƒt |ƒt |ƒt |ƒ||jƒ|jƒgtj|jƒ<tjdtj|jƒƒdS(NsÍæ¼Ò´Ó±¾µØÍ¼ÀëÏß: %s(t
PetControltDoLogic_PetInfo_OnLeaveServerRot PlayerControltRefreshAllStatetPlayerBillboardt"UpdatePlayerBillboardOnLeaveServertPlayerViewCacheTubetOnPlayerLogOutRQRR2R-R$RRR?tg_disconnectPlayerRÝRR(RRÌt playerControl((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLeaveServers  
 
 
 
(cCs"|tjkrdStj|dS(Ni(R?Rx(tplayerID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerTick)scCs%|tjkrdStj|dd!S(Niii(ii(R?Rx(R{((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerPos0scCsQxJtjjƒD]9\}}|d}||dkrtjj|ƒqqWdS(Nii€î6(R?RxR…RJ(RÌR{t    leaveInfot    leaveTick((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt"RemoveTimeoutLeaveServerPlayerInfo8s
 
cCs6|tjkr2tjj|ƒtjd|ƒndS(Ns%½øÈë±¾µØÍ¼£¬ÒƳýÉÏ´ÎÔÚ±¾µØÍ¼ÀëÏ߼Ǽ!(R?RxRJRR(R{((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
rptRecycleRtGetCountR¼RRRƒRëR¨tDef_Player_Dict_DelPackIndex(RtbackPackRVtcurItem((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDelRecylcePackKscCsc|jƒ}|dkrtStj|jƒ|jƒ|jƒ|jƒƒ}|tjkr_tSt    S(N(
R)R6RRRRRR¨tDef_PlayerTruckEventDistR(RtcurTruckR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__GetCanChangeMapSetTruck^s  
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²tpvTruckR)R'R+tSetChangeMapTakeTruckt GetPlayerShoptGetIsStartShopR8RQRAtDoPlayerChangeMapLogicRptReCallFightPetRRRÚRRR(R±R³R´RµR¶RRtGetClientLineIDRëR¨tDef_Player_Dict_FromMapIDtDef_Player_Dict_FromPosXtDef_Player_Dict_FromPosYtDef_Player_Dict_FromLineIDRRètDoResetWorldPosAndClearR6tSetTruckt    Disappear(
RRÌt    takeTruckR‰t
playerShopR#tmapIDRRRE((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 GetRebornMapYtGameWorldProcesstIsNoPlayerNeedCloseFBRRMRPt    GetGameFBtSetIsSafeClosetPlayerResetWorldPosFBRRÍR²RÑtIsMovingt
BeginEvent(
RRŸRRREtcreateRoleMapDicttjobt 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ƒdSt
j ||ƒdS(NsÍæ¼ÒÇëÇó½øÈë¿ç·þµØÍ¼: mapID=%ss¿ç·þ·þÎñÆ÷²»ÔÊÐí¸Ã²Ù×÷!s+Íæ¼Òµ±Ç°Îª¿ç·þ״̬£¬²»ÔÊÐíÔÙ´ÎÇëÇó½øÈë¿ç·þ!tCrossMatching18( RÝRR-R=RtGetCrossRealmStateR7R¥tIsCrossServerOpenR8tGY_Query_CrossRealmRegtRegisterEnterCrossServer(RRŸR{((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerEnterCrossServer"s      c Cs¸tj|ƒ}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}nt(|||||ƒdSt%||||t| d    |ƒdS(
Ns4Íæ¼ÒÇëÇó½øÈ븱±¾! mapID=%s,lineID=%s,posX=%s,posY=%ss###·Ç·¨µØÍ¼Êý¾Ý£¬mapID: %sis&δÕÒµ½½øÈ븱±¾×ø±ê£¡mapID=%s,lineID=%ss!·Ç¶Ó³¤£¬ÎÞ·¨·¢Æð½øÈë×é¶Ó¸±±¾ÇëÇó!tMapID_SendToGameServertSealDemonNewbieLineit
funcLineID()tFBCommontGetRecordMapIDRR-RÝR(t IsMapIDExistR7Rt GetFBIpyDatatGetFBLineIpyDataR´RRt CheckMoveToFBRltEntFBAskRet_OKtGetFBLineEnterPosInfoRAtOnGetFBEnterPosRµR,RtGetMapFBTypeByMapIDR²tfbtTeamt    GetTeamIDt    GetTeamLVt    tmlLeaderRR¨tDef_MapID_SendToGameServerRûRütDef_FBMapID_SealDemonRµR¶R´tGameLogic_SealDemontCurFBLineBOSSIDtSendToGameServerEnterFB(RRŸRERRt    fbIpyDatat fbLineIpyDatat
sceneMapIDRÌtipyEnterPosInfotretPostfbIDtisSendToGameServert    mapFBTypetextendParamListtnewbielineListtbossID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerEnterFB;sV    $        cCstjd|||f|jƒƒ|dkrGtj|||ƒ}n||g}|j|ƒd|}|jtj    dd|t
|ƒƒdS(Ns=SendToGameServerEnterFB mapID=%s,lineID=%s,extendParamList=%ss%sitEnterFB( RR-RR6RAtGetPlayerFBLineIDtextendtGameServer_QueryPlayerByIDR¨tqueryType_EnterFBRA(RRŸRERÌRáRI((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRØ–s       
"c    Csitj|||||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ƒntjS|jƒ}    |    t jkre|r^t
|d|gƒntjS|    t jkr‘|rŠt
|dƒntjS|    tjkr½|r¶t
|dƒntjSx=tjD]2}
t ||
ƒrÇ|ròt
|dƒntjSqÇWtj!ƒj"ƒt j#krt$} t%j&d    ƒ} tj!ƒj'ƒ} | | krd|| | krdt(} ntj!ƒj)|ƒ}|t j#kr¬| t*j+d
dƒkrët(} qën?tj,| ƒtj,|ƒkrët-j.|||ƒrët(} qën| s|r t
|d |gƒntj/Snt-j0||||ƒsbtj1d |j2ƒƒ|r[t
|dƒntjStjS( sþÅжϿɷñ½øÈ븱±¾£¬°üº¬ÊÖ¶¯¼°Æ¥Åä
    @param isTeamAsk: ÊÇ·ñÊǶÓÎé½øÈëÇëÇóµÄ£¬Ò»°ãÊǶÓÎé״̬Ï£¬¶Ó³¤·¢Æð½øÈ븱±¾£¬ÐèÒª¼ì²é¶ÓÔ±¿É·ñ½øÈ룬´ËʱΪTrue£¬¿É×öһЩ¸½¼Ó´¦Àí
    @note: ²ß»®ÒªÇóÌáʾ°´ÓÅÏȼ¶À´£¬¸±±¾×ÔÉíµÄÌõ¼þÏÞÖÆÓÅÏÈÌáʾ£¬ÆäËû¸½¼ÓÌáʾÓÅÏȼ¶½ÏµÍ
    iisÍæ¼ÒÒѾ­ËÀÍö, ÎÞ·¨½øÈ븱±¾!tSingleEnterDefault SingleEnterPKtCrossMatching8tSingleEnterGathertCarry_lhs_697674tFBEnableTransportMapR­tSingleEnterDungeons    OnEnterFBEvent False!(3RÆtCheckCanEnterFBCommRlRÌR¯RR-tEntFBAskRet_Deadt    PlayerTJGtGetIsTJGR8tEntFBAskRet_TJGRÒR²RÓt PlayerStatet IsInBossStatetEntFBAskRet_BossStatet IsInPKStatetEntFBAskRet_PKStatetPlayerCrossRealmPKtGetIsCrossPKMatchingtEntFBAskRet_CrossPKMatchingRÍRÓtEntFBAskRet_PreparingRÿtEntFBAskRet_SitR¨tDef_Player_Cannot_TransStatetEntFBAskRet_Othert(Def_Player_NotCan_EnterFbPyGameEvenStateRçR(R±R³RRûRüR´RRÏRµR¶RÇRAtCanChangeSameDataMapFBtEntFBAskRet_InFBtOnEnterFBEventRRÝ(RRŸRERÙ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.pytRefreshPlayerTick&scCs7|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ƒtMapIDtPosXtPosYR\R]tSetSightR.tSetFBFuncLineIDttagServerPrepareOK(RRŸRRRÅt playerMapInitt    prepareOK((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerResetWorldPosFBLineID0s.    
 
               
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($RRRRR¨tDef_PlayerKey_TransTickR-RÝR8R
R(RÏR²R³RÆRÇRÊR´RûRütrandomtchoiceRR¶R'tSetAutoTruckStateRlt Def_Out_TruckRAtGetPlayerResetWorldPosFBMsgRëRtResetWorldPosReqRRR(RRŸRRRRÞR˜tcanLockRÅRÌt lastTransTickRÛRÚtFBMapShuntDictt    shuntList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR´bsB    ,  
     ,
cCs_|jtƒtjƒ}|jƒ||_||_tj||ƒt    j
d|j ƒƒdS(Ns ×¼±¸Çл»µØÍ¼( t
SetVisibleRRYttagMCPrepareChangeMapRƒRt
FuncLineIDR\R]RR-R(RRÛRÅR$((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR§s  
        cCsjtjƒ}|jƒ|jtjƒ|_|jtjƒ|_    t
j ||ƒt j d|jƒƒdS(Ns֪ͨ¿ªÊ¼Çл»µØÍ¼(RYttagMCStartChangeMapRƒRR¨RRRèRR0R\R]RR-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    GetLineIDR7R(R±R²R³R8t 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´R3RRÝtChPlayertNotifyPlayerMovetResetPlayerPost
SkillShelltProcessMapBuffRR´R°tOnPlayerLeaveMapCloseFB( RRŸRRRRER˜R*texData1t    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)(RóRôRRRÝR=R?tg_commMapLinePlayerCountDictRèR¨R5R6R7RëRÚtIsMapNeedBossShuntt__GetBossShuntLineIDtkeysRRtAddBossShuntRelatedPlayerRµt
GetFuncCfgR…RAt__GetShuntLineID(RR t    curLineIDttagMapIDt    tagLineIDRãttagLinePlayerCountDictR{tplayChangeLineIDtfuncChangeLineIDthighChangeLineIDtbossShuntLineIDRÌt mapLineDictt tagMapMaxLinettagLinePlayerCountShuntDicttktvRD((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR;
s~        !   
   ! 
    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µRKRRR¶R6R…tsort( RRNRWRMR{t mapShuntDicttlineMaxPlayerCountttagLinePlayerCountREt playerCounttlinePlayerListRD((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRLrs(  
 
     +
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ÑR?tg_bossShuntLineStateR„RRµR¶RRtg_bossShuntPlayerInfotmaxtremoveR…R|RR\RK(RR RMRNtnpcIDt
lineIDListR{t playerTeamIDthurtTeamLineIDthurtTeamMemCounttbossLinePlayerDicttbossLineStateDictt haveAliveLinetactivityMapLineDicttactivityLineIDRERtshuntPlayerDictR`tteamPlayerCountt shuntPlayerIDt    shuntInfoRãt shuntTeamIDt lineIsAlivetlineBossIsDeadt emptyLineIDtlinePlayerCountListtshuntBossIsDeadtminPlayerCntLineIDtbossShuntPlayerCountMax((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRH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
IsValidPosR7R*tGetNearbyPosByDisR-RÝ(RRRtroundt
rebornPosXt
rebornPosYR Rº((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__GetLegitRebornPointô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ÝRRtGetBornRefreshByIndexR|t IsSameCountryR$R%RRtGetRoundR‚R­R®R¯R¨tDef_RebornPos_Area_RangeR§RûRütrandintR±R²R³tSetRebornMapIDt SetRebornPosXt SetRebornPosYt GetPlayerNametSetFBRebornMapIDtSetFBRebornPosXtSetFBRebornPosYRAt OnRebornPlace(RRÌRºt rebornMapIDR€RthasBornRefreshPointtgameDatatbornRefreshCounttbornListt
fbBornListRVtbornRefreshPointt    bornIndextbRP_PosXtbRP_PosYt bRP_RoundPosthasBornPointInTxtt curPlayerJobtposListtpost    bornRange((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshRebornPoint    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( tlistR6RR7RtGetMemberCountt    GetMemberRÝR¯RRRR|(    tcurTeamtcenterXtcenterYtareatisLogt
playerlistRqRVt 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¨R6ROR©RªRÝR|(R«R°RVR±((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMapTeamMemberÝ    s     cCs'|tjkr#tjd|ƒn|S(Ns½ðÇ®ÀàÐÍÌîд´íÎó %s(R¨tDef_MoneyType_AllRR7(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_PapertGetSilverPaperRltTYPE_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½tGetWarehouseSilverPaperRR7(RRµ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWarehouseMoney
s
 
 
 
cCs|jtj|ƒS(N(RèR¨tDef_PDict_Currency(Rt currencyType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÀ0
scCs+t|tj||ƒt|||ƒdS(N(RëR¨RÈtNotifyPlayerCurrency(RRÉtvalue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPlayerCurrency6
scCse|tjkrdStj|}|dkr0dS|dkrNt||ƒ}n|j||tƒdS(Ni(RlR¿R6RÀtSendPropertyRefreshR(RRÉRËt refreshType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÊ<
s   cCsÍg}xdtjD]Y}tj|}|dkr5qntjƒ}||_t||ƒ|_|j|ƒqWtj    ƒ}|j
ƒ|j ƒ|_ |j ƒ|_t|ƒ|_||_tj||ƒdS(N(RlR¿R6RYttagRefreshTypet RefreshTypeRÀtValueR|ttagObjInfoListRefreshRƒRtObjIDRÞtObjTypeRAtCountR\R](Rt
notifyListRÉRÎt notifyStructR$((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyPlayerAllCurrencyI
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(NiRjtGoldErrt GoldPaperErrt    SilverErrtSilverPaperErrs¸¶·Ñ½ðÇ®Òì³£ TYPE_Price = %s(RR²R·R¸R¹RºR»R¼R½R¾RlR¿RÀRR-RÝR8R(RRÁtPricet
needNotifytneedMoneyCountt
notifyCode((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    HaveMoneyg
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áRltTYPE_Price_Gold_Paper_MoneyRºR¸R8RR-RÝ(RRÁRÝRÞRuRttneedGold((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¸R8tSetGoldRÂRltTYPE_Price_BourseMoneyR¨tUnUseInner_CostTypeReRÌR¹Rºt SetGoldPaperR»R¼t    SetSilverR½R¾tSetSilverPaperR¿RÀt__PayMoneyAfter(Rt
type_PricetpricetcostTypetinfoDicttquantityt costVIPGoldRt 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_resourceRltDef_UserAction_Money_Use(
RRîRïRðRñRòRót    unitPricet reason_namet    eventName((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRí s*/cCs-tj||||ƒtj|||ƒdS(N(tPlayerCostRebatetAddCostRebateGoldtPlayerFairyCeremonyt AddFCCostGold(RRïRðRñRó((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRýc scCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RYttagMCGoldCostReportRƒtCostTypeRÝtItemIDR\R](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 MoneyIsFullRås½ðÇ®ÀàÐÍ´íÎó, priceType = %sRÂ()RRR-R=tGetPlayerServerGroupIDRÝtSendMsgToClientServerRltCrossServerMsg_GiveMoneyR²R·R¸R¨tDef_PlayerTotalMoney_GoldR8Rçt    GiveMoneyRèRÂR¹RºRêR»RëR¼R½R¾tDef_PlayerTotalMoney_SilverRìR¿RÀtDef_UpperLimit_DWordtminRÌtTYPE_Price_RealmPointRLtDoAddSuccessProgresstSuccType_GetRealmPointR3tEventRespons_GetRealmPointt__GiveMoneyAfter( Rt    priceTypeRËtgiveTypet addDataDictt    isSysHinttisGiveBourseMoneyt serverGroupIDRiRûtupdValue((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_DictRt DR_GiveMoneyRR    RltDef_UserAction_Money_Get(RR(RËR)R*R ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR'     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(NiRs½ðÇ®ÀàÐÍ = %sÌî´íÀ²(RR²R·R¸R¨RR8RR¹RºR»R½R¾R RlR¿RÀR!RR-RÝ(RR(RËRû((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt CanGiveMoneyP 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(tGetPlayerLVIpyDataR[tGetReExp(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 ChangePKValueR8(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(R<R=ReR"RRRÝt ClearPKValueR¨tDef_SkillID_Redt
SetPKValueR5t FindBuffByIDtAddBuffBySkillType_NoRefurbisht__AddPKValueRedBuffTime(
RtaddValueRÌR?R@t
newPKValuet    addBuffIDt findBuffInfotredBufft addTimeValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR>± 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(tGetSkillR5t GetBuffTypet GetLastTimet GetRemainTimeR"ReR¨tDef_Max_Buff_RemainTimet SetRemainTimet    BuffSkilltPYSync_RefreshBuffRRRÝ(RRNROt    buffSkilltbuffTypetaddTimet
remainTimet
resultTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRIÍ 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(R<RóRôR5RGR¨RERFRPRSRRRRRRRRRÝ(Rt
curPKValueRNRXR[tperPKValueTimetpkValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPKValueByRedBuffÞ s&       #cCs9|jdƒtjƒjƒ}tj|tj|ƒdS(sÇå³ýPKÖµiN(RFRRRRVtDelBuffBySkillIDR¨RE(RRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRDô s cCstjddƒS(s »ñÈ¡×î´óPKÖµtPKConfigi(RµRK(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR=û scCsr|jƒ}|jƒ}tjddiƒ}tj||dƒ}|dkrhtd||fƒ‚dSt|ƒS(Nt LVUPAddPointiis0Íæ¼Ò»ñµÃÉý¼¶ÊôÐÔµãÒì³£, curLV = %s PlayerID = %s(    RR[RµR¶RtGetDictValueByRangeKeyR6t    ExceptionR(RR1R¦t addPointDictRA((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLvUp_AddPoint s   cCs–tjtjƒ}|jƒ}||kr.dStjddiƒ}tjddƒ}|}x4t||dƒD]}|t    j
||dƒ7}qoW|S(NiRcii( t GameFuncCommtGetFuncLimitLVRltGameFuncID_AddPointR[RµR¶RKRORRd(RtopenLVR¦Rft initFreePointt setFreePointtlv((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAllPointByLV s  cCs{|jƒ}t|ƒ}|jƒ}i|d6}|j|ƒtj|d||ƒtjd|||f|jƒƒdS(sټӵ㹦ÄÜ¿ªÆô ´¦Àí¸ø×ÔÓÉÊôÐԵ㼰ÀϺŴ¦Àí  
                    Çå³ýÀÏ·þÍæ¼Òδ¼ÓµãµÄµãÊý£¨ÇåÁ㣩£¬ÒÔǰ¼ÓµÄ¼ÓµãÊôÐÔ²»Çå³ý£¬ÊôÐÔ²»±ä£¬Õ½Á¦²»¼õ£¬ ¸ù¾Ý×îеļӵ㿪ÆôµÈ¼¶ºÍÀÏ·þÍæ¼ÒµÄµ±Ç°µÈ¼¶£¬Ïà²îµÄ²îÖµ¸øÓèÍæ¼Ò¶ÔÓ¦µÄ¼ÓµãµãÊýtbeforeFreePointt AddPointOpensB    ¼Óµã¹¦ÄÜ¿ªÆô´¦Àí  beforeFreePoint=%s,curLV=%s, setFreePoint=%sN(    t GetFreePointRoR[t SetFreePointRt DR_FreepointRRR(RRpRmR¦R*((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%stPointCompensationRuiÈtbeforeTotalPointtFixOldAddPoints6ÀϺżӵ㴦Àí ÖØÖÃÒѼӵãÊý addPoint=%s, fixFreePoint=%s(RtGetDictValueByBitR¨tDef_Player_Dict_VersionFixtDef_VerFix_AddPointtSetDictValueByBittGetPlayerBasePointR§RrR…tgetattrRoRstPlayerGreatMastertDoResetMasterSkillPointRyRRRtR-( RtbaseSTRtbasePNEtbasePHYtbaseCONRAt attrInfoDicttattrKeyt    basePointt fixFreePointR*((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR|+ 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 s    
cCsix7tdtjƒD]#}d}t||j||ƒqWx(|jD]}t||j|dƒqDWdS(Nii(ROR¨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.pytSetCalcMFPBattleAttrh 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.pytSetCalcMFPAttrv 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 c1Csht||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:ƒ}'t||jtj;ƒ}(t||jtj<ƒ})t||jtj=ƒ}*t||jtj>ƒ}+t||jtj?ƒ},|j@ƒ}-|jAƒ}.tBjCdƒ}/tDtEjFd|/ƒƒ}0|0tGjHkrdtIjJd|jK|0|jLƒfƒtGjH}0n|0S(NtFightpowerFormulas2Ä£¿éÕ½Á¦³¬¹ýÊýÖµÉÏÏÞ, MfpType=%s,fightPower=%s, %s(MR‚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_ComboRatetTYPE_Calc_ComboDamPertTYPE_Calc_ProDefHPPertTYPE_Calc_OnlyFinalHurttTYPE_Calc_PVPAtkBackHPtTYPE_Calc_NPCHurtAddPertGetCftAtkSpeedtGetCftLuckyHitRµRKtevaltFormulaControltGetCompileFormulaRlR!RR7RŽt GetMFPAttrStr(1RtfpParamtMaxHPtMinAtktMaxAtktDeftHittMisstAtkSpeedt SuperHitRatetSuperHittSuperHitReducet LuckyHitRatetLuckyHittLuckyHitRateReducet SkillAtkRatetSkillAtkRateReducet    DamagePert    DamReducet    HPRestoret
DamBackPert
SpeedValuetSpeedPert    PetMinAtkt    PetMaxAtkt    PetDamPertIceAtktIceDeft IgnoreDefRatetIgnoreDefRateReducet DamChanceDeft BleedDamaget    AtkBackHPt    FaintRatet FaintDefRatet    FinalHurttFinalHurtReducet DamagePerPVPtDamagePerPVPReducet    ComboRatet ComboDamPert    ProDefPert OnlyFinalHurtt PVPAtkBackHPt NPCHurtAddPertAtkSpeedParametertLuckyHitParameterR¡ttotalFightPower((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetModuleFightPower‡ sf##################  # cCs¿d}x\tdtjƒD]H}|j|}t||ƒ}|dkrMqn|d||f7}qWxS|jD]H}|j|}t||ƒ}|dkr£qon|d||f7}qoW|S(NRjiis%s=%s,(ROR¨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™RRã(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRI s                           >RrcBs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.pytGetModuleFightPowerObjî s
 cCs(x!|jjƒD]}|jƒqWdS(N(RR¨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(RRrRgRRtRs(RRt curFreePointRARm((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DoLVUPAddPoints       
cCsš|dks|ddkr tS|j|dƒ}|dkrX|jƒtjkrXtS|dkr–tj|ƒtkr–t    j
d|j ƒƒtSntS(Nii
iids´¥·¢·â¾ôÈÎÎñʧ°Ü( Rt FindMissionR6tGetStateR¨tDef_Mission_State_OverR3tEventResponse_LVFullRRR-RÝ(RRR¦t
curMission((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__LVUpDoInvestitures! cCsUtjdƒ}|jƒ}|d}tjdƒ}||krQ||d}n|S(NtReincarnation_Conditionit PlayerMaxLVi(RûRütGetReincarnationLvRµRK(RRtReincarnation_ConditionDictt
curReinCntt nextReinCntt
nextReinLV((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNextReincarnationLV-s 
 cCsª|j}|j||||ƒ\}}|rutjƒ}|tj|_|tj|_||_t    j
||ƒnt j ƒj ƒtjkr¦tj|||ƒn|S(N(Rt_PlayerControl__AddExpRYt tagMCAddExpR¨tDef_PerPointValuetExpPointtExptSourceR\R]RR(R±R²R³RAtOnGetExp(RtaddExpt expViewTypeR+Rt finalAddExpt expNotifyTypeR$((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddExp=s         cCsW|dkr||fS|jƒtj|jƒ}tjddƒ}tjddƒ}|jƒ}||kr¯||kr¯|j|dƒtj    d||j
ƒƒd|fS|t j kr
|j tjƒ}    tj|ddtjƒ}
|    |
7}    |
rOt j}qOnE|t jt jgkr1|jƒ}    nttjƒjƒtjƒ}    t||    ttjƒƒ}tj||ƒ}||kr©t|td||ƒƒ}n|dkrÌtj    dƒd|fS||} | tj} | tj} |jƒ| kr|j | ƒn|jƒ| kr4|j!| ƒn||krM|j"ƒn||fS(NiR*it MaxLVExpStoretGeRen_admin_825676s¾­ÑéÒÑÂú£¡ÒÑÂú¼¶£¡curLV=%ss ÎÞ·¨»ñµÃ¾­Ñé(#t GetExpPointR¨R3t GetTotalExpRµRKR[t_PlayerControl__NotifyExpFullRRRÝRltDef_ViewExpType_KillNPCRtDef_PlayerKey_TotalExpRateRGt!GetPassiveSkillValueByTriggerTypeR6tTriggerType_AddExpRatetDef_ViewExpType_KillNPCSupertDef_ViewExpType_GameEventtDef_ViewExpType_SittGetGameEventExpRateReRt
GetExpRatetDef_MaxRateValueRRRtChangeExpByWallowR"t SetExpPointt SetTotalExpt
PlayerLvUp(RRR8R9R+t curTotalExptmaxLVt maxLVExpStoreR¦texp_ratet    superRatettotalExptcurExptexpPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__AddExpOsH 
 
 
 
$
    cCs?|jtjƒ}|s;t||ƒ|jtjdƒndS(Ni(RR¨tDef_PlayerKey_ExpFullNotifyR8R
(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= %sR*ii2Rni
t billboardFunc(HRR¯RµtGetIpyGameDataR[RR7R?R¨R3tGetExpR@RRKtBeginRefreshStatetGetXPRrt
GetBaseSTRt
GetBasePNEt
GetBasePHYt
GetBaseCONRtSetLVRtWriteEvent_level_upRtDR_PlayerUpgradetGetPlayerTotalExptCache_FightPowerChangeInfotPowerDownType_LVUPt_PlayerControl__DoLVUPAddPointR6tGetTalentPointRƒtAddGreatMasterSkillPointByLVR3tEventResponse_LVUptGetLVUPTotalExpNeedtEndRefreshStateRLtUptateSuccessProgressRltSuccType_HeroLVRst
SetBaseSTRt
SetBasePNEt
SetBasePHYt
SetBaseCONtSync_GreatMasterFreeSkillPointRhtDoFuncOpenLogictChEquiptCalcEquips_OutOfPrintt    PlayerPettCalcPetItemAddPlayerAttrtRefreshPlayerAttrStateRttUpdatePlayerLVBillboardtPlayerWorldAverageLvtUpdatePlayerWorldAverageLvtSetHPtGetMaxHPtGetMaxMPtSetMPRAt OnPlayerLVUptOpenServerCampaigntUpdOpenServerCampaignRecordDatatDef_Campaign_Type_LVtFunctionNPCCommontMysticalShopOpentSetPlayerTotalExp(RthandLvUpRR8t lvUpNeedExpRPtneedSyncTalentPointtplayerNeedDoLVUpR¦RQtbefXPtbefLVt befFreePointt
befBaseSTRt
befBasePNEt
befBasePHYt
befBaseCONtisNotifyServertaddTalentPointtaftLVt aftFreePointt
aftBaseSTRt
aftBasePNEt
aftBasePHYt
aftBaseCON((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyROÕ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¶RR7R[tGetSTRtGetPNEtGetPHYtGetCONRcRdReRfRRR…tCalcAttrDict_TypeRàRáRâtSetCalcAttrListValueR¨tDef_CalcAttrFunc_RoleBase(RRR1R¸t
lvAttrDictt pointAttrDicttLVtSTRtPNEtPHYtCONR…R†R‡Rˆt_R›troleBaseAttrDictt    attrEffIDRËtformulat    calcValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcRoleBaseAttrisD               # ""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(RRR¨t Def_PlayerKey_NotifyAllAttrStateR…t    EffGetSettGetValueByEffIndexExRYRÏRÐRÑR|RÒRƒRRÓRÞRÔRARÕR\R]R'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.pyRs×s 
cCsLtjdƒ|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)|ƒ|j*dt+ƒtjdƒdS(NsStart ReCalcAllState!!!RÃsEnd ReCalcAllState!!!(,RRRR¨tCalcAttrFuncListtClearCalcAttrListValuetRefreshAllSkillR{tRefreshPlayerEquipAttributet
PlayerWingt CalcWingAttrR0tCalcHorseAttrExtPlayerPrestigeSystCalcOfficialRankAttrtPlayerGodWeapontCalcGodWeaponAttrtPlayerDienstgradtCalcAllDienstgradAttrR}R~t
PlayerRunetRefreshRuneAttrtPlayerMagicWeapontCalcMagicWeaponAttrtCalcMagicWeaponSoulAttrRLtCalcSuccessAttrt    PlayerVipt CalcVIPAttrtPlayerRefineStovet CalcStoveAttrtPlayerFamilyTechtCalcFamilyTechAttrtPlayerEquipDecomposet RefreshEDAttrt
PlayerDogztRefreshDogzAttrtPlayerGatherSoultRefreshGatherSoulAttrt
PlayerCoattCalcClothesCoatSkinAttrRsR(RRt    funcIndex((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytReCalcAllStateãs4     
                   cCs3|j}|jtjdƒ|r/|jƒntS(Ni(RR
R¨tDef_Player_RefreshAttrByBufftRefreshPlayerAttrByBuffExR(RRÃR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerAttrByBuffs
     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!!!(RRR¨RçRRR„t GetSpeedValueROR’tupdateR·tGetValueByEffIndexRatRestorePlayerFuncAttrt_PlayerControl__RefreshBuffAttrt'_PlayerControl__DoRefreshAttrAfterLogicR
(RRt beforeMaxHPtbeforeMoveSpeedValueR¹R!((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRès        $
 
 cCs[|j}|jtjdƒ|rD|tjkrDtjj|ƒn|rW|jƒndS(Ni(RR
R¨tDef_Player_RefreshAttrR?tg_refreshAttrBillboardFuncR|tRefreshPlayerAttrStateEx(RR^RÃR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR6s     cCsld}xHtdtjƒD]4}tj||ƒ}|rd|||f}qqWtjd||fƒdS(NRjis%s,%s=%ss%s AttrInfo=%s(ROR¨R’R·RìRR(RRtmarktattrInfoR!RË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    PrintAttrBsc/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!!!(fRRR¨RòRRRR„Rêt GetMaxProDefROR’RëR·RìRaRtInitPlayerStateRRÄ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…tFuncNoLinearAttrDictRRKR˜RR„t AddDictValuetCalcAttrExFuncListtMFPTypeAttrFuncIndexDictRARRžR?tCalcPassiveAttr_EffectR[RµR_RIRRŽtDef_PlayerKey_MFPSkilltDef_PlayerKey_MFPExt _PlayerControl__RefreshMaxProDeftCopyPlayerFuncAttrRîRït_PlayerControl__SyncBaseAttrtSendModuleFightPowerPackR?RóRJRR
Rç(/RRRðRñtbeforeMaxProDefR¹R!t baseAttrDicttbaseAttrNolineDictR°troleBaseAttrInfotfuncAttrInfoListRåRötequipBaseAttrListt baseAttrListtfuncAttrPerInfotfuncAddAttrPerInfoDictRVt funcAttrListtbattleNoLineAttrDictt addAttrDicttnoLineAttrTypet
addAttrPertattrRatetaddAttrTypeListt useAttrDictR¾t    baseValueRJtallFuncAttrIndexListtallFuncAttrInfoListtattrInfoExListR›t allAttrExListtmfpObjAttrDictRŽtattrFuncIndexListt mfpAttrListtmfpObjtskillNoFightPowerAttrListtallNoLineAttrDictR¦RätmfpDictt billFuncCntR^((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRôKs"%        $
 
 
&      
 
 
 
 
 
 
"    #  "+/  
 
 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(RtGetProDefHPPerR„RµRKRàRáRât SetMaxProDefRRúRet    GetProDefRÍR²tpaDiet    SetProDefR"(
RR2RtmaxHPt    proDefPerRPt    maxProDeftafterMaxProDefRJt    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(RRR?tCalcBuffers_EffecttGameLogic_DuJietCalcDujieFBAttrAddR¨RšRRRR˜RRt _PlayerControl__RefreshMoveSpeedt_PlayerControl__SetAtkIntervalRRt_PlayerControl__DoRefreshGMAttr(RRR°tallAttrListBuffstbattleNolineAttrBufftbattleAttrBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RefreshBuffAttrws       
 
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(MRRt GetPlatformtGMShelltTestPlatformListt
GetGMLevelR¨t Def_GM_LV_GodRµtIPY_DatatGetGMAttrCounttGetPlatformAccIDR R6ROtGetGMAttrByIndext
GetIsValidt
GetGMMaxLVR[t
GetGMAccIDtGetAttrSpecDictt    GetAttrLVt
GetAttrPerR6Rt
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…RRJR¦R˜R·tSetValueByEffIndext GetAttrExDictRRRt GetGMAttrID(RRtplatformt
ipyDataMgrt playerAccIDt    gmIpyDatat commIpyDataRVtipyDatatgmMaxLVtgmAccIDt setAttrDictt specAttrDicttattrLVtattrPerR8R¾RR°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(RR„ReRÍR²RTRƒR"R¯RrRÀRêt SetSpeedValuet_PlayerControl__RestoreHPMPtSync_ExpRateChange(RRðRñR¹Rt
afterMaxHPtaddMaxHP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DoRefreshAttrAfterLogicòs     -#
 
 
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_BaseAtkMinRltCDBPlayerRefresh_BaseAtkMinR£tDef_PlayerKey_BaseAtkMaxtCDBPlayerRefresh_BaseAtkMaxR¤tDef_PlayerKey_BaseMaxHPtCDBPlayerRefresh_BaseMaxHPR¢tDef_PlayerKey_BaseDeftCDBPlayerRefresh_BaseDefR¥tDef_PlayerKey_BaseHittCDBPlayerRefresh_BaseHitR¦tDef_PlayerKey_BaseMisstCDBPlayerRefresh_BaseMissR¨R…R„RR
RYRÏRÐRÑR|RÒRƒRRÓRÞRÔRARÕR\R](RRR8tbaseBattleAttrDicttattrTypeKeyDictt notifySListR¾RöRŠRÎRCt curBaseValueR×R$((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SyncBaseAttrs6             
    cCsÕ|j}|jƒ}x(tjD]}|jtj|dƒqWxtd|jƒƒD]j}|j    |ƒ}tj
j |j ƒtj ƒ}|jtj|ƒ}|jtj|||jƒƒqVWtj|ƒdS(Ni(RtGetSkillManagerRltModuleFightPowerTypeListR
R¨R,Rt GetSkillCounttGetSkillByIndextDef_SkillFuncType_MFPTypeR„t GetFuncTypetDef_MFPType_RoleRt GetFightPowerR}tSetPetSkillFightPower(RRt skillManagerRŽRVtcurSkilltskillMFP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÆ8s     % 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(RRR†tGetSkillBySkillIDR¨RÌR„RÍRlRÎRÏRR,R
ReRRÝR(    RtskillIDtbeforeFightPowertisRefreshStateRRÒRŽt addFightPowerRÓ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshSkillFightPowerExNs    $    $ cCsdS(N((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcPassiveBuffAttresc 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$|ƒdS(NisÕ½Á¦¹¦Äܵã: %ss Ä£¿éÕ½Á¦: %ss&×ÜÕ½Á¦³¬¹ýÊýÖµÉÏÏÞ£¡totalFightPower=%ss1×ÜÕ½Á¦: %s, ÀúÊ·×î¸ßÕ½Á¦: %s, beforeFightPower=%s(%RRR¨R*R…tSetMFPFightPowerRYttagMCModuleFightPowerRƒtMfpTypet
FightPowerR|RlR!R7RÝttagMCModuleFightPowerInfotTotalFightPowerRAtMFPCnttMFPListR\R]RÏt SetFightPowerRRtDR_FightPowerChangeInfoRètDef_PDict_FightPower_HighesttDef_PDictType_FightPowerRëRttUpdatePlayerFPTotalBillboardRˆR‰tDef_Campaign_Type_FightPower( RRRNt mfpDataListRRŽt
fightPowertmfpDatatmfpInfoRÖthighestFightPower((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR1qsD 
           
              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 ºÁÃë/¸ñ(RRµRKR'R(RRtGetSpeedNotBuffR.R²R/RR¨tDef_PlayerKey_SpeedHorseR˜RšR„R¾RRlRKRReRêR±RàRáRâtSetSpeedt    GetPetMgrt GetFightPet( RRcRtmoveSpeedFormattspeedt
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(Rt GetAtkSpeedRµRKRàRáRâtSetAtkInterval(RRtatkSpeedR³t atkInterval((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetAtkIntervalÉs      $ cCs4tjdƒ|j}tj|ƒtj|ƒdS(Ns!Start RefreshPlayerActionState!!!(RRRtOperControlManagertClearObjActionStateR?tCalcBuffer_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( RR¢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__SetPlayerStateInDBés        cCsQ|j}|jƒsdS|jƒ}|jƒ}||krM|j|ƒndS(N(Rt    GetInitOKR¯R„Rƒ(RRt curPlayerHPtcurPlayerMaxHP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt __RestoreHPMPs        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(#RtClearBattleEffectRcR¨tTYPE_Calc_AttrCurSTRRdtTYPE_Calc_AttrCurPNERetTYPE_Calc_AttrCurPHYRftTYPE_Calc_AttrCurCONtDef_BaseAtkSpeedRªRRRJtTYPE_Calc_AttrFightExpRatetTYPE_Calc_AttrGameExpRatetTYPE_Calc_AttrPetExpRateRKtTYPE_Calc_HitSucessRatetTYPE_Calc_CurePerROR’tTYPE_Calc_AttrHPtTYPE_Calc_AttrMPtTYPE_Calc_ProDefR·Ržt GetPickupDisttDef_RolePickupItemDistt SetPickupDistt GetCanAttackt SetCanAttackR(RRt initAttrDictRVRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRûs.    
   cCsG|j}tj|jƒ|jƒƒtjkrC|jtjƒndS(N(RR*tGetAreaTypeByMapPosRRR²t    gatNormalt SetAreaType(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInitMapBuffStateKs    '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Òì³£!(RRR(R±R²R³R­R„R…tGetFBRebornMapIDtGetFBRebornPosXtGetFBRebornPosYR8R-RÝR´R>RER(RRRàR•R€R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetToBornPlaceYs$           cCsÄ|j}tj|ƒt|ƒ|jƒt|ƒtj|ƒtj|ƒ|j    ƒ|j
ƒdkrz|j dƒnt j |ƒ|j|ƒt jƒjƒ}t|ƒtj||ƒdS(Ni(RRAR    tReSetPlayerStatet#_PlayerControl__PlayerDeadClearBuffR$RpR”R'tClearUseSkillRecR¯RƒRtClearPlayerPosCounttSetPlayerDeadCntRRRótPlayerTJGReborn(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_DeadTimeRttimeR5RGtDef_SkillID_ReviveTiredRPt
GetSkillLVt GetSkillMaxLVtNotifyPlayerDeadTime(RRtfindBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR9¾s *! cCs–tj|tjƒd}|r’|jƒjƒ|jƒjƒkr’|jtjƒr’|jtj    ƒ}t
j ƒ}||_ t j||ƒq’ndS(Ni(R5RGR¨R=RPR>R?RètDef_PDict_IsAddReviveTiredR;RYttagMCPlayerDeadTimetDeadTimeR\R](RRRAtlastDeadTimeTicktpackData((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR@ís*     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(RRRRRfRgtClearBuffByDieRiRjRkReRlRmRn(RRRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerDeadClearBuffýs    (1RRR6RRR‘RRRmt!_PlayerControl__LVUpDoInvestitureR0RltDef_ViewExpType_MissionRR<R1RARRORµRÀRsRæRéRèRR÷RôR.RîRbRïR0RÆRÙRÚR1R`RaRÁt"_PlayerControl__SetPlayerStateInDBR²RûR/R4RR9R@R6(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRrÞ 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ÝRGtGetPassiveEffManagert GetPassiveEfft GetBuffCounttGetBuffRR-R|RPt
GetSkillIDt DelBuffInfotDeleteBuffByIndexR?tClearBuffEffectBySkillIDList(    Rt    buffStatet funcClearBuffRÌR1R!tbuffSkillIDListt
passiveEfftcurBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRfs& 
 
cCs |jƒ}|jƒt@dkS(Ni(RPtGetDieContinuetDef_Buff_Clear_Die(RXtskill((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRG:s cCs |jƒ}|jƒt@dkS(Ni(RPRYtDef_Buff_Clear_Disconnect(RXR[((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRhBs 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: %sR0tEnemy_State_No_TranstCarry_lhs_306641tTransportMapLineCheckitCarry_yeqian_0(RR(RÈR7RÝR8RtGetCountryByMapIDtIsSameCountry_Namet
GetCountryRÏR²R³t CanEnterMaptGetPlayerLineIDRûRüR…R(    RR¾Rºt
mapCountryt    mapLineIDtmapLineCheckDicttcanEnterLineIDREt    mapIDList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckTagCountryLs6  
 
 cCst|||ƒstStS(N(tCheckLVCanEnterMapRR(RR¾t    isShowSys((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRdŠ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
GetMapByIDR[R8Rt GetTreasureIDt    IsMapOpenRR(RR¾RmtmapDatatenterLVt openMapStep((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRl™s  cCs6tj|ƒ}|stS||jdƒkr2tStS(NtOpenMap(t QuestCommontGetCommonMissionRt GetPropertyR(RRut    mission_1((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRr«s cCs„|jƒ}|tjkr,t|dƒtS|jƒrE|jƒn|tjkrat    |ƒnt
j |tj tj ƒs€tStS(NRî(RÍR¨RR8RRµR,R²RÿRÎRtIsObjCanDoActiontDef_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(
R)RRRRVRaR¨tDef_SkillID_LimitSuperBuffRrRé(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    paProduceRVRaR¨tDef_ProduceBuffIDtDef_SkillID_ActionWuDiRÙRÑtNotify_ProductionStatetDef_EndProduction(RRÌt isLeaveServer((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDelProduceBuffêscCstjƒ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²tpaTradeR7R8RÐR3R;t paGameEventtPlayerGameEventt StopGameEventRÓRÔR.R/R0R1RRR'R+R)RÂRýR6(RRÌRØtcurPlayerVehicle((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR5s$   
 cCs$|jƒstS|jƒr tStS(N(RRt GetIsLoginOffR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__CanPullPlayer2s
  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_PlayerDictRIR¹RºR„tDef_PlayerPackDict_Index_KeytDef_PlayerFirstLoginOpenBackCntRètSetCounttSync_PackCanUseCount(RRctcurPacktkeyNametcount((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RIR¹RºR„R‘tDef_FirstLogin_OpenWareHouseCntRèR“R”(RRcR•R–R—((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInit_Warehousets     
cCs6|jƒjtjƒ}|jtjƒ|jƒdS(N(R¹RºRlt 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‘R6RR7R¹RºtDef_PackCnt_WeaponCoatRèR“R”(RRcR–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?RORPRQR6RR³(t playerManagerRVR((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tGetWorldAverageLvExpRateR×tGetPrivilegeValueR¨tVIPPrivilege_FightExpRateR?tg_operationActionDictR„RltOperationActionName_ExpRateRóRôt ActKey_StateRµR_t ActKey_CfgIDR[t
GetLVLimitt GetAddExpRateR´tDef_FBMapID_FamilyInvadeRtDef_PlayerKey_TeamExpRateReRÆtGetAreaRewardMultipleRKR
RCtSync_CurExpRate(Rt totalExpRatet fightExpRatetactExpRateInfot actExpIpyDatatmapExpAddMultiple((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR³¹s"  " cCs|jtjƒS(N(RR¨RC(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¤R6RkRORNRORPRtGetEffectCountt    GetEffectt GetEffectIDR¨RtGetEffectValuetEffCalcType_LinePlusRê( Rt    limitTypeR³RTRVRXRXtjt    curEffectteffectIDt
effExpRatetcalcTypetlimitTypeValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLimitExpRateÓs,      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¶RR7R…R’R>tupperRltDef_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ús$                cCsdS(N((RRµtlogIndexttagIDtparR˜((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDataServerMoneyLog"scCs:|j|ƒ|jtj|ƒ|jtj|tƒdS(N(tSetGMForbidenTalktSendGameServerRefreshStateRltCDBPlayerRefresh_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
GetJobRankCscCs |jtj|ƒ|j|ƒS(N(RÐR²tCDBPlayerRefresh_ExAttr1t
SetExAttr1(RtjobRank((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetJobRankDscCst||d|ƒS(Ni
(tSetTeamCheckState(Rt joinReqCheckt inviteCheck((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTeamCheckStateExIscCs|j|ttƒS(N(t
SetExAttr2RR(Rt
checkState((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRØJscCs
|jƒS(N(t
GetExAttr2(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTeamCheckStateKscCs|j|ttƒS(N(t
SetExAttr3R(RRÅ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRNscCs
|jƒS(N(t
GetExAttr3(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFBFuncLineIDOscCs
|jƒS(N(t
GetExAttr5(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¾RscCs|j|ttƒdS(N(t
SetExAttr5RR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCrossRealmStateSscCs|jƒtj|jƒS(N(t
GetExAttr6R¨R3R¼(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¼VscCsn|tj}t|tjtjƒ}||jƒkrH|j|ƒn||jƒkrj|j|ƒndS(N(R¨R3R"R!R¼RëRæt
SetExAttr6(Rt totalSilverRvt silverPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRëWs cCs
|jƒS(N(t GetExAttr11(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTodayXianyuanCoinascCs|j|ttƒS(N(t SetExAttr11RR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTodayXianyuanCoinbscCs|j|jƒ|ttƒS(N(RìRêRR(RRJ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddTodayXianyuanCoincscCs
|jƒS(N(t
GetExAttr9(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVIPExpireTimefscCs|j|ttƒS(N(t
SetExAttr9RR(Rt
expireTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetVIPExpireTimegscCs
|jƒS(N(t GetExAttr10(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetChatBubbleBoxjscCs|j|ttƒS(N(t SetExAttr10RR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetChatBubbleBoxkscCs
|jƒS(N(t GetExAttr13(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRnscCsitjƒrdStjƒ}|s&dS|jƒ}||kre|j|ttƒtjd|ƒndS(Ns(¸üÐÂÍæ¼ÒËùÊô·þÎñÆ÷×éID: serverGroupID=%s(RR=tGetServerGroupIDRøt SetExAttr13RRR(RR-tplayerServerGroupID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytUpdPlayerServerGroupIDos    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(RR¨Rÿ(RRŽ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPFightPower†scCs|jƒdS(Ni(R3(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRescCsœddl}|j|ƒ}|rJ|j|jƒdkrJ|jdƒdS|jtjƒtjkr‹|j    ƒ|kr‡|j|ƒndS|j|ƒdS(Niÿÿÿÿii(
RwRxRytDef_NewGuyNoSightRRèR¨t#Def_Player_Dict_AutoCheckHack_StatetDef_AutoCheck_State_DangertGetSight(RtsightRwt firstMission((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR•s   cCs8|jƒ}|jtjƒtjkr4|d9}n|S(Nid(tGetAtkIntervalRèR¨RR(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRªs
   cCsm|s
dS||}tj|tjƒ}|r\tj|}t||ttjƒƒ}nt||ƒdS(N(R×R§R¨tVIPPrivilege_NPCSPRateRKRRtPlayerAddZhenQi(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(RRJt 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(RRReRR7RR(Rt    lostValueR RRRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLostZhenQiâs    cCs|jƒtj|jƒS(N(t
GetExAttr8R¨R3t
GetExAttr7(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¨R3R"R!Rt
SetExAttr7Rt
SetExAttr8(Rt totalZhenQitzhenQit zhenQiPoint((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.pytSetVsFightValuescCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVsFightValuescCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVsSportsPointscCsdS(N((RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetVsSportsPointscCs=t|ƒ}t|td||ƒƒt|d|gƒdS(NitArena_pan_474794(R"R#ReR8(RRËtcurValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytReduceVsSportsPoint s cCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetLongMaiLV+scCsdS(N((RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetLongMaiLV3scCsa|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"RFRVRatGetTotalAddAttrInfoByCountRR6(RRctopenCntRÌtcfgObjR–tcurCounttmaxCanAddCounttforCountR—t
onlineTimetlastAutoOpenPackTickt lastInfoObjt notOnlineTimeRVt    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.pytGetHolidayExpRatezscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWorldBossExpRatescCs|jƒ}t|ƒS(N(R[tGetTotalExpByPlayerLv(RR¦((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLVUPTotalNeedExp‡s cCs t|ƒ}|sdSt|ƒS(Ni(R6Rq(tplayerLVR8((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR=‘s cCs1tjd|ƒ}|s-tjd|ƒdS|S(NR]s¾­Ñé±íÒì³£  lv= %s(RµR_RR7(R?R8((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR6—s
cCs%|s
dS|jƒtj|jƒS(Ni(R?R¨R3R`(R8((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRqžscCs%|jƒ}t|ƒ}t||ƒS(N(R[RjtGetRealPlayerLvEx(Rt realPlayerLvRP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealPlayerLv¦s  cCsWt|ƒ}|s|Sx:||krR|d7}||8}t|ƒ}|sPqqW|S(Ni(R=(RARPt needTotalExp((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR@±s 
 
 cCs-|jƒ}|jƒ}|tj|}|S(N(R@R?R¨R3(RRURWttotalMasterExp((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRjÁs  cCsb|tj}|tj}|jƒ|kr<|j|ƒn|jƒ|kr^|j|ƒndS(N(R¨R3R?RMR@RN(RRURVRW((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÈs  cCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RYttagMCNotifySelectObjRƒtTypetIDtisSelectR\R](RtobjTypetobjIDRHt    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_CalcAttrIndexDictRR((R¾RËR›RöR!tattrDictRV((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¦és  
cCs|jtjƒS(N(RR¨tDef_PlayerKey_SpeedValueNotBuff(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRïscCs|jtj|ƒdS(N(R
R¨RP(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSpeedNotBuffscCs|jtjƒS(N(RR¨tDef_PlayerKey_SpeedValue(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRêscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RRRÍRltCDBPlayerRefresh_SpeedValueR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR± scCs
|jƒS(N(tGetBattleValEx1(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÿ'scCs|j|tƒdS(N(tSetBattleValEx1R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetAtkSpeed-scCs
|jƒS(N(tGetBattleValEx2(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAtkBackHPPer4scCs|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.pytGetReduceSkillCDCscCs?|j|ƒtjdƒ}t|ƒ}|jtj|ƒdS(NtSkillCDReducePer(tSetBattleValEx3Rût GetChConfigRàR
R¨tDef_PlayerKey_ReduceSkillCDPer(Rt reduceSkillCDtreducePerFormatt    reducePer((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetReduceSkillCDDs
  cCs|jtjƒS(N(RR¨Rb(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceSkillCDPerJscCs/tjƒjƒtjkr+|jtjƒSdS(Ni(RR(R±R²R³RR¨tDef_PlayerKey_CommMapExpRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCommMapExpRateMscCs|jtj|ƒS(N(R
R¨Rh(RtexpRate((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCommMapExpRateQscCs|jtjƒS(N(RR¨tDef_PlayerKey_NPCHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNPCHurtAddPerTscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RlRÍRltCDBPlayerRefresh_NPCHurtAddPerR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetNPCHurtAddPerUscCs|jtjƒS(N(RR¨tDef_PlayerKey_JobAHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobAHurtAddPer[scCs|jtj|ƒdS(N(R
R¨Rp(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobAHurtAddPer\scCs|jtjƒS(N(RR¨tDef_PlayerKey_JobBHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobBHurtAddPer^scCs|jtj|ƒdS(N(R
R¨Rs(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobBHurtAddPer_scCs|jtjƒS(N(RR¨tDef_PlayerKey_JobCHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobCHurtAddPerascCs|jtj|ƒdS(N(R
R¨Rv(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobCHurtAddPerbscCs|jtjƒS(N(RR¨tDef_PlayerKey_NPCAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNPCAtkReducePerfscCs|jtj|ƒdS(N(R
R¨Ry(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetNPCAtkReducePergscCs|jtjƒS(N(RR¨tDef_PlayerKey_JobAAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobAAtkReducePeriscCs|jtj|ƒdS(N(R
R¨R|(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobAAtkReducePerjscCs|jtjƒS(N(RR¨tDef_PlayerKey_JobBAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobBAtkReducePerlscCs|jtj|ƒdS(N(R
R¨R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobBAtkReducePermscCs|jtjƒS(N(RR¨tDef_PlayerKey_JobCAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobCAtkReducePeroscCs|jtj|ƒdS(N(R
R¨R‚(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobCAtkReducePerpscCs|jtjƒS(N(RR¨tDef_PlayerKey_LuckyHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLuckyHitReducePertscCs|jtj|ƒdS(N(R
R¨R…(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLuckyHitReducePeruscCs|jtjƒS(N(RR¨tDef_PlayerKey_GreatHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetGreatHitReducePerwscCs|jtj|ƒdS(N(R
R¨Rˆ(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGreatHitReducePerxscCs|jtjƒS(N(RR¨tDef_PlayerKey_SuperHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSuperHitReducePerzscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨R‹RÍRltCDBPlayerRefresh_SuperHitReduceR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSuperHitReducePer{scCs|jtjƒS(N(RR¨t Def_PlayerKey_IgnoreDefReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetIgnoreDefReducePerscCs|jtj|ƒdS(N(R
R¨R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetIgnoreDefReducePer€scCs|jtjƒS(N(RR¨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ÍRlt#CDBPlayerRefresh_LuckyHitRateReduceR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLuckyHitRateReduce…scCs|jtjƒS(N(RR¨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(RR¨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(RR¨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ÍRlt$CDBPlayerRefresh_IgnoreDefRateReduceR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetIgnoreDefRateReducescCs|jtjƒS(N(RR¨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(RR¨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ÍRltCDBPlayerRefresh_BleedDamageR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBleedDamage›scCs|jtjƒS(N(RR¨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ÍRltCDBPlayerRefresh_FinalHurtPerR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFinalHurtPer¡scCs|jtjƒS(N(RR¨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ÍRltCDBPlayerRefresh_FinalHurtR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetFinalHurt¦scCs|jtjƒS(N(RR¨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ÍRlt CDBPlayerRefresh_FinalHurtReduceR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFinalHurtReduce«scCs|jtjƒS(N(RR¨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(RR¨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(RR¨tDef_PlayerKey_DropEquipDoCount(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDropEquipDoCountµscCs|jtj|ƒdS(N(R
R¨R¹(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDropEquipDoCount¶scCs|jtjƒS(N(RR¨tDef_PlayerKey_BaseAtkAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseAtkAddPer¹scCs|jtj|ƒdS(N(R
R¨R¼(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseAtkAddPerºscCs|jtjƒS(N(RR¨tDef_PlayerKey_BaseMaxHPAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseMaxHPAddPer¼scCs|jtj|ƒdS(N(R
R¨R¿(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseMaxHPAddPer½scCs|jtjƒS(N(RR¨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(RR¨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.pytSetBaseHitAddPerÃscCs|jtjƒS(N(RR¨tDef_PlayerKey_BaseMissAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseMissAddPerÅscCs|jtj|ƒdS(N(R
R¨RÈ(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseMissAddPerÆscCs|jtjƒS(N(RR¨tDef_PlayerKey_HorcruxBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHorcruxBasePerÈscCs|jtj|ƒdS(N(R
R¨RË(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHorcruxBasePerÉscCs|jtjƒS(N(RR¨tDef_PlayerKey_EquipBaseAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetEquipBaseAddPerËscCs|jtj|ƒdS(N(R
R¨RÎ(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetEquipBaseAddPerÌscCs|jtjƒS(N(RR¨tDef_PlayerKey_WeaponAtkAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWeaponAtkAddPerÎscCs|jtj|ƒdS(N(R
R¨RÑ(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetWeaponAtkAddPerÏscCs|jtjƒS(N(RR¨tDef_PlayerKey_RelicsAtkAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRelicsAtkAddPerÑscCs|jtj|ƒdS(N(R
R¨RÔ(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetRelicsAtkAddPerÒscCs|jtjƒS(N(RR¨tDef_PlayerKey_ArmorMaxHPAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetArmorMaxHPAddPerÔscCs|jtj|ƒdS(N(R
R¨R×(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetArmorMaxHPAddPerÕscCs|jtjƒS(N(RR¨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(RR¨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(RR¨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(RR¨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(RR¨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(RR¨tDef_PlayerKey_HPCureEnhance(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHPCureEnhanceæscCs|jtj|ƒdS(N(R
R¨Ré(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHPCureEnhanceçscCs|jtjƒS(N(RR¨tDef_PlayerKey_OnlyFinalHurt(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetOnlyFinalHurtêscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RìRÍRltCDBPlayerRefresh_OnlyFinalHurtR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetOnlyFinalHurtëscCs|jtjƒS(N(RR¨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(RR¨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.pytSetHitSucessRateöscCs|jtjƒS(N(RR¨tDef_PlayerKey_MissSucessRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMissSucessRateùscCs|jtj|ƒdS(N(R
R¨Rö(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMissSucessRateúscCs|jtjƒS(N(RR¨tDef_PlayerKey_CurePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetCurePerýscCs|jtj|ƒdS(N(R
R¨Rù(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetCurePerþscCs|jtjƒS(N(RR¨tDef_PlayerKey_BeHurtPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetBeHurtPerscCs|jtj|ƒdS(N(R
R¨Rü(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetBeHurtPerscCs|jtjƒS(N(RR¨tDef_PlayerKey_HorseAtkPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHorseAtkPerscCs|jtj|ƒdS(N(R
R¨Rÿ(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHorseAtkPerscCs|jtjƒS(N(RR¨tDef_PlayerKey_StoneBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetStoneBasePer    scCs|jtj|ƒdS(N(R
R¨R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetStoneBasePer
scCs|jtjƒS(N(RR¨tDef_PlayerKey_RealmBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealmBasePer scCs|jtj|ƒdS(N(R
R¨R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetRealmBasePerscCs|jtjƒS(N(RR¨tDef_PlayerKey_WingHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetWingHPPerscCs|jtj|ƒdS(N(R
R¨R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetWingHPPerscCs|jtjƒS(N(RR¨tDef_PlayerKey_SuiteBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSuiteBasePerscCs|jtj|ƒdS(N(R
R¨R (RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSuiteBasePerscCs|jtjƒS(N(RR¨tDef_PlayerKey_PlusBaseAtkPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlusBaseAtkPerscCs|jtj|ƒdS(N(R
R¨R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPlusBaseAtkPerscCs|jtjƒS(N(RR¨tDef_PlayerKey_AddBackHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAddBackHPPerscCs|jtj|ƒdS(N(R
R¨R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAddBackHPPer%scCs|jtjƒS(N(RR¨tDef_PlayerKey_ReduceBackHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceBackHPPer,scCs|jtj|ƒdS(N(R
R¨R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetReduceBackHPPer2scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrFaintRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetFaintRate6scCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RRÍRltCDBPlayerRefresh_FaintRateR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetFaintRate7scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrFaintDefRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFaintDefRate;scCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RRÍRltCDBPlayerRefresh_FaintDefRateR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFaintDefRate<scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrAtkerFreezed(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAtkerFreezedAscCs|jtj|ƒdS(N(R
R¨R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAtkerFreezedBscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrAddAngry(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetAddAngryEscCs|jtj|ƒdS(N(R
R¨R"(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetAddAngryFscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrComboRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetComboRateIscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨R%RÍRltCDBPlayerRefresh_ComboRateR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetComboRateJscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrComboDamPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetComboDamPerNscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨R)RÍRltCDBPlayerRefresh_ComboDamPerR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetComboDamPerOscCs|jtjƒS(N(RR¨t Def_PlayerKey_SkillAtkRateReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSkillAtkRateReduceTscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨R-RÍRlt#CDBPlayerRefresh_SkillAtkRateReduceR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSkillAtkRateReduceUscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrDamagePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetDamagePerYscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨R1RÍRltCDBPlayerRefresh_DamagePerR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetDamagePerZscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrDamagePerPVE(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVE^scCs|jtj|ƒdS(N(R
R¨R5(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVE_scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrDamagePerPVP(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVPbscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨R8RÍRltCDBPlayerRefresh_DamagePerPVPR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVPcscCs|jtjƒS(N(RR¨t$Def_PlayerKey_AttrDamagePerPVPReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVPReducefscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨R<RÍRlt#CDBPlayerRefresh_DamagePerPVPReduceR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVPReducegscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrHurtPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetHurtPerlscCs|jtj|ƒdS(N(R
R¨R@(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetHurtPermscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrXPRestorePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetXPRestorePerpscCs|jtj|ƒdS(N(R
R¨RC(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetXPRestorePerqscCs|jtjƒS(N(RR¨t"Def_PlayerKey_AttrShieldMPCostRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetShieldMPCostRatetscCs|jtj|ƒdS(N(R
R¨RF(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetShieldMPCostRateuscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrDamChanceDef(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamChanceDefxscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RIRÍRltCDBPlayerRefresh_DamChanceDefR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamChanceDefyscCs
|jƒS(N(t
GetExAttr4(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRS~scCs0tjƒr|j|tƒn |j|ƒdS(N(RR=t
SetExAttr4R(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRUs cCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrMaxProDef(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRú†scCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RORÍRltCDBPlayerRefresh_MaxProDefR(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRR‡scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrProDefHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRQ‹scCs|jtj|ƒdS(N(R
R¨RQ(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetProDefHPPerŒscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrProDefAbsorb(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetProDefAbsorbscCs|jtj|ƒdS(N(R
R¨RS(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetProDefAbsorb‘scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrPetMinAtk(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPetMinAtk–scCs|jtj|ƒdS(N(R
R¨RV(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPetMinAtk—scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrPetMaxAtk(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPetMaxAtk˜scCs|jtj|ƒdS(N(R
R¨RY(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPetMaxAtk™scCs|jtjƒS(N(RR¨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(RR¨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(RR¨tDef_PlayerKey_AttrPerLVMaxHP(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPerLVMaxHPªscCs|jtj|ƒdS(N(R
R¨Rb(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPerLVMaxHP«scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrDropEquipPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDropEquipPer®scCs|jtj|ƒdS(N(R
R¨Re(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDropEquipPer¯scCs|jtjtjdƒS(Ni(RR¨tDef_PlayerKey_CopyFuncAttrR¥(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetFuncDef²scCs"|jtjtjd|ƒdS(Ni(R
R¨RhR¥(RRË((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetFuncDef³scCs€|jtjƒ}||7}t|tj|ƒ|rQt|dtj|gƒn|r|tjƒj    ƒ}t
j ||ƒndS(NRÂ( RèR¨tDef_PDict_HighLadder_CurrencyRëR8RltTYPE_Price_HighLadder_CurrencyRRRtHighLadderTubetSendHighLadderState(RtaddCountRt    isRefreshRûRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddHighLadderCurrency¹s
cCs·|jtjƒ}||ks*|dkr7t||fStd||ƒ}t|tj|ƒ|rt|dtj|gƒn|rªt    j
ƒj ƒ}t j ||ƒnt||fS(NiRæ(RèR¨RkRReRëR8RlRlRRRRmRnR(RtpayCountRRpRût updCurrencyRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPayHighLadderCurrencyÊs cCsdS(N((RRctallAttrListEquip((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcFuncPackItemÝs 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_PerLVAtkRR[RRlRKR„R£R¤tTYPE_Calc_PerLVMaxHPR¢R&R…RzRR7RÝROtDef_MaxAddAttrTypeCnttDef_PlayerKey_CalcAddAttrTypetDef_PlayerKey_CalcAddAttrValueRR
(RRåR›RœtaddAtkRµR—R=t    findIndexR¾RRVtaddAttrTypeKeytaddAttrValueKey((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( RRzRR¨R&RORyRR¨RzR{(
RRåR°tattrListt funcIndexListR—RORVR¾R((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¨tCalcAttrIndexListRORyRRzR{Rþ(RRåR›R—RVtcurAddAttrTypetcurAddAttrValueR=((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddCalcAttrListValueAs 
cCsŽx‡tjD]|}xsttƒD]e}tj|||f}|j|ƒ}|sRPn|j|dƒ|jtj|||fdƒqWq
WdS(Ni(R¨R‚RORyRzRR
R{(RRåR—RVR~R¾((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÅNs(cCs]gtdƒD] }i^q }x7|D]/}x&tjD]}t||||ƒq6Wq&W|S(Ni(RR¨R‚Rþ(R€R°t addAttrListtaListRV((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRYs
 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þas  
cCsC|dkr |j||ƒdS|j|t|tjƒ|ƒdS(Ni(tNomalDictDelPropertytNomalDictAddPropertyR"R¨tDef_UpperLimit_DWordEx(RRRËtdType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRëps
 cCs†g}tjƒ}|jƒ||_||_||_|j|ƒtjƒ}|jƒt|ƒ|_    ||_
t j ||ƒdS(N( RYttagMCSyncSingleBlessValueRƒRFRÑtMultipleR|ttagMCSyncBlessValueRAtTypeCntt    BlessInfoR\R](Rt    blessTypeRËtmultipletitemListt    valuePackR$((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_BlessValueys 
              
    (ÓRR{R?R¨R3R·R0R'R7R9R5tChItemR*RAR°RÚRRût PlayerGMOperRVRpRt PlayerFamilyRlRtR£R²RRYR\RRRRÝRáRÏRËRˆRÍRÈR*RRCRRmRÆRvRGRˆRt PlayerTeHuiRáRLR}RƒR}RhRµRÑR^R?RÓRÖRóR×RÙRÛRRÀRRûR‹R¥RRãRöRwRßR<RhR$R“RR<RntIPY_NotifyCodeListR‘RZR\R RR'R5R8RJRLRBRWRXR]R^R`RyRpR9R¢R¦R¬R·RÁRÇRRÙRÔRíRçRÃRôRõRÂRþRRÎRR    RR R$R&R-R2RQRFR^RdRERoRzR|R}R€RR‡RŠR R¼RÂRäRØRËRR R´RRR:RER;R6RLRHR‚R¥R§tDef_Team_GetExpScreenDistR²R³R¶RÂRÇRÀRÌRÊRØRáRäRRüRíRýRRþRÿRR/RR'R3R4R5R9R:RCR>RIR`RDR=RgRoRuR|RRrRfRGRhRkRdRlRrR°RÈR…R5RŒRŽR˜R›RžR R¢R³R¤RÄRRÎRÏRÓR×RÛRØRßRRâR¾RåR¼RëRëRíRîRðRóRõR÷RRüRýRþRÛRReRRRR    RRRR R!R"R#R&R'R(R:R;R<R>R=R6RqRBR@RjRRLR¦RïRQRêR±RÿRVRXRZR[R\R^RfRgRiRkRmRoRqRrRtRuRwRxRzR{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ëRíRïRñRòRôRõR÷RøRúRûRýRþRRRRRRR    R
R R RRRRRRRRRRR R!R#R$R&R(R*R,R.R0R2R4R6R7R9R;R=R?RARBRDRERGRHRJRLRSRURúRRRQRRRTRURWRXRZR[R]R^R`RaRcRdRfRgRiRjRqRtRvRyR§RýR…RÅRRþRëR™(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt<module>s¢                                                                                          2     & 
          2                    0      %                                2                 Á                          F                          !                             a    F    [ {    
    2E             ) h     g        Œ    0                              1 ,P    O    +              I    G    +                                                                           •ÿÿÿÿÿÿ<    &        
    >                   -                                        '    (                                                
                                                                
                                             >            
                                     3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                            %    !