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
779
780
781
782
783
Nþ[c@s ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl!Z!ddl"Z"ddl#Z#ddl$Z$ddl%Z%ddl&Z&ddl'Z'ddl(Z(ddl)Z)ddl*Z*ddl+Z+ddl,Z,ddl-Z-ddl.Z.ddl/Z/ddl0Z0ddl1Z1ddl2Z2ddl3Z3ddl4Z4ddl5Z5ddl6Z6ddl7Z7ddl8Z8ddl9Z9ddl:Z:ddl;Z;ddl<Z<ddl=Z=ddl>Z>ddl?Z?ddl@Z@ddlAZAddlBZBddlCZCddlDZDddlEZEddlFZFddlGZGddlHZHddlIZIddlJZJddlKZKddlLZLddlMZMddlNZNddlOZOddlPZPddlQZQejRƒaSdZTdZUd„ZVeWdd„ZXd„ZYgd„ZZgdddgd    „Z[gd
„Z\gd „Z]gd „Z^gd „Z_d„Z`gd„Zaggggggd„Zbgddddd„Zcddddd„Zdd„Zed„Zfd„Zgd„Zhd„Zid„Zjdd„Zkeld„Zmd„Znd„Zod„Zpd„Zqd „Zrd!„Zsd"„Ztd#„Zud$„Zvd%„Zwd&„Zxd'„ZyeWd(„Zzd)„Z{d*„Z|d+„Z}d,„Z~d-„Zd.„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ddd?„Z‘gd@„Z’eWeldA„Z“dB„Z”dC„Z•ddeWddD„Z–dE„Z—dF„Z˜dG„Z™ddeWddH„ZšddI„Z›eœdJ„ZdK„ZždL„ZŸdM„Z dN„Z¡ej¢eldO„Z£dP„Z¤dQ„Z¥dR„Z¦dS„Z§dT„Z¨dU„Z©ddV„ZªdW„Z«eWdX„Z¬eWdY„Z­ej®iddeWdZ„Z¯d[„Z°d\„Z±dd]„Z²d^„Z³d_„Z´d`„Zµej¶ieWeWda„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Ådpfdq„ƒYZÆdrfds„ƒYZÇdt„ZÈdu„ZÉdv„ZÊdw„ZËeWdx„ZÌeWdy„ZÍdz„ZÎd{„ZÏd|„ZÐeld}„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ödd£„Z÷eleWd¤dd¥„Zød¤dd¦„Zùd§„Zúd¨„Zûd©„Züdª„Zýd«„Zþd¬„Zÿd­„Zd®„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ƄZdDŽZdȄZdɄZdʄ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‚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ÂeWeWdp„ZÃeWeWdq„ZÄdr„ZÅdsZÆdt„ZÇdu„ZÈdv„ZÉdw„ZÊdx„ZËdy„ZÌddz„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.pytPlayerMoveCheckClientWorldTickqs4         $' #  ic    CsD|dkrtjdƒ}n|j|jƒ|jƒ||ƒdS(    Niÿÿÿÿi
iiiii2(i
i
iiiiii2(trandomtchoicet    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.pyR:Ös
  cCsŽtjƒret|||||||gƒ}tjƒjdddd|t|ƒƒt||ƒn%tjƒj|d|t|ƒ|ƒdS(NitMergeWorldNotify(    Rt IsMergeServertstrtGetPlayerManagertGameServer_QueryPlayerResulttlentFBNotifytBroadcastCountry_NotifyCodeR;(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(RRARER;(tfamilyIDR<R=((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt FamilyNotifyús"cCs tjƒj|t|ƒƒdS(N(RtGetMapCopyPlayerManagertBroadcastFB_NotifyCodeR;(R<R=((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRDscCstjƒ}xlt|jƒƒD]X}|j|ƒ}|dks|jƒrRqn|jƒ|krt|||ƒqqWdS(N(    RROtxrangetGetPlayerCounttGetPlayerByIndexR8tIsEmptyt
GetFactionR:(tfactionR<R=tcopyMapPlayerManagertiR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotifySelfs cCstjƒ}xlt|jƒƒD]X}|j|ƒ}|dks|jƒrRqn|jƒ|krt|||ƒqqWdS(N(    RRORQRRRSR8RTRUR:(RVR<R=RWRXR((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(    RRORQRRRSR8RTRUR:(RVt selfMsgMarktselfMsgParamListt otherMsgMarktotherMsgParamListRWRXR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotifys cCsL|dkrdSd||f}tjƒjdd|d|t|ƒƒdS(Nis
("%s", %s)t
TeamNotify(RRARBRC(tteamIDR<R=RK((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR`0s
 (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@RRARBRCR/(    t mailTypeKeytbatchPlayerIDListtbatchAddItemListtbatchParamListt    batchGoldtbatchGoldPapert batchSilvert batchDetailtmsgInfo((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRb9s
$(    tc    
CsW|stj}nd|tj|dtƒf}td|d||||||ƒ    dS(s'
    @param detail: ¼Ç¼ÓʼþÁ÷ÏòÓÃ
    s!<MailTemplate>%s</MailTemplate>%st ensure_asciiRliN(t ShareDefinetDefaultLackSpaceMailTypetjsontdumpsRtSendMail(    Rct playerIDListt addItemListt    paramListtgoldt    goldPapertsilvertdetailtcontent((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SendMailByKeyJs
 "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, isBindRrs%s(RR?t
isinstancetdicttappendRCt ItemControlertGetAppointItemRealIDt GetItemByDatatGetAppointItemDictDataR9t
ItemCommontGetMailItemDicttCleartgettitemsRARBR@R(ttitleRztgetDaysRsRtRvRwRxRyt itemCountDicttcombineItemListtmailItemtitemIDtitemCnttisBindtappointItemObjtkeytcmdList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRrXs<       !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.pyR;Šs
  cCs\|jƒ}|dks$|dkr(dStj|ƒ}tjtjƒƒ}tj||ƒS(NRlt0i(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(NRlRœ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(NRlRœ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 IpyGameDataPYtGetFuncEvalCfgR:R(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´trptEquiptGetAttretWingRTR:R(Rt    destMapIDt playerEquiptcurEquip((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckEquipCanTrans s cCsut|ƒ|jƒt|tƒ|j|ƒ|j|ƒ|j|ƒ|jƒtj    ƒj
ƒ}t ||ƒdS(N( tExitPlayerConfrontingR.tSetIsNeedProcessRtSetPrepareTimetSetPrepareStatet SetPrepareIDtSync_PrepareBeginRRRtDelLimitSuperBuff(Rt prepareTimet prepareTypet    prepareIDttick((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÉ#s
 
 
 cCsð|jƒ}||krdSt|ƒ|tjkrBt|ƒn|tjkr‘| r‘|tjtjgkr‘t    j
d||j ƒƒdSn|tj kr­t |ƒn|j|ƒ|tjkrÍdSt    jƒjƒ}t||ƒdS(Ns²»Ç¿ÖÆ×ª»»×´Ì¬ %s(tGetPlayerActiont DoPlayerStandRªtDef_PlayerCancelConfrontingRÄR´tpaEventtpaNulltpaAttackRRRt paPreparingtDoExitPreparingtSetPlayerActionRRRÊ(Rt changeActiont forceChangetcurPlayerActionRÎ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.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 GetActionObjR8RR/t GetPlayerIDtGetGameObjTypeR´tgotNPCt GetNPCManagert GetNPCByIndextGetIndextGetPlayerHurtListR…(RttagObjtcurNPCtcurNPC_HurtList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÖas     
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ÕtGetPrepareStatetpstMissionCollectingRntDef_PstProduceRR*R³RµRÞR8Rà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´RtStand(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÐ2s
cCs2|jdƒt|ƒ|jƒ|j|ƒdS(N(RÿR8RÄR.tView_ShowPlayerFace(RtfaceType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoPlayerShowPlayerFace@s
 
 
 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 DoPlayerDeadPs
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.pytPlayerRefreshPosbsB       $        )        cCs8|r|j||ƒdS|r4|j||ƒdSdS(N(R0t    ChangePos(Rt
changePosXt
changePosYtneedResetServerPostneedChangeClientPos((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR#scCsag}x6t|jƒƒD]"}|j|ƒ}|j|ƒqWx|D]}tj|ƒqFWdS(N(trangetGetSummonCounttGetSummonNPCAtR~RÜt    SetDeadEx(Rt summon_Listtindext curSummonNPCt    summonNPC((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytKillPlayerSummonNPC4s cCs|jƒ}|tjkS(N(RÏRªtDef_Player_Can_Transfer_State(RRÚ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerCanStateTransferCs cCsCdStj|ƒr?|jƒ}|jdƒtj||ƒndS(N(t PlayerTrucktGetHaveAutoTrucktGetTrucktSetOwnerR8tPlayerTruckDown(RtcurPlayerTruck((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__TruckPlayerDisconnectPs   cCs,|jƒtjkr(tj|tƒndS(N(tGetPlayerVehicleR´tpvHorset PlayerHorsetPlayerRideHorseDownR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RidingHorsePlayerDisconnect_scCs}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+R8R,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__PlayerLeaveServerLogicls2       
      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.pyRH²s  cCs=dStjƒ}|jƒ|jƒ|_tj||ƒdS(N(tChPyNetSendPackttagMCOnLineTimeTotalR…RXtOnLineTimeTotalt NetPackCommont SendFakePack(RR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSyncOnLineTimeTotalÆs  
cCsPdStjƒ}|jƒ||_|jtj|ƒ|_tj    ||ƒdS(N(
R[ttagMCOnlineTimeLastOpenPackR…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.pyRGß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
GetIncBuffRgtGetActionBuffManagertGetProcessBuffStatetGetProcessDeBuffState(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_OnLeaveServerRqt PlayerControltRefreshAllStatetPlayerBillboardt"UpdatePlayerBillboardOnLeaveServertPlayerViewCacheTubetOnPlayerLogOutRSRR4R/R&RRRAtg_disconnectPlayerRßRR(RRÎt playerControl((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLeaveServers  
 
 
 
(cCs"|tjkrdStj|dS(Ni(RARz(tplayerID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerTick&scCs%|tjkrdStj|dd!S(Niii(ii(RARz(R}((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerPos-scCsQxJtjjƒD]9\}}|d}||dkrtjj|ƒqqWdS(Nii€î6(RARzR‡RL(RÎR}t    leaveInfot    leaveTick((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt"RemoveTimeoutLeaveServerPlayerInfo5s
 
cCs6|tjkr2tjj|ƒtjd|ƒndS(Ns%½øÈë±¾µØÍ¼£¬ÒƳýÉÏ´ÎÔÚ±¾µØÍ¼ÀëÏ߼Ǽ!(RARzRLRR(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¾RTR…RíRªtDef_Player_Dict_DelPackIndex(RtbackPackRXtcurItem((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDelRecylcePackHscCsc|jƒ}|dkrtStj|jƒ|jƒ|jƒ|jƒƒ}|tjkr_tSt    S(N(
R+R8RRRRRRª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||ƒ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ŒRR0R´tpvTruckR+R)R-tSetChangeMapTakeTruckt GetPlayerShoptGetIsStartShopR:RSRCtDoPlayerChangeMapLogicRR RÜR!RR*R³RµR¶R·R¸RRtGetClientLineIDRíRªtDef_Player_Dict_FromMapIDtDef_Player_Dict_FromPosXtDef_Player_Dict_FromPosYtDef_Player_Dict_FromLineIDRRêtDoResetWorldPosAndClearR8tSetTruckt    Disappear(
RRÎt    takeTruckR‹t
playerShopR%tmapIDRRRG((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoPlayerResetWorldPosxsP
    !    9     
    c
Cs8|jtjƒs&tj|dƒdS|jƒtjddƒkr
|jtjƒ}|jtj    ƒ}|jtj
ƒ}|jtj ƒ}|s:tjddiƒ}|s±dS|j ƒ}d}||krå||\}}}q|j ƒ}|d\}}}q:n0|jƒ}|jƒ}|jƒ}|jƒ}||jƒkrtjƒ}|jƒ|jƒ|jƒ}}}ntjd|||f|jƒƒtjƒrêtjƒjƒjƒdkrêtjƒ}    |    jdƒnt ||||t!|ƒ|j"ƒt#j$gks'|j%ƒr4|j&ƒndS(NiRŽit CreateRoleMapis.PlayerLeaveFB MapID = %d, PosX = %d, PosY = %d('RêRªt!Def_Player_Dict_RouteServerInitOKtGameServerRefresht%Set_PlayerRouteServerInitOK_OnLeaveFBR¶R·R¸R—R˜R™RštGetJobtvaluest GetFromMapIDt GetFromPosXt GetFromPosYt GetFromLineIDRR*tGetRebornMapIDt GetRebornMapXt GetRebornMapYR/RßtGameWorldProcesstIsNoPlayerNeedCloseFBRRORRt    GetGameFBtSetIsSafeClosetPlayerResetWorldPosFBRRÏR´RÓtIsMovingt
BeginEvent(
RR RRRGtcreateRoleMapDicttjobt mapInfoListtgameMaptgameFB((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerLeaveFBØsB        )#* 
$ c
Cs@tjƒjƒ}|tjkr%dStjd|ƒtjƒ}tjdƒ}xè|j    ƒD]Ú\}}|r‚||kr‚q^nx³|dD]§}|j
tj |ƒ}xqt dd|ƒD]\}|j
tj ||fƒ}    |jtj ||fdƒ|jtj||    fdƒq½W|jtj |dƒqWq^WdS(Ns3ÖØÖÿç·þ»î¶¯¸±±¾µØÍ¼ÈËÊý·ÖÅäÇé¿öÐÅÏ¢: resetMapID=%stMergeFBPlayerCountii(RR*R¶RªtDef_MergeTransMapIDR/RRýRþR‡tGetGameWorldDictByKeyt Map_WorldKey_MergeFBMapPlayerCntRQtMap_WorldKey_MergeFBMapPlayerIDtSetGameWorldDicttMap_WorldKey_MergeFBPlayerMapID(
t
resetMapIDR t    gameWorldtmergeFBPlayerCntDicttreqMapIDtmapInfot playerMapIDt    playerCnttnumR}((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytResetMergeFBPlayerCntInfos" !c Cs–tjdƒ}||kr|S|jƒ}tjƒ}|jtj||fƒ}|rqtjd||ƒ|S||\}}d}d}    xb|D]Z}
|jtj    |
ƒ} | |krÆ|
}Pn| sß|r”| |kr”| }|
}    q”q”W|s|    }n|r’|jtj    |ƒd} |j
tj    || ƒ|j
tj || f|ƒ|j
tj||f|ƒtj d|||| fƒn|S(NR¼s0ÒѾ­ÓзÖÅä¿ç·þ»î¶¯µØÍ¼£¬Ö±½Ó·µ»Ø£¡playerMapID=%siisN·ÖÅä¿ç·þ»î¶¯Íæ¼ÒËùÊôµØÍ¼: plaeyrID=%s,reqMapID=%s,·ÖÅäMapID=%s,mapPlayerCnt=%s( RýRþRßRRR¾RªRÂRR¿RÁRÀR/( RRÆRÅR}RÄRÈt maxPlayerCntt    mapIDListtminPlayerCounttminPlayerMapIDtmIDtcurMapPlayerCntt mapPlayerCnt((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__GetMergeFBPlayerMapID-s<              c Cs÷tj|ƒ}tjd||||f|jƒƒtjƒrt|}t||ƒ}|sttjd|ƒdSntjƒj    |ƒs§tjd||j
ƒƒdStj |ƒ}tj ||ƒ}|sÔ|n    |j ƒ}tjƒjƒ}    t||||||    ƒtjkrdS|dkr’|dkr’tj|||ƒ}
tj||||
|    ƒ} | sƒtjd||fƒdS| \}}n|jƒr«|jƒnd} t} tjƒj|ƒ}|tjkr|jƒr|jƒtjkrtjd|jƒƒdSt} n| sI|t j!ksI|t"j#dƒkrÔg}|t j$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-ÕÒ²»µ½¿É·ÖÅä½øÈëµÄ¿ç·þ»î¶¯µØÍ¼ID! reqMapID=%ss###·Ç·¨µØÍ¼Êý¾Ý£¬mapID: %sis&δÕÒµ½½øÈ븱±¾×ø±ê£¡mapID=%s,lineID=%ss!·Ç¶Ó³¤£¬ÎÞ·¨·¢Æð½øÈë×é¶Ó¸±±¾ÇëÇó!tMapID_SendToGameServertSealDemonNewbieLineit
funcLineID(+tFBCommontGetRecordMapIDRR/RßR?RÓR9R*t IsMapIDExistRt GetFBIpyDatatGetFBLineIpyDataR¶RRt CheckMoveToFBRntEntFBAskRet_OKtGetFBLineEnterPosInfoRCtOnGetFBEnterPosR´R.RtGetMapFBTypeByMapIDR´tfbtTeamt    GetTeamIDt    GetTeamLVt    tmlLeaderRRªtDef_MapID_SendToGameServerRýRþtDef_FBMapID_SealDemonR·R¸R³tGameLogic_SealDemontCurFBLineBOSSIDtSendToGameServerEnterFB(RR RGRRRÆt    fbIpyDatat fbLineIpyDatat
sceneMapIDRÎtipyEnterPosInfotretPostfbIDtisSendToGameServert    mapFBTypetextendParamListtnewbielineListtbossID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerEnterFBbsb         $        cCstjd|||f|jƒƒ|dkrGtj|||ƒ}n||g}|j|ƒd|}|jtj    dd|t
|ƒƒdS(Ns=SendToGameServerEnterFB mapID=%s,lineID=%s,extendParamList=%ss%sitEnterFB( RR/RR8RCtGetPlayerFBLineIDtextendtGameServer_QueryPlayerByIDRªtqueryType_EnterFBRC(RR RGRÎRòRK((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRé½s       
"c    Cs7tj|||||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ƒntjS|jƒ}    |    t jkr3|r,t
|d|gƒntjS|    t jkr_|rXt
|dƒntjS|    tjkr‹|r„t
|dƒntjSx=tjD]2}
t||
ƒr•|rÀt
|dƒntjSq•Wtjƒjƒt j kråt!} t"j#dƒ} tjƒj$ƒ} | | kr2|| | kr2t%} ntjƒj&|ƒ}|t j krz| t'j(d    dƒkr¹t%} q¹n?tj)| ƒtj)|ƒkr¹t*j+|||ƒr¹t%} q¹n| så|rÛt
|d
|gƒntj,Snt*j-||||ƒs0tj.d |j/ƒƒ|r)t
|dƒntjStjS( sþÅжϿɷñ½øÈ븱±¾£¬°üº¬ÊÖ¶¯¼°Æ¥Åä
    @param isTeamAsk: ÊÇ·ñÊǶÓÎé½øÈëÇëÇóµÄ£¬Ò»°ãÊǶÓÎé״̬Ï£¬¶Ó³¤·¢Æð½øÈ븱±¾£¬ÐèÒª¼ì²é¶ÓÔ±¿É·ñ½øÈ룬´ËʱΪTrue£¬¿É×öһЩ¸½¼Ó´¦Àí
    @note: ²ß»®ÒªÇóÌáʾ°´ÓÅÏȼ¶À´£¬¸±±¾×ÔÉíµÄÌõ¼þÏÞÖÆÓÅÏÈÌáʾ£¬ÆäËû¸½¼ÓÌáʾÓÅÏȼ¶½ÏµÍ
    iisÍæ¼ÒÒѾ­ËÀÍö, ÎÞ·¨½øÈ븱±¾!tSingleEnterDefault SingleEnterPKtSingleEnterGathertCarry_lhs_697674tFBEnableTransportMapR¯tSingleEnterDungeons    OnEnterFBEvent False!(0R×tCheckCanEnterFBCommRnRÝR±RR/tEntFBAskRet_Deadt    PlayerTJGtGetIsTJGR:tEntFBAskRet_TJGRãR´Rät PlayerStatet IsInBossStatetEntFBAskRet_BossStatet IsInPKStatetEntFBAskRet_PKStateRÏRÕtEntFBAskRet_PreparingRtEntFBAskRet_SitRªtDef_Player_Cannot_TransStatetEntFBAskRet_Othert(Def_Player_NotCan_EnterFbPyGameEvenStateRéR*R³RµRRýRþR¶RRàR·R¸RØRCtCanChangeSameDataMapFBtEntFBAskRet_InFBtOnEnterFBEventRRß(RR RGRêRëRÎtisNotifyt    isTeamAsktrett playerActionR#tcanFBMoveToOthertfbEnableTransportMaptcurMapIDt toMapFBType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÜÒst$ 
        
cCs&tjƒjƒ}tj||ƒdS(N(RRRtPlayerGameWallowtDoLogic_WallowOnlineTime(RRÎ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerTickGscCs7|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_tSetSightR0tSetFBFuncLineIDttagServerPrepareOK(RR RRRÖt playerMapInitt    prepareOK((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerResetWorldPosFBLineIDQs.    
 
               
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ßR:R
R*RàR´RµR×RØRÛR¶RýRþR!R"RRµR)tSetAutoTruckStateRnt Def_Out_TruckRCtGetPlayerResetWorldPosFBMsgRíRtResetWorldPosReqRRR"(RR RRRžRïRštcanLockRÖRÎt lastTransTickRìRëtFBMapShuntDictt    shuntList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR³ƒsB    ,  
     ,
cCsI|jtƒtjƒ}|jƒ||_||_tj||ƒdS(N(    t
SetVisibleRR[ttagMCPrepareChangeMapR…R%t
FuncLineIDR^R_(RRìRÖR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR"Ès  
        cCsatjdƒtjƒ}|jƒ|jtjƒ|_|j    tj
ƒ|_ t j ||ƒdS(Ns&֪ͨ¿ªÊ¼Çл»µØÍ¼, NotifyStartChangeMap(RRR[ttagMCStartChangeMapR…RRªRR%RêRR;R^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    GetLineIDR9R*R³R´RµR:t 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¶R>RRßtChPlayertNotifyPlayerMovetResetPlayerPost
SkillShelltProcessMapBuffRR³R¯tOnPlayerLeaveMapCloseFB( RR RRRžRGRšR5texData1RÄt shuntLineID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerResetWorldPos s '#0
cCsÿtj|ƒr)tjd|jƒƒ|S|tjksG|tjkrK|Stj|}|jƒ}|jtj    ƒ}|jtj
ƒ}    |jtj ƒ}
tjd|||||f|ƒ|dkr¤| r|     r|
rt |tj
|dƒtjd||f|ƒn|r t j|ƒr t||||||jƒƒ} | dkr tjƒjƒ} tjd|| f|ƒt j||| || ƒ| Sn|S||krÄtjd|ƒ|Stjddƒ} || kr.| |}i}xK|jƒD](\}}||krqÿn|||<qÿWn|}t|ƒ}tjd    ||fƒ|r‹|t|ƒkr‹tjd
||ƒ|dS|    rÒ|    t|ƒkrÒtjd |    |ƒt |tj
d ƒ|    dS|
r|
t|ƒkrtjd |
|ƒt |tj d ƒ|
dS||kr£tjd||ƒt|||ƒ}|dkr¸| r¸|     r¸|
r¸t |tj |dƒtjd||f|ƒq¸nt||||ƒ}|dkrû|d|krû|d}tjd|||fƒn|S(s§»ñÈ¡ÇÐͼÏß·ID
    ÇÐÏßÓÐÈýÖÖÇé¿ö
    1. Íæ¼ÒÊÖ¶¯Çл»Ïß·£¬ÓÅÏȼ¶×î¸ß
            ¼Ç¼key  Def_Player_Dict_PlayChangeLineID£¬ ÀëÏß³¬¹ý±£»¤Ê±¼äºóÖØÖã¬È·±£¶ÏÏßÖØÁ¬Õý³£¼´¿É
            
    2. ¹¦ÄÜÇл»µ½Ö¸¶¨Ïß·£¬Èç´òboss¡¢´«Ë͵½Ä¿±êÍæ¼ÒÏß·£¨±»»÷ɱÇйýÈ¥°ï棩
            ¼Ç¼key  Def_Player_Dict_FuncChangeLineID£¬ ÀëÏß³¬¹ý±£»¤Ê±¼äºóÖØÖã¬È·±£¶ÏÏßÖØÁ¬Õý³£¼´¿É
            
    3. ³£¹æÇÐͼ
            Ïß·ѡÔñÓÅÏȼ¶: ÊÖ¶¯ÇÐÏ߼Ǽ > ¹¦ÄÜÇÐÏ߼Ǽ > ¸ßµÍÇÐÏ߼Ǽ > ÏµÍ³·ÖÁ÷ÇÐÏß¹æÔò
            
            ÏµÍ³·ÖÁ÷ÇÐÏß¹æÔò: µ±Ç°µØÍ¼Ïß· ¶ÔÓ¦ Ä¿±êµØÍ¼Ïß·ÈËÊý Èç¹ûµ½´ï¶î¶¨Öµ²Å½øÐзÖÁ÷£¬·ÖÁ÷µ½ÈËÊý½ÏÉÙµÄÏß·
            
        ÌØÊâboss·ÖÁ÷: 
        @param bossID: ·ÖÁ÷bossID
    sÍÑ»úµÄÍæ¼Ò²»´¦Àí·ÖÁ÷£¡sD´¦Àí·ÖÁ÷,curMapID=%s,curLineID=%s,tagMapID=%s,tagLineID=%s,bossID=%siÿÿÿÿisI¹¦ÄÜÖ¸¶¨Çл»Ä¿±êÏß·£¬¼Ç¼µ±Ç°Ïß·ºóÐøÇÐÏß±¸ÓÃ! curLineID=%s,tagLineID=%ss&·ÖÁ÷boss, bossID=%s,bossShuntLineID=%ssͬµØÍ¼Çл»×ø±ê²»´¦Àí·ÖÁ÷£¡RŽs,Ä¿±êµØÍ¼¿ÉÓ÷ÖÁ÷Ïß·ÈËÊýÐÅÏ¢: tagMapID=%s,%ss$ÓÐÖ÷¶¯Çл»¹ýÏß·!playChangeLineID=%ss,¹¦ÄÜÓÐÖ¸¶¨¹ýÏß·ÀúÊ·Ïß·,funcChangeLineID=%sis(ÓиßÏßÇеÍÏßÀúÊ·Ïß·,highChangeLineID=%ss!Ä¿±êµØÍ¼²»´æÔÚ¸ÃÏß·,curLineID=%ss?¸ßÏßÇеÍÏߣ¬¼Ç¼µ±Ç°Ïß·ºóÐøÇÐÏß±¸ÓÃ! curLineID=%s,tagLineID=%ssг£¹æ·ÖÁ÷ºóµÄlineIDΪ-1£¬µ«ÊÇÄ¿±êµØÍ¼µ±Ç°Ïß·²»¿ÉÓ㡲»¿É´«Ë͵½¸ÃÏß·£¡curLineID=%s + 1 > tagMapMaxLine(%s), Ç¿ÖÆ·ÖÁ÷µ½Ïß·(shuntLineID=%s)(RRRRRßRAtg_commMapLinePlayerCountDictRêRªR@RARBRíRÜtIsMapNeedBossShuntt__GetBossShuntLineIDtkeysRRtAddBossShuntRelatedPlayerR·t
GetFuncCfgR‡RCt__GetShuntLineID(RRt    curLineIDttagMapIDt    tagLineIDRôttagLinePlayerCountDictR}tplayChangeLineIDtfuncChangeLineIDthighChangeLineIDtbossShuntLineIDRÎt mapLineDictt tagMapMaxLinettagLinePlayerCountShuntDicttktvRN((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRF)sz       !   
   ! 
    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·RURRR¸R8R‡tsort( RRXRaRWR}t mapShuntDicttlineMaxPlayerCountttagLinePlayerCountRGt playerCounttlinePlayerListRN((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRVs(  
 
     +
c Cs |jƒ}|jƒ}d}d}    idggd6dggd6}
tjj|iƒ} t} tjddiƒ} tj    d||||| tj
f|ƒ|| krt d| |dƒ}|dkr||kr|j |ƒtj    d||f|ƒqnx||D]t}||f}tj
j|iƒ}d}d}xu|j ƒD]g\}}|d}||krtqLn|d7}|d}|rL||krL||krL|d7}qLqLW|rØ||    krØ|}    |}n| j|dƒ}|södnd}|
|\}}| r(|dkr(|}n|j||gƒ||g|
|<|sZt} ntj    d|||||    |f|ƒq W|dkr¨tj    d    ||ƒ|S||krä|tjdd
ƒkrätj    d ||ƒ|S| rðdnd}tj    d | |
fƒ|
|\}}|jƒ|d\}}tjd dƒ}||kr|dkrtj    d||f|ƒ|Stj    d|||f|ƒ|S(sz»ñȡĿ±êµØÍ¼boss·ÖÁ÷Ïß·
                ¸ù¾ÝÈËÊý·ÖÁ÷Íæ¼Ò£¬ÓÅÏÈ·ÖÅäµ½»î×ŵÄÏß·
                ¶ÓÎéÎÞÊÓÈκιæÔò£¬Ä¬ÈÏ·ÖÅäµ½¶ÓÎé¶ÓÔ±¶àµÄÄÇÌõÏß
                
                Ç°¶Ë£º
        1.ÔÚÖÐÁ¢µØÍ¼µÄʱºò£¬ÏÔʾµ±Ç°Ïß·BOSSµÄ״̬
        2.ÔÚ³£¹æµØÍ¼µÄʱºò£¬ÏÔÊ¾Íæ¼Ò»÷ɱBOSSµÄCDʱ¼ä
        3.±¾µØÍ¼²»»»Ïߣ¬60Ãë¹æÔò±£³Ö²»±ä
        4.½øÈëBOSSÇøÓòÀˢÐÂBOSS״̬
        
                Íæ¼ÒÔÚ·ÇÖÐÁ¢µØÍ¼£º
                ±¾µØÍ¼²»»»Ïߣ¬60Ãë¹æÔò±£³Ö²»±ä£¨£©
                
                Íæ¼ÒÔÚÖÐÁ¢µØÍ¼
                Ã»ÓÐ60Ãë¹æÔò
                Ö±½Ó·¢´«ËͰü£¬Óɺó¶Ë¾ö¶¨£¨ÓжÓÔ±ÔÚ²»Í¬Ïß·´òͬһֻboss£¬Ôò´«ËÍ£¬·ñÔòmove£©
    iÿÿÿÿiiRŽisnÍæ¼Òboss·ÖÁ÷: playerTeamID=%s,tagMapID=%s,npcID=%s,lineIDList=%s,bossLineStateDict=%s,g_bossShuntPlayerInfo=%ss>    ·Ç1ÏߵĻÏß·²»²ÎÓë·ÖÁ÷: activityLineID=%s,lineIDList=%ssg    lineID=%s,lineBossIsDead=%s,playerCount=%s,teamPlayerCount=%s,hurtTeamMemCount=%s,hurtTeamLineID=%ss,    ·ÖÁ÷µ½¶ÓÓÑÈËÊý¶àµÄÏß· hurtTeamLineID=%sis/    ÖÐÁ¢µØÍ¼ÔÚ±¾µØÍ¼ÖÐĬÈϵ±Ç°Ïß· curLineID=%ss>    boss״̬¶ÔÓ¦Ïß·ÈËÊý: haveAliveLine=%s, ×´Ì¬key0Ϊ»î×Å: %st    BossShunts4    ·ÖÁ÷µ½¿ÕÐÂÏß· shuntBossIsDead=%s,emptyLineID=%ssX    ·ÖÁ÷µ½ÈËÊý×îÉÙµÄÏß· shuntBossIsDead=%s,minPlayerCntLineID=%s,linePlayerCountList=%s(RßRâRAtg_bossShuntLineStateR†RR·R¸RRtg_bossShuntPlayerInfotmaxtremoveR‡R~RRfRU(RRRWRXtnpcIDt
lineIDListR}t playerTeamIDthurtTeamLineIDthurtTeamMemCounttbossLinePlayerDicttbossLineStateDictt haveAliveLinetactivityMapLineDicttactivityLineIDRGR‘tshuntPlayerDictRjtteamPlayerCountt shuntPlayerIDt    shuntInfoRôt shuntTeamIDt lineIsAlivetlineBossIsDeadt emptyLineIDtlinePlayerCountListtshuntBossIsDeadtminPlayerCntLineIDtbossShuntPlayerCountMax((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRR«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
IsValidPosR9R,tGetNearbyPosByDisR/Rß(RRRtroundt
rebornPosXt
rebornPosYRR¹((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 GetPlayerNametSetFBRebornMapIDtSetFBRebornPosXtSetFBRebornPosYRCt OnRebornPlace(RRÎR¹t rebornMapIDRŠR‹thasBornRefreshPointtgameDatatbornRefreshCounttbornListt
fbBornListRXtbornRefreshPointt    bornIndextbRP_PosXtbRP_PosYt bRP_RoundPosthasBornPointInTxtt curPlayerJobtposListtpost    bornRange((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshRebornPoint1    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( tlistR8RR9RtGetMemberCountt    GetMemberRßR±RRRR~(    tcurTeamtcenterXtcenterYtareatisLogt
playerlistRsRXt 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²R8RQR³R´RßR~(RµRºRXR»((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMapTeamMemberû    s     cCs'|tjkr#tjd|ƒn|S(Ns½ðÇ®ÀàÐÍÌîд´íÎó %s(RªtDef_MoneyType_AllRR9(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_PapertGetSilverPaperRntTYPE_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ÇtGetWarehouseSilverPaperRR9(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ÊN
scCs+t|tj||ƒt|||ƒdS(N(RíRªRÒtNotifyPlayerCurrency(RRÓtvalue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPlayerCurrencyT
scCse|tjkrdStj|}|dkr0dS|dkrNt||ƒ}n|j||tƒdS(Ni(RnRÉR8RÊtSendPropertyRefreshR(RRÓRÕt refreshType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÔZ
s   cCsÍg}xdtjD]Y}tj|}|dkr5qntjƒ}||_t||ƒ|_|j|ƒqWtj    ƒ}|j
ƒ|j ƒ|_ |j ƒ|_t|ƒ|_||_tj||ƒdS(N(RnRÉR8R[ttagRefreshTypet RefreshTypeRÊtValueR~ttagObjInfoListRefreshR…RtObjIDRàtObjTypeRCtCountR^R_(Rt
notifyListRÓRØt notifyStructR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyPlayerAllCurrencyg
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(NiRltGoldErrt GoldPaperErrt    SilverErrtSilverPaperErrs¸¶·Ñ½ðÇ®Òì³£ TYPE_Price = %s(RR´RÁRÂRÃRÄRÅRÆRÇRÈRnRÉRÊRR/RßR:R(RRËtPricet
needNotifytneedMoneyCountt
notifyCode((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    HaveMoney…
s2                       cCs|dkrgS|tjtjtjtjgkrZt||||ƒrV||ggSgS|tjkrí|jƒ}|j    ƒ}|||kr«|r§t
|dƒngS||krÇtj|ggS||}tj|gtj|ggSt j d||j ƒƒgSgS(NiRãs¸¶·Ñ½ðÇ®Òì³£ TYPE_Price = %s(R´RÁRÃRÅRÇRëRntTYPE_Price_Gold_Paper_MoneyRÄRÂR:RR/Rß(RRËRçRèRwRvtneedGold((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ƒƒtS|t jkr—||||||g}tj|jƒtj|ƒnt |||||||ƒ|rÒt|d    ||gƒntS(
Nis###---¿ÛÇ®Òì³£ = %sRãt BourseMoneyRäRåRæs¸¶·Ñ½ðÇ®Òì³£ type_Price = %st    LostMoney(!RRR/RßRR´RÁRÂR:tSetGoldRÌRntTYPE_Price_BourseMoneyRªtUnUseInner_CostTypeRoRÖRÃRÄt SetGoldPaperRÅRÆt    SetSilverRÇRÈtSetSilverPaperRÉRÊtMergeServerCanCostTypetPlayerMergeEventtAddMSPlayerEventtDef_MSPEvent_PayMoneyt__PayMoneyAfter(Rt
type_PricetpricetcostTypetinfoDicttquantityt costVIPGoldRt curPlayerGoldt updPlayerGoldtcurBourseMoneytupdBourseMoneytcurPlayerGoldPapertcurPlayerSilvertcurPlayerSilverPapert curCurrencyt    eventInfo((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPayMoneyâ
sj     
                  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_resourceRntDef_UserAction_Money_Use(
RRüRýRþRÿRRt    unitPricet reason_namet    eventName((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRû7 s*/cCs-tj||||ƒtj|||ƒdS(N(tPlayerCostRebatetAddCostRebateGoldtPlayerFairyCeremonyt AddFCCostGold(RRýRþRÿR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR † scCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(R[ttagMCGoldCostReportR…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ƒdS|tjkrÂ|jƒ|tjkrvt|d|gƒdS|j    |jƒ|ƒ|rJt
|t j |ƒt |t j ƒ|d<qJnˆ|tjkr|jƒ|tjkrt|d|gƒdS|j|jƒ|ƒn/|tjkrDt|t|ƒ|ƒn|tjkr|jƒ|tjkrƒt|d|gƒdS|j|jƒ|ƒn­|t jkr,t||ƒ}|tjkrÎdSttj||ƒ}t|||ƒ|t jkrJtj|t j |ƒt!j"|ƒqJntjd||j#ƒƒdS|rx|t j krxt|d||gƒnt$|||||ƒtS(Nis1Íæ¼Ò»ñµÃ½ðÇ®Òì³£ £¬ value = %s , priceType = %s ,t MoneyIsFullRïs½ðÇ®ÀàÐÍ´íÎó, priceType = %sRÌ(%RRR/R´RÁRÂRªtDef_PlayerTotalMoney_GoldR:Rñt    GiveMoneyRnRòRÌRÃRÄRôRÅRõRÆRÇRÈtDef_PlayerTotalMoney_SilverRöRÉRÊtDef_UpperLimit_DWordtminRÖtTYPE_Price_RealmPointRNtDoAddSuccessProgresstSuccType_GetRealmPointR5tEventRespons_GetRealmPointRßt__GiveMoneyAfter(    Rt    priceTypeRÕtgiveTypet addDataDictt    isSysHinttisGiveBourseMoneyR    tupdValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR'ã sP  c    Cs™|tjtjgkr+|tjkr+dS|}|tjkrZtj|}||d<ntj|||||ƒtj    |||d|t
j |ƒdS(NRi( R´RÁRÃRªtDef_GiveMoney_UnknowntDef_GetType_DictRt DR_GiveMoneyRRRntDef_UserAction_Money_Get(RR0RÕR1R2R((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(NiR%s½ðÇ®ÀàÐÍ = %sÌî´íÀ²(RR´RÁRÂRªR&R:RRÃRÄRÅRÇRÈR(RnRÉRÊR)RR/Rß(RR0RÕR    ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt CanGiveMoneym 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(tGetPlayerLVIpyDataRetGetReExp(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 ChangePKValueR:(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(RCRDRoR*RRRßt ClearPKValueRªtDef_SkillID_Redt
SetPKValueR7t FindBuffByIDtAddBuffBySkillType_NoRefurbisht__AddPKValueRedBuffTime(
RtaddValueRÎRFRGt
newPKValuet    addBuffIDt findBuffInfotredBufft addTimeValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyREÎ 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(tGetSkillR7t GetBuffTypet GetLastTimet GetRemainTimeR*RoRªtDef_Max_Buff_RemainTimet SetRemainTimet    BuffSkilltPYSync_RefreshBuffRRRß(RRURVt    buffSkilltbuffTypetaddTimet
remainTimet
resultTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRPê 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(RCRRR7RNRªRLRMRWRZRYRRRRRRRß(Rt
curPKValueRUR_RbtperPKValueTimetpkValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPKValueByRedBuffû s&       #cCs9|jdƒtjƒjƒ}tj|tj|ƒdS(sÇå³ýPKÖµiN(RMRRRR]tDelBuffBySkillIDRªRL(RRÎ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRK s cCstjddƒS(s »ñÈ¡×î´óPKÖµtPKConfigi(R·RU(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRD scCsr|jƒ}|jƒ}tjddiƒ}tj||dƒ}|dkrhtd||fƒ‚dSt|ƒS(Nt LVUPAddPointiis0Íæ¼Ò»ñµÃÉý¼¶ÊôÐÔµãÒì³£, curLV = %s PlayerID = %s(    RReR·R¸RtGetDictValueByRangeKeyR8t    ExceptionR(RR3R°t addPointDictRH((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLvUp_AddPoint! s   c    Cså|jƒ}tjddiƒ}tjddƒ}tjtjƒ}|}|jƒ}x4t    ||dƒD]}|t
j ||dƒ7}qkWi|d6}t j |d||ƒ|j|ƒt
jd|||f|jƒƒdS(    sټӵ㹦ÄÜ¿ªÆô ´¦Àí¸ø×ÔÓÉÊôÐԵ㼰ÀϺŴ¦Àí  
                    Çå³ýÀÏ·þÍæ¼Òδ¼ÓµãµÄµãÊý£¨ÇåÁ㣩£¬ÒÔǰ¼ÓµÄ¼ÓµãÊôÐÔ²»Çå³ý£¬ÊôÐÔ²»±ä£¬Õ½Á¦²»¼õ£¬ ¸ù¾Ý×îеļӵ㿪ÆôµÈ¼¶ºÍÀÏ·þÍæ¼ÒµÄµ±Ç°µÈ¼¶£¬Ïà²îµÄ²îÖµ¸øÓèÍæ¼Ò¶ÔÓ¦µÄ¼ÓµãµãÊýRjiiitbeforeFreePointt AddPointOpensB    ¼Óµã¹¦ÄÜ¿ªÆô´¦Àí  beforeFreePoint=%s,curLV=%s, setFreePoint=%sN(t GetFreePointR·R¸RUt GameFuncCommtGetFuncLimitLVRntGameFuncID_AddPointReRQRRkRt DR_Freepointt SetFreePointRR(    RRoRmt initFreePointtopenLVt setFreePointR°tlvR2((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoAddPointOpen. 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__M s    
cCsix7tdtjƒD]#}d}t||j||ƒqWx(|jD]}t||j|dƒqDWdS(Nii(RQRªtDef_Calc_AllAttrType_MAXtsetattrt_ModuleFightPower__AttrNamet!_ModuleFightPower__NolineAttrListt!_ModuleFightPower__AttrNameNoline(Rt    attrIndexRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR~U s cCs‘|tj}x*|jƒD]\}}|j||ƒqW|tj}xC|jƒD]5\}}||jkrTt||j||ƒqTqTWdS(N(RªtCalcAttr_BattleR‡tAddCalcMFPAttrtCalcAttr_BattleNolineR„R‚R…(Rt allAttrListtbattleAttrDictR†RÕtbattleNolineAttrDict((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCalcMFPBattleAttrb s  cCsCd|kotjknr?|j|}t|||ƒndS(Ni(RªRRƒR‚(RR†RÕtattrName((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCalcMFPAttrp s cCsPd|kotjknrL|j|}t||t||ƒ|ƒndS(Ni(RªRRƒR‚tgetattr(RR†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·RUtevaltFormulaControltGetCompileFormulaRnR)RR9R}t GetMFPAttrStr(1RtfpParamtMaxHPtMinAtktMaxAtktDeftHittMisstAtkSpeedt 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(NRliis%s=%s,(RQRªRRƒRR„R…(RtattrStrR†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|C s                           >RtcBs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(RtiPlayer((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR€á scCs8|jj|ƒ}|s4t|ƒ}||j|<n|S(N(t_PlayerControl__fpTypeObjDictR†R|(RtfpTypetfpObj((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetModuleFightPowerObjè s
 cCs(x!|jjƒD]}|jƒqWdS(N(R
R§R~(Rtobj((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytResetFightPowerObjò scCs^|j}|jƒ}t|ƒ}|dkrZ||}tj|d|ƒ|j|ƒndS(NitLvUP(RRqRnRRuRv(RRt curFreePointRHRy((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DoLVUPAddPointû s       
cCsš|dks|ddkr tS|j|dƒ}|dkrX|jƒtjkrXtS|dkr–tj|ƒtkr–t    j
d|j ƒƒtSntS(Nii
iids´¥·¢·â¾ôÈÎÎñʧ°Ü( Rt FindMissionR8tGetStateRªtDef_Mission_State_OverR5tEventResponse_LVFullRRR/Rß(RRR°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·RU(RRtReincarnation_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|r×t jƒr×tj|jƒtj|ƒn|S(N(Rt_PlayerControl__AddExpR[t tagMCAddExpRªtDef_PerPointValuetExpPointtExptSourceR^R_RR*R³R´RµRCtOnGetExpR?RøRùRßtDef_MSPEvent_AddExp(RtaddExpt expViewTypeR3Rt finalAddExpt expNotifyTypeR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddExp7s         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(NiRit MaxLVExpStoretGeRen_admin_825676s¾­ÑéÒÑÂú£¡ÒÑÂú¼¶£¡curLV=%ss ÎÞ·¨»ñµÃ¾­Ñé(#t GetExpPointRªR#t GetTotalExpR·RURet_PlayerControl__NotifyExpFullRRRßRntDef_ViewExpType_KillNPCRtDef_PlayerKey_TotalExpRateRIt!GetPassiveSkillValueByTriggerTypeR8tTriggerType_AddExpRatetDef_ViewExpType_KillNPCSupertDef_ViewExpType_GameEventtDef_ViewExpType_SittGetGameEventExpRateRoRt
GetExpRatetDef_MaxRateValueRRRtChangeExpByWallowR*t SetExpPointt SetTotalExpt
PlayerLvUp(RRR)R*R3t curTotalExptmaxLVt maxLVExpStoreR°texp_ratet    superRatettotalExptcurExptexpPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__AddExpMsH 
 
 
 
$
    cCs?|jtjƒ}|s;t||ƒ|jtjdƒndS(Ni(RRªtDef_PlayerKey_ExpFullNotifyR:R
(RRtexpFullNotifyMarktexpFullNotifyState((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__NotifyExpFullÇs
 cCsZ|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    ||krE||    krEt}|d}t}|dkr€t }n|j||ƒtj|ƒtj||jƒt|ƒ|ƒ|jƒt|jƒƒ}|r|jƒ}|rt}tj ||ƒqnt!j"|ƒ||}t#|ƒ}|dkr=Pq=q=W|j$ƒ|rI|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|| krÓ|j|t ƒt%j&|t'j(|ƒn|| krï|j)|ƒn|| kr |j*|ƒn||kr'|j+|ƒn||krC|j,|ƒn||kr_|j-|ƒn|rutj.|ƒnt/j0|ƒt1j2|ƒ|ddkr¯t3j4|ƒn|j5dt6j7ƒt8j9|ƒ|j:|j;ƒƒ|j<ƒdkr
|j=|j<ƒƒnt>j?|ƒt@jA|t'jB|jƒƒtCjD|| |ƒntE||ƒdS(    NitPlayerLVs¾­Ñé±íÒì³£  lv= %sRii2i
t billboardFunc(FRR±R·tGetIpyGameDataReRR9R0RªR#tGetExpR1RRUtBeginRefreshStatetGetXPRqt
GetBaseSTRt
GetBasePNEt
GetBasePHYt
GetBaseCONRtSetLVRtWriteEvent_level_upRtDR_PlayerUpgradetGetPlayerTotalExpt_PlayerControl__DoLVUPAddPointR=tGetTalentPointtPlayerGreatMastertAddGreatMasterSkillPointByLVR5tEventResponse_LVUptGetLVUPTotalExpNeedtEndRefreshStateRNtUptateSuccessProgressRntSuccType_HeroLVRvt
SetBaseSTRt
SetBasePNEt
SetBasePHYt
SetBaseCONtSync_GreatMasterFreeSkillPointRrtDoFuncOpenLogictChEquiptCalcEquips_OutOfPrintt    PlayerPettCalcPetItemAddPlayerAttrtRefreshPlayerAttrStateRvtUpdatePlayerLVBillboardtPlayerWorldAverageLvtUpdatePlayerWorldAverageLvtSetHPtGetMaxHPtGetMaxMPtSetMPRCt OnPlayerLVUptOpenServerCampaigntUpdOpenServerCampaignRecordDatatDef_Campaign_Type_LVtFunctionNPCCommontMysticalShopOpentSetPlayerTotalExp(RthandLvUpRR?t lvUpNeedExpRAtneedSyncTalentPointtplayerNeedDoLVUpR°RBtbefXPtbefLVt befFreePointt
befBaseSTRt
befBasePNEt
befBasePHYt
befBaseCONtisNotifyServertaddTalentPointtaftLVt aftFreePointt
aftBaseSTRt
aftBasePNEt
aftBasePHYt
aftBaseCON((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR@Ós¦       
 
      "
 
 
                 c Cs>|jƒ}|jƒ}tjd|dƒ}tjd|dƒ}|sbtjd||ƒdS|s€tjd||ƒdS|jƒ}|jƒ}|jƒ}|j    ƒ}    |j
ƒ}
|j ƒ} |j ƒ} |j ƒ} |jƒ}tjd|| || || |    ||
f    ƒgtdƒD] }i^q%}tjddƒ}||kr‰x1||jƒD]\}}t|||ƒqfWnxL|jƒD]>\}}ttjd    ||f|ƒƒ}t|||ƒq–WxL|jƒD]>\}}ttjd
||f|ƒƒ}t|||ƒqåWt|tj|ƒdS( Ns
LVUPAttr%sis PointAttr%ssÎÞ´ËÖ°ÒµµÈ¼¶Ë¢ÊôÐÔÅäÖÃ!job=%ssÎÞ´ËÖ°ÒµÊôÐÔµãË¢ÊôÐÔÅäÖÃ!job=%ssFCalcRoleBaseAttr LV=%s,STR=(%s~%s),PNE=(%s~%s),PHY=(%s~%s),CON=(%s~%s)itCreatRoleBaseAttrs LVUPAttr%s_%ssPointAttr%s_%s(RR¦R·R¸RR9RetGetSTRtGetPNEtGetPHYtGetCONRTRURVRWRRR‡tCalcAttrDict_TypeRÐRÑRÒtSetCalcAttrListValueRªtDef_CalcAttrFunc_RoleBase(RRR3R·t
lvAttrDictt pointAttrDicttLVtSTRtPNEtPHYtCONtbaseSTRtbasePNEtbasePHYtbaseCONt_RŠtroleBaseAttrDictt    attrEffIDRÕtformulat    calcValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcRoleBaseAttrfsD               # ""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    EffGetSettGetValueByEffIndexExR[RÙRÚRÛR~RÜR…RRÝRàRÞRCRßR^R_R)RR
(RtplayerStateDictRtnotifySelfListt 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!!!(RRtRefreshPlayerActionStateRo(Rt
isSyncBuffROtisForce((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRuÔs 
cCs2tjdƒ|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%|ƒ|j&dt'ƒtjdƒdS(NsStart ReCalcAllState!!!R·sEnd ReCalcAllState!!!((RRRRªtCalcAttrFuncListtClearCalcAttrListValuetRefreshAllSkillRktRefreshPlayerEquipAttributet
PlayerWingt CalcWingAttrR2tCalcHorseAttrExtPlayerPrestigeSystCalcOfficialRankAttrtPlayerGodWeapontCalcGodWeaponAttrtPlayerDienstgradtCalcAllDienstgradAttrRmRnt
PlayerRunetRefreshRuneAttrtPlayerMagicWeapontCalcMagicWeaponAttrtCalcMagicWeaponSoulAttrRNtCalcSuccessAttrt    PlayerVipt CalcVIPAttrtPlayerRefineStovet CalcStoveAttrtPlayerFamilyTechtCalcFamilyTechAttrtPlayerEquipDecomposet RefreshEDAttrt
PlayerDogztRefreshDogzAttrRuR(RRt    funcIndex((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytReCalcAllStateàs0     
                 cCs3|j}|jtjdƒ|r/|jƒntS(Ni(RR
RªtDef_Player_RefreshAttrByBufftRefreshPlayerAttrByBuffExR(RR·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×RRRtt GetSpeedValueRQRtupdateR«tGetValueByEffIndexRRtRestorePlayerFuncAttrt_PlayerControl__RefreshBuffAttrt'_PlayerControl__DoRefreshAttrAfterLogicR
(RRt 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_RefreshAttrRAtg_refreshAttrBillboardFuncR~tRefreshPlayerAttrStateEx(RROR·R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRo1s     cCsld}xHtdtjƒD]4}tj||ƒ}|rd|||f}qqWtjd||fƒdS(NRlis%s,%s=%ss%s AttrInfo=%s(RQRªRR«RÜRR(RRtmarktattrInfoR#RÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    PrintAttr=sc/CsV    |j}|jtjƒdkr%tStjdƒ|jƒ}t|ƒ}t    |ƒ}i}x:t
dtj ƒD]&}|j it j||ƒ|6ƒqoW|jƒ|jƒ|jƒi}i}gtdƒD] }    i^qÐ}
g} xÉtjD]¾} | tjkr3| jgtdƒD] }    i^qƒqòn| tjkrU| j|
ƒqònt|| ƒ} tjd| | fƒ| j| ƒt|| tjƒt|| tjƒqòW|sÀ|rútjd||fƒtj||ƒtj||ƒn|j|ƒt|tjƒ}
|
| tj<tjdtj|
fƒt | tj!| tj"| tj#gƒ}t | tj|| tj$gƒ}i|tj%6|tj&6|tj'6|tj(6|tj)6|tj*6| tj!tj+6| tj#tj,6| tj"tj-6| tj"tj.6| tj/tj06| tj/tj16| tj2tj36| tj2tj46| tj2tj56| tj6tj76| tj8tj96| tj:tj;6| tj<tj=6| tj>tj?6| tj$tj@6}i}xtA| ƒD]\}}|tjB}|sqáni}xÃ|jCƒD]µ\}}||ks|tjDkrFqn|tEtjFƒ}tjD|}||tjG}xT|D]L}||kr–q~n||}tH||ƒ}|jI|dƒ|||<q~WqW|rá|||<qáqáWtjd|ƒx5|jCƒD]'\}}tjJ| |tjG|ƒqWg}gg}} xStA| ƒD]E\} } | tjKkrŠ|j| ƒ|j| ƒqR| j| ƒqRWt |ƒ}!tjd|ƒtjd    |!ƒt | ƒ}"tjd
tjKƒtjd |"ƒi}#xtjLjCƒD]\}$}%tM|%ƒdkr?| |%d}&n#t g|%D]}| |^qIƒ}&|jN|$ƒ}'|'jO|&ƒ|&tjB|#|'<qWgtdƒD] }    i^q }(tPjQ||(ƒx,tjD]!} t |(t|| ƒgƒ}(qÌWtjd |(ƒi})t|)|!tjBƒt|)|"tjBƒt|)|(tjBƒtjd |)ƒtj||!tjGƒtj||)|#ƒ|jRƒ}*tSjTd|*ƒ}+i},xŒ|#jUƒD]~}'|+sÂdn |'jV|+ƒ|,|'jW<|,|'jW|jtjX|'jWƒ|,|'jW<|,|'jW|jtjY|'jWƒ|,|'jW<q°Wtj||"tjGƒtj||(tjGƒ|jZ|ƒt j[|ƒ|j\ƒ|j]|||ƒ|j^||ƒ|j_||,ƒtMt`jaƒ}-xV|-dkr    t`jar    |-d8}-t`jajbdƒ}.tjd|.ƒ|.|dtcƒqÉW|jdtjdƒ|jdtjedƒtjdƒtcS(s« ±¾ÏîĿˢÊôÐÔ¹æÔò
                ¹¦ÄÜÊôÐԲ㼶һ(ÏßÐԲ㼶¡¢·ÇÏßÐԲ㼶)
                ¹¦ÄÜÊôÐԲ㼶¶þ(ÏßÐԲ㼶¡¢·ÇÏßÐԲ㼶)
                ...
                ¹Ì¶¨ÊôÐԲ㼶
              buff²ã¼¶
              
            1. ³õʼ»¯
            
            ¹¦ÄÜÊôÐԲ㼶һ¡¢
            2.»ù´¡ÊôÐÔ¼ÆËã
            3.Õ½¶·ÊôÐÔ¼ÆËã
                ÏßÐԲ㼶ÊôÐÔ:  »ù´¡²ã¼¶ÊôÐÔ + ¹¦Äܲ㼶ÊôÐÔ
                    »ù´¡²ã¼¶ÊôÐÔ£º½ÇÉ«»ù´¡ÊôÐÔ£¨µÈ¼¶ÌáÉý + ÊôÐÔµãÌáÉý£© + ×°±¸ÎïÆ·±í»ù´¡ÊôÐÔ + ²¿Î»Ç¿»¯»ù´¡ÊôÐÔ
                    ¹¦Äܲ㼶ÊôÐÔ£ºÉñ±ø + ×øÆï + È«Éí²¿Î»Ç¿»¯ÐǼ¶ÀÛ¼Ó + Õ䯷 + Ê±×° + Ì××° + ±¦Ê¯ + Õ½Ã˿Ƽ¼ + ·ûÎÄ + ÊØ»¤ µÈ
                    
                                    ×¢Ò⣺¸Ã²ãÖл¹°üº¬Õë¶Ô»ù´¡ÊôÐÔ»ò¹¦ÄÜÊôÐÔµÄÊýÖµ°Ù·Ö±ÈÌáÉý£¬´ËÌáÉýÖµÒ²ÊÇÀÛ¼Óµ½ÏßÐԲ㼶ÊôÐÔ
                                    Èç: ¡¾»ù´¡¹¥»÷°Ù·Ö±È¡¿¼´¶Ô »ù´¡ÊôÐÔ Öй¥»÷ÊôÐÔ°Ù·Ö±ÈÌáÉý
                                    ¡¾Éñ±øÉúÃüÊôÐ԰ٷֱȡ¿¼´¶Ô Éñ±ø¹¦ÄÜÊôÐÔ ÖÐÉúÃüÊôÐÔ°Ù·Ö±ÈÌáÉý
                                    ÀàËÆ´ËÀàÊôÐÔ²¢²»ÊÇÕæÕýÒâÒåÉϵķÇÏßÐÔÊôÐÔ£¬½öÊǶÔij¸ö¹¦ÄÜ»ò¹¦ÄÜ×éµÄ¶ÔÓ¦ÊôÐÔ½øÐаٷֱÈÌáÉý£¬×îÖÕµÄÌáÉýÖµ»¹ÊÇËãÈçÏßÐÔÊôÐÔ²ã
                    
                ·ÇÏßÐԲ㼶ÊôÐÔ: ¼´ÕûÌå²ã¼¶°Ù·Ö±ÈÔö¼ÓÊôÐÔ
                    Ö±½ÓÒÔµ±Ç°ÊôÐÔΪ»ùÖµ½øÐÐÊôÐÔ°Ù·Ö±ÈÌáÉý
            ¹¦ÄÜÊôÐԲ㼶¶þ¡¢
            ...
              
            4.¹Ì¶¨ÊôÐÔ:
                    ¸½¼ÓµÄ¹Ì¶¨ÖµÊôÐÔ£¬¸ÃÊôÐÔÔÚ·ÇÏßÐÔ¼ÆËãÖ®ºó£¬Ö±½ÓÀÛ¼Ó£¬²»ËãÈë·ÇÏßÐÔÊôÐԵĻùÖµ
            
            5.¼ÆËãÒÔÉÏËùÓÐÊôÐÔµÄÕ½¶·Á¦
            
            6.buff²ã¼¶£º
                    ¹Ì¶¨Öµbuff£¬ Ö±½ÓÀÛ¼ÓÊýÖµ
                    °Ù·Ö±Èbuff£º ÕæÕýµÄ×î×î×îÍâ²ã£¬Ö±½Ó°´°Ù·Ö±ÈÌáÉý¶ÔÓ¦µÄÊôÐÔÖµ
                    ×¢£º¸Ã²ãÌáÉýµÄÊôÐÔ²»ËãÕ½¶·Á¦
        is!Start RefreshPlayerAttrStateEx!!!is¹¦ÄܵãÊôÐÔ: %s, %ss1¹¦Äܸ½¼Óµã: baseAttrDict=%s,baseAttrNolineDict=%sis½»²æÓ°ÏìÊôÐÔ: %ssÕûÌå²ã¼¶¹¦Äܵã: %ssÕûÌå²ã¼¶ÏßÐÔÊôÐÔ: %ss¸½¼Ó²ã¼¶¹¦Äܵã: %ss¸½¼Ó²ã¼¶ÏßÐÔÊôÐÔ: %ssÎÞÕ½Á¦±»¶¯ÊôÐÔ: %ss×îÖÕ·ÇÏßÐÔÊôÐÔ: %stFightPowerParams»Øµ÷ÅÅÐаñ: %st isForceUpdatesEnd RefreshPlayerAttrStateEx!!!(fRRRªRâRRRRtRÚt GetMaxProDefRQRRÛR«RÜRRRtInitPlayerStateRR¸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‡tFuncNoLinearAttrDictRR<R‡RR†t AddDictValuetCalcAttrExFuncListtMFPTypeAttrFuncIndexDictRCR RRJtCalcPassiveAttr_EffectReR·RPRSRR}tDef_PlayerKey_MFPSkilltDef_PlayerKey_MFPExt _PlayerControl__RefreshMaxProDeftCopyPlayerFuncAttrRÞRßt_PlayerControl__SyncBaseAttrtSendModuleFightPowerPackRARãRLRR
R×(/RRRàRátbeforeMaxProDefR­R#t baseAttrDicttbaseAttrNolineDictR¤troleBaseAttrInfotfuncAttrInfoListRÕRætequipBaseAttrListt baseAttrListtfuncAttrPerInfotfuncAddAttrPerInfoDictRXt funcAttrListtbattleNoLineAttrDictt addAttrDicttnoLineAttrTypet
addAttrPertattrRatetaddAttrTypeListt useAttrDictR²t    baseValueRQtallFuncAttrIndexListtallFuncAttrInfoListtattrInfoExListRŠt allAttrExListtmfpObjAttrDictR}tattrFuncIndexListt mfpAttrListtmfpObjtskillNoFightPowerAttrListtallNoLineAttrDictR°RÔtmfpDictt billFuncCntRO((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRäFs"%        $
 
 
&      
 
 
 
 
 
 
"    #  "+/  
 
 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(RtGetProDefHPPerRtR·RURÐRÑRÒt SetMaxProDefRRêRot    GetProDefRÏR´tpaDiet    SetProDefR*(
RR"RtmaxHPt    proDefPerR@t    maxProDeftafterMaxProDefRQt    curProDef((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RefreshMaxProDefXs         - cCsÄ|j}gtdƒD] }i^q}tj||ƒtj||ƒ|tj}tj    ||dt
ƒ|tj }t j ||dt
ƒ|j|ƒ|jƒtjd|ƒ|jƒdS(Nit
isBuffAttrsBuff²ãÊôÐÔ: %s(RRRJtCalcBuffers_EffecttGameLogic_DuJietCalcDujieFBAttrAddRªR‰RóRôRR‡RñRòt _PlayerControl__RefreshMoveSpeedt_PlayerControl__SetAtkIntervalRRt_PlayerControl__DoRefreshGMAttr(RRR¤tallAttrListBuffstbattleNolineAttrBufftbattleAttrBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RefreshBuffAttrrs       
 
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 R8RQtGetGMAttrByIndext
GetIsValidt
GetGMMaxLVRet
GetGMAccIDtGetAttrSpecDictt    GetAttrLVt
GetAttrPerR=Rt
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‡RRLR–R‡R«tSetValueByEffIndext GetAttrExDictRñRòRt GetGMAttrID(RRtplatformt
ipyDataMgrt playerAccIDt    gmIpyDatat commIpyDataRXtipyDatatgmMaxLVtgmAccIDt setAttrDictt specAttrDicttattrLVtattrPerR?R²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(RRtRoRÏR´RDRsR*R±RbR´RÚt SetSpeedValuet_PlayerControl__RestoreHPMPtSync_ExpRateChange(RRà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_BaseAtkMinRntCDBPlayerRefresh_BaseAtkMinR“tDef_PlayerKey_BaseAtkMaxtCDBPlayerRefresh_BaseAtkMaxR”tDef_PlayerKey_BaseMaxHPtCDBPlayerRefresh_BaseMaxHPR’tDef_PlayerKey_BaseDeftCDBPlayerRefresh_BaseDefR•tDef_PlayerKey_BaseHittCDBPlayerRefresh_BaseHitR–tDef_PlayerKey_BaseMisstCDBPlayerRefresh_BaseMissR˜R‡R†RR
R[RÙRÚRÛR~RÜR…RRÝRàRÞRCRßR^R_(RRR(tbaseBattleAttrDicttattrTypeKeyDictt notifySListR²RætattrKeyRØR3t curBaseValueRáR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SyncBaseAttr s6             
    cCsÕ|j}|jƒ}x(tjD]}|jtj|dƒqWxtd|jƒƒD]j}|j    |ƒ}tj
j |j ƒtj ƒ}|jtj|ƒ}|jtj|||jƒƒqVWtj|ƒdS(Ni(RtGetSkillManagerRntModuleFightPowerTypeListR
RªRRt GetSkillCounttGetSkillByIndextDef_SkillFuncType_MFPTypeR†t GetFuncTypetDef_MFPType_RoleRt GetFightPowerRmtSetPetSkillFightPower(RRt skillManagerR}RXtcurSkilltskillMFP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRº3s     % 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¾RnR¿RÀRRR
RoRRßRo(    RtskillIDtbeforeFightPowertisRefreshStateRRÃR}t addFightPowerRÄ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshSkillFightPowerExIs    $    $ cCsdS(N((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcPassiveBuffAttr`sc
Csªg}d}tjdtjƒtjd|ƒxi|jƒD][\}}t|||ƒtjƒ}|jƒ||_    ||_
|j |ƒ||7}q>W|t j krÒtjd||jƒƒt j }ntjƒ}|jƒ||_t|ƒ|_||_tj||ƒ|j|tƒ|jtjdtjƒ}    ||    krlt|tj|tjƒntjd||    fƒtj|ƒtj |t j!|ƒdS(NisÕ½Á¦¹¦Äܵã: %ss Ä£¿éÕ½Á¦: %ss&×ÜÕ½Á¦³¬¹ýÊýÖµÉÏÏÞ£¡totalFightPower=%ss×ÜÕ½Á¦: %s, ÀúÊ·×î¸ßÕ½Á¦: %s("RRRªRR‡tSetMFPFightPowerR[ttagMCModuleFightPowerR…tMfpTypet
FightPowerR~RnR)R9RßttagMCModuleFightPowerInfotTotalFightPowerRCtMFPCnttMFPListR^R_t SetFightPowerRRêtDef_PDict_FightPower_HighesttDef_PDictType_FightPowerRíRvtUpdatePlayerFPTotalBillboardRxRytDef_Campaign_Type_FightPower(
RRR>t mfpDataListRR}t
fightPowertmfpDatatmfpInfothighestFightPower((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR!ls> 
           
            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·RUR)R*RRtGetSpeedNotBuffR0R´R1RRªtDef_PlayerKey_SpeedHorseR‡R‰R†R®RRnR<RRoRÚR¡RÐRÑRÒtSetSpeedt    GetPetMgrt GetFightPet( RRSRtmoveSpeedFormattspeedt
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·RURÐRÑRÒtSetAtkInterval(RRtatkSpeedR§t atkInterval((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetAtkIntervalÂs      $ cCs4tjdƒ|j}tj|ƒtj|ƒdS(Ns!Start RefreshPlayerActionState!!!(RRRtOperControlManagertClearObjActionStateRJtCalcBuffer_ActionState(RR((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(RRt 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±RtRs(RRt curPlayerHPtcurPlayerMaxHP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt __RestoreHPMPüs        cCst|j}|jƒi
|jƒtj6|jƒtj6|jƒtj6|j    ƒtj
6tj tj 6t jƒjƒtj6t jƒjƒtj6t jƒjƒtj6tjtj6tjtj6}xgtdtjƒD]S}|tjtjgkrùqÕn||kr dn||}tj|||ƒqÕW|jƒtjkrT|jtjƒn|jƒsp|j t!ƒnt!S(Nii("RtClearBattleEffectRTRªtTYPE_Calc_AttrCurSTRRUtTYPE_Calc_AttrCurPNERVtTYPE_Calc_AttrCurPHYRWtTYPE_Calc_AttrCurCONtDef_BaseAtkSpeedRšRRR;tTYPE_Calc_AttrFightExpRatetTYPE_Calc_AttrGameExpRatetTYPE_Calc_AttrPetExpRateR<tTYPE_Calc_HitSucessRatetTYPE_Calc_CurePerRQRtTYPE_Calc_AttrHPtTYPE_Calc_AttrMPR«RŽt GetPickupDisttDef_RolePickupItemDistt SetPickupDistt GetCanAttackt SetCanAttackR(RRt initAttrDictRXRÕ((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(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInitMapBuffStateDs    '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tGetFBRebornMapIDtGetFBRebornPosXtGetFBRebornPosYR:R/RßR¶RIROR(RRRñRŸRŠR‹((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetToBornPlaceRs$           cCsÄ|j}tj|ƒt|ƒ|jƒt|ƒtj|ƒtj|ƒ|j    ƒ|j
ƒdkrz|j dƒnt j |ƒ|j|ƒt jƒjƒ}t|ƒtj||ƒdS(Ni(RRCR tReSetPlayerStatet#_PlayerControl__PlayerDeadClearBuffR&RrtReCallFightPetR)tClearUseSkillRecR±RsRtClearPlayerPosCounttSetPlayerDeadCntRRRtPlayerTJGReborn(RRRÎ((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_DeadTimeRttimeR7RNtDef_SkillID_ReviveTiredRWt
GetSkillLVt GetSkillMaxLVtNotifyPlayerDeadTime(RRtfindBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR)·s *! cCs–tj|tjƒd}|r’|jƒjƒ|jƒjƒkr’|jtjƒr’|jtj    ƒ}t
j ƒ}||_ t j||ƒq’ndS(Ni(R7RNRªR-RWR.R/RêtDef_PDict_IsAddReviveTiredR+R[ttagMCPlayerDeadTimetDeadTimeR^R_(RRR1tlastDeadTimeTicktpackData((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR0æ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(RRRRRhRitClearBuffByDieRkRlRmRgRnRoRp(RRRÎ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerDeadClearBuffös    (1RRR8RR
R€R RR\t!_PlayerControl__LVUpDoInvestitureR RntDef_ViewExpType_MissionRR-R!R2RR@R©R´RuRÖRÙRØRoRçRäRRÞRRRßR RºRÊRËR!RPRQRµt"_PlayerControl__SetPlayerStateInDBR¢RëRR#RR)R0R%(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRtØ 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ßRItGetPassiveEffManagert GetPassiveEfft GetBuffCounttGetBuffRR/R~RWt
GetSkillIDt DelBuffInfotDeleteBuffByIndexRJtClearBuffEffectBySkillIDList(    Rt    buffStatet funcClearBuffRÎR3R#tbuffSkillIDListt
passiveEfftcurBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRh s& 
 
cCs |jƒ}|jƒt@dkS(Ni(RWtGetDieContinuetDef_Buff_Clear_Die(RHtskill((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR73s cCs |jƒ}|jƒt@dkS(Ni(RWRItDef_Buff_Clear_Disconnect(RHRK((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRj;s c    CsJtjƒ}|j|ƒsFtjd||jƒƒt|dƒtS|j|ƒ}tj||j    ƒƒs~t|dƒtS|j
|ƒt j kr§t|dƒtSt ||ƒsºtSt|ƒ}tjdƒ}d}xB|jƒD]4\}}||krqèn||krtS|}qèW|dkrFt|d||gƒtStS(Ns###·Ç·¨µØÍ¼Êý¾Ý£¬mapID: %sRtEnemy_State_No_TranstCarry_lhs_306641tTransportMapLineCheckitCarry_yeqian_0(RR*RÙR9RßR:RtGetCountryByMapIDtIsSameCountry_Namet
GetCountryRàR´Rµt CanEnterMaptGetPlayerLineIDRýRþR‡R(    RRÀR¹t
mapCountryt    mapLineIDtmapLineCheckDicttcanEnterLineIDRGRÍ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckTagCountryEs6  
 
 cCst|||ƒstStS(N(tCheckLVCanEnterMapRR(RRÀt    isShowSys((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRTƒ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
GetMapByIDReR:Rt GetTreasureIDt    IsMapOpenRR(RRÀR\tmapDatatenterLVt openMapStep((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR[’s  cCs6tj|ƒ}|stS||jdƒkr2tStS(NtOpenMap(t QuestCommontGetCommonMissionRt GetPropertyR(RRdt    mission_1((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRa¤s cCs„|jƒ}|tjkr,t|dƒtS|jƒrE|jƒn|tjkrat    |ƒnt
j |tj tj ƒs€tStS(NRþ(RÏRªR R:RR´R.R´RRÐRôtIsObjCanDoActiontDef_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(
RRRRR]RhRªtDef_SkillID_LimitSuperBuffRtRÙ(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    paProduceR]RhRª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´tpaTradeR9R:RÒR5R=t paGameEventtPlayerGameEventt StopGameEventRÕRÖR0R1R2R3RR‘R)R-R+RÄRÿR8(RRÎRÚtcurPlayerVehicle((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR$þs$   
 cCs$|jƒstS|jƒr tStS(N(RRt GetIsLoginOffR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__CanPullPlayer+s
  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.pytIsPlanStateNull8s  
cCstj}|tjjƒkr"dS|jƒj|ƒ}tjj|ƒtj}tj    |j
|ƒ}|j |ƒ|j ƒdS(N( R´trptItemRªtDef_Type_CanBuyPack_PlayerDictRSR»R¼R†tDef_PlayerPackDict_Index_KeytDef_PlayerFirstLoginOpenBackCntRêtSetCounttSync_PackCanUseCount(RRetcurPacktkeyNametcount((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt Init_ItemPackTs     
cCstj}|tjjƒkr"dS|jƒj|ƒ}tjj|ƒtj}tj    |j
|ƒ}|j |ƒ|j ƒdS(N( R´t rptWarehouseRªRRSR»R¼R†R€tDef_FirstLogin_OpenWareHouseCntRêR‚Rƒ(RReR„R…R†((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInit_Warehousems     
cCs6|jƒjtjƒ}|jtjƒ|jƒdS(N(R»R¼Rnt 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ªRR†R€R8RR9R»R¼tDef_PackCnt_WeaponCoatRêR‚Rƒ(RReR…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(RRARQRRRSR8RR£(t playerManagerRXR((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(!tGetPlayerExpRatetGetFightExpRateRqtGetWorldAverageLvExpRateRËtGetPrivilegeValueRªtVIPPrivilege_FightExpRateRAtg_operationActionDictR†RntOperationActionName_ExpRateRRt ActKey_StateR·RPt ActKey_CfgIDRet
GetLVLimitt GetAddExpRateR¶tDef_FBMapID_FamilyInvadeRtDef_PlayerKey_TeamExpRateRoR×tGetAreaRewardMultipleR<R
R4tSync_CurExpRate(Rt totalExpRatet fightExpRatetactExpRateInfot actExpIpyDatatmapExpAddMultiple((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR£²s"  " cCs|jtjƒS(N(RRªR4(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“R8RmRQR>R?RWRtGetEffectCountt    GetEffectt GetEffectIDRªRtGetEffectValuetEffCalcType_LinePlusRì( Rt    limitTypeR¢RDRXRHR_tjt    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¸RR9R‡R”R@tupperRntDef_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.pytGetPlayerBasePointós$                cCsdS(N((RR¿tlogIndexttagIDtparRš((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDataServerMoneyLogscCs:|j|ƒ|jtj|ƒ|jtj|tƒdS(N(tSetGMForbidenTalktSendGameServerRefreshStateRntCDBPlayerRefresh_ForbidenTalkR×R(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¿4s cCs
|jƒS(N(t
GetExAttr1(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetJobRank<scCs |jtj|ƒ|j|ƒS(N(RÀR´tCDBPlayerRefresh_ExAttr1t
SetExAttr1(RtjobRank((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetJobRank=scCst||d|ƒS(Ni
(tSetTeamCheckState(Rt joinReqCheckt inviteCheck((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTeamCheckStateExBscCs|j|ttƒS(N(t
SetExAttr2RR(Rt
checkState((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÈCscCs
|jƒS(N(t
GetExAttr2(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTeamCheckStateDscCs|j|ttƒS(N(t
SetExAttr3R(RRÖ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR)GscCs
|jƒS(N(t
GetExAttr3(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFBFuncLineIDHscCs|jƒtj|jƒS(N(t
GetExAttr6RªR#RÆ(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÆKscCsn|tj}t|tjtjƒ}||jƒkrH|j|ƒn||jƒkrj|j|ƒndS(N(RªR#R*R)RÆRõRÓt
SetExAttr6(Rt totalSilverRxt silverPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRõLs cCs
|jƒS(N(t GetExAttr11(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTodayXianyuanCoinVscCs|j|ttƒS(N(t SetExAttr11RR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTodayXianyuanCoinWscCs|j|jƒ|ttƒS(N(RÙR×RR(RRQ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddTodayXianyuanCoinXscCs
|jƒS(N(t
GetExAttr9(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVIPExpireTime[scCs|j|ttƒS(N(t
SetExAttr9RR(Rt
expireTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetVIPExpireTime\scCs
|jƒS(N(t GetExAttr10(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetChatBubbleBox_scCs|j|ttƒS(N(t SetExAttr10RR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetChatBubbleBox`scCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPrestigecscCsdS(N((RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPrestigedscCs|jtj||ƒdS(N(R
RªtDef_PlayerKey_MFPFightPower(RR}RÚ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÌgscCs|jtj|ƒS(N(RRªRç(RR}((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPFightPowerlscCs|jƒdS(Ni(R>(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRUsscCsœddl}|j|ƒ}|rJ|j|jƒdkrJ|jdƒdS|jtjƒtjkr‹|j    ƒ|kr‡|j|ƒndS|j|ƒdS(Niÿÿÿÿii(
RfRgRhtDef_NewGuyNoSightR(RêRªt#Def_Player_Dict_AutoCheckHack_StatetDef_AutoCheck_State_DangertGetSight(RtsightRft firstMission((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR({s   cCs8|jƒ}|jtjƒtjkr4|d9}n|S(Nid(tGetAtkIntervalRêRªRêRë(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_NPCSPRateR<RRtPlayerAddZhenQi(RtnpcSPt    killCountt
addSPValuet    npcSPRatet    npcHPRate((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddZhenQiByKillNPCšs
   tunknownc    Cs|dkrtSt|ƒ}||}||kr6tSt||ƒtjƒr}|||g}tj|jƒtj    |ƒntS(Ni(
Rt    GetZhenQiRt    SetZhenQiRR?RøRùRßtDef_MSPEvent_AddZhenQi(    RRQt canOverbrimtisSysMsgRt    eventDatat    curZhenQiRÕR
((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRñ­s  
   cCsg|dkrtSt|ƒ}td||ƒ}|dkrVtjd||fƒtSt||ƒtS(NiscurZhenQi = %s, lostValue = %s(RRùRoRR9RRú(Rt    lostValueRRþRÿRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLostZhenQiÌs    cCs|jƒtj|jƒS(N(t
GetExAttr8RªR#t
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ªR#R*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.pytSetVsFightValueòscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVsFightValueøscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVsSportsPointþscCsdS(N((RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetVsSportsPointscCs=t|ƒ}t|td||ƒƒt|d|gƒdS(NitArena_pan_474794(R R RoR:(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 GetLongMaiLVscCsdS(N((RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetLongMaiLVscCsdS(N((RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMergeWarRank$scCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMergeWarRank+scCsa|tjtjgkrdStj||ƒ}|s8dStj|tj}|j|ƒ}|j    ƒ}t
|||ƒ}d}    t ||ƒ|j ƒ}
|jtj |ƒ} |j|ƒ} d} | r×| d} nxƒt|ƒD]u}||d}|j|ƒ}d|krPn|ddkr-qän|d| }||
| krOPn|    d7}    qäW|    S(Nit
OnlineTimei(R´R~RˆtPlayerExpandPackCfgMgrtGetExpandPackCfgRªRR€RêtGetCanAddCountR*RHRXRctGetTotalAddAttrInfoByCountRR8(RRetopenCntRÎtcfgObjR…tcurCounttmaxCanAddCounttforCountR†t
onlineTimetlastAutoOpenPackTickt lastInfoObjt notOnlineTimeRXt    nextCounttinfoObjtneedOnlineTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCanAutoOpenPackCount3s:     cCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHolidayExpRateqscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWorldBossExpRatexscCs|jƒ}t|ƒS(N(RetGetTotalExpByPlayerLv(RR°((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLVUPTotalNeedExp~s cCs t|ƒ}|sdSt|ƒS(Ni(R=Ra(tplayerLVR?((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR(ˆs cCs1tjd|ƒ}|s-tjd|ƒdS|S(NRNs¾­Ñé±íÒì³£  lv= %s(R·RPRR9(R*R?((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR=Žs
cCs%|s
dS|jƒtj|jƒS(Ni(R0RªR#RQ(R?((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRa•scCs%|jƒ}t|ƒ}t||ƒS(N(ReR[tGetRealPlayerLvEx(Rt realPlayerLvRA((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealPlayerLvs  cCsWt|ƒ}|s|Sx:||krR|d7}||8}t|ƒ}|sPqqW|S(Ni(R((R,RAt needTotalExp((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR+¨s 
 
 cCs-|jƒ}|jƒ}|tj|}|S(N(R1R0RªR#(RRFRHttotalMasterExp((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR[¸s  cCsb|tj}|tj}|jƒ|kr<|j|ƒn|jƒ|kr^|j|ƒndS(N(RªR#R0R>R1R?(RRFRGRH((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR}¿s  cCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(R[ttagMCNotifySelectObjR…tTypetIDtisSelectR^R_(RtobjTypetobjIDR3t    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#tattrDictRX((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ªR;(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ªR=R×RntCDBPlayerRefresh_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.pytGetAtkBackHPPer+scCs|j|ƒdS(N(tSetBattleValEx2(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAtkBackHPPer2scCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAtkBackMPPer6scCsdS(N((RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAtkBackMPPer7scCs
|jƒS(N(tGetBattleValEx3(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceSkillCD:scCs?|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.pytSetReduceSkillCD;s
  cCs|jtjƒS(N(RRªRM(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceSkillCDPerAscCs/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.pytGetCommMapExpRateDscCs|jtj|ƒS(N(R
RªRS(RtexpRate((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCommMapExpRateHscCs|jtjƒS(N(RRªtDef_PlayerKey_NPCHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNPCHurtAddPerKscCs-|jtj|ƒ|jtj|tƒdS(N(R
RªRWR×RntCDBPlayerRefresh_NPCHurtAddPerR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetNPCHurtAddPerLscCs|jtjƒS(N(RRªtDef_PlayerKey_JobAHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobAHurtAddPerRscCs|jtj|ƒdS(N(R
RªR[(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobAHurtAddPerSscCs|jtjƒS(N(RRªtDef_PlayerKey_JobBHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobBHurtAddPerUscCs|jtj|ƒdS(N(R
RªR^(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobBHurtAddPerVscCs|jtjƒS(N(RRªtDef_PlayerKey_JobCHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobCHurtAddPerXscCs|jtj|ƒdS(N(R
RªRa(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobCHurtAddPerYscCs|jtjƒS(N(RRªtDef_PlayerKey_NPCAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNPCAtkReducePer]scCs|jtj|ƒdS(N(R
RªRd(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetNPCAtkReducePer^scCs|jtjƒS(N(RRªtDef_PlayerKey_JobAAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobAAtkReducePer`scCs|jtj|ƒdS(N(R
RªRg(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobAAtkReducePerascCs|jtjƒS(N(RRªtDef_PlayerKey_JobBAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobBAtkReducePercscCs|jtj|ƒdS(N(R
RªRj(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobBAtkReducePerdscCs|jtjƒS(N(RRªtDef_PlayerKey_JobCAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobCAtkReducePerfscCs|jtj|ƒdS(N(R
RªRm(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobCAtkReducePergscCs|jtjƒS(N(RRªtDef_PlayerKey_LuckyHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLuckyHitReducePerkscCs|jtj|ƒdS(N(R
RªRp(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLuckyHitReducePerlscCs|jtjƒS(N(RRªtDef_PlayerKey_GreatHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetGreatHitReducePernscCs|jtj|ƒdS(N(R
RªRs(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGreatHitReducePeroscCs|jtjƒS(N(RRªtDef_PlayerKey_SuperHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSuperHitReducePerqscCs-|jtj|ƒ|jtj|tƒdS(N(R
RªRvR×RntCDBPlayerRefresh_SuperHitReduceR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSuperHitReducePerrscCs|jtjƒS(N(RRªt Def_PlayerKey_IgnoreDefReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetIgnoreDefReducePervscCs|jtj|ƒdS(N(R
RªRz(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetIgnoreDefReducePerwscCs|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×Rnt#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×Rnt$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×RntCDBPlayerRefresh_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×RntCDBPlayerRefresh_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×RntCDBPlayerRefresh_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×Rnt 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×RntCDBPlayerRefresh_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 GetBeHurtPerøscCs|jtj|ƒdS(N(R
RªRç(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetBeHurtPerùscCs|jtjƒS(N(RRªtDef_PlayerKey_HorseAtkPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHorseAtkPerüscCs|jtj|ƒdS(N(R
RªRê(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHorseAtkPerýscCs|jtjƒS(N(RRªtDef_PlayerKey_StoneBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetStoneBasePerscCs|jtj|ƒdS(N(R
RªRí(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetStoneBasePerscCs|jtjƒS(N(RRªtDef_PlayerKey_RealmBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealmBasePerscCs|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 SetWingHPPer    scCs|jtjƒS(N(RRªtDef_PlayerKey_SuiteBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSuiteBasePer scCs|jtj|ƒdS(N(R
RªRö(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSuiteBasePer scCs|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.pytSetAddBackHPPerscCs|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.pytSetReduceBackHPPer)scCs|jtjƒS(N(RRªtDef_PlayerKey_AttrFaintRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetFaintRate-scCs-|jtj|ƒ|jtj|tƒdS(N(R
RªRR×RntCDBPlayerRefresh_FaintRateR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetFaintRate.scCs|jtjƒS(N(RRªtDef_PlayerKey_AttrFaintDefRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFaintDefRate2scCs-|jtj|ƒ|jtj|tƒdS(N(R
RªRR×RntCDBPlayerRefresh_FaintDefRateR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFaintDefRate3scCs|jtjƒS(N(RRªtDef_PlayerKey_AttrAtkerFreezed(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAtkerFreezed8scCs|jtj|ƒdS(N(R
RªR
(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAtkerFreezed9scCs|jtjƒS(N(RRªtDef_PlayerKey_AttrAddAngry(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetAddAngry<scCs|jtj|ƒdS(N(R
RªR (RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetAddAngry=scCs|jtjƒS(N(RRªtDef_PlayerKey_AttrComboRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetComboRate@scCs-|jtj|ƒ|jtj|tƒdS(N(R
RªRR×RntCDBPlayerRefresh_ComboRateR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetComboRateAscCs|jtjƒS(N(RRªtDef_PlayerKey_AttrComboDamPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetComboDamPerEscCs-|jtj|ƒ|jtj|tƒdS(N(R
RªRR×RntCDBPlayerRefresh_ComboDamPerR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetComboDamPerFscCs|jtjƒS(N(RRªt Def_PlayerKey_SkillAtkRateReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSkillAtkRateReduceKscCs-|jtj|ƒ|jtj|tƒdS(N(R
RªRR×Rnt#CDBPlayerRefresh_SkillAtkRateReduceR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSkillAtkRateReduceLscCs|jtjƒS(N(RRªtDef_PlayerKey_AttrDamagePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetDamagePerPscCs-|jtj|ƒ|jtj|tƒdS(N(R
RªRR×RntCDBPlayerRefresh_DamagePerR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetDamagePerQscCs|jtjƒS(N(RRªtDef_PlayerKey_AttrDamagePerPVE(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVEUscCs|jtj|ƒdS(N(R
RªR (RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVEVscCs|jtjƒS(N(RRªtDef_PlayerKey_AttrDamagePerPVP(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVPYscCs-|jtj|ƒ|jtj|tƒdS(N(R
RªR#R×RntCDBPlayerRefresh_DamagePerPVPR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVPZscCs|jtjƒS(N(RRªt$Def_PlayerKey_AttrDamagePerPVPReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVPReduce]scCs-|jtj|ƒ|jtj|tƒdS(N(R
RªR'R×Rnt#CDBPlayerRefresh_DamagePerPVPReduceR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVPReduce^scCs|jtjƒS(N(RRªtDef_PlayerKey_AttrHurtPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetHurtPercscCs|jtj|ƒdS(N(R
RªR+(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetHurtPerdscCs|jtjƒS(N(RRªtDef_PlayerKey_AttrXPRestorePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetXPRestorePergscCs|jtj|ƒdS(N(R
RªR.(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetXPRestorePerhscCs|jtjƒS(N(RRªt"Def_PlayerKey_AttrShieldMPCostRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetShieldMPCostRatekscCs|jtj|ƒdS(N(R
RªR1(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetShieldMPCostRatelscCs|jtjƒS(N(RRªtDef_PlayerKey_AttrDamChanceDef(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamChanceDefoscCs-|jtj|ƒ|jtj|tƒdS(N(R
RªR4R×RntCDBPlayerRefresh_DamChanceDefR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamChanceDefpscCs
|jƒS(N(t
GetExAttr4(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRCuscCs|j|ƒdS(N(t
SetExAttr4(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyREvscCs|jtjƒS(N(RRªtDef_PlayerKey_AttrMaxProDef(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRêxscCs-|jtj|ƒ|jtj|tƒdS(N(R
RªR:R×RntCDBPlayerRefresh_MaxProDefR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRByscCs|jtjƒS(N(RRªtDef_PlayerKey_AttrProDefHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRA}scCs|jtj|ƒdS(N(R
RªR<(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ªR>(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ªRA(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ªRD(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPetMaxAtk‹scCs|jtjƒS(N(RRªtDef_PlayerKey_AttrPetDamPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPetDamPerŽscCs-|jtj|ƒ|jtj|tƒdS(N(R
RªRGR×RntCDBPlayerRefresh_PetDamPerR(RRÕ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPetDamPer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ªRK(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ªRN(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ªRQ(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ªRT(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ªRWR•(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íR:RntTYPE_Price_HighLadder_CurrencyRRRtHighLadderTubetSendHighLadderState(RtaddCountRýt    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ªRZRRoRíR:RnR[RRRR\R]R(RtpayCountRýR_R    t updCurrencyRÎ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPayHighLadderCurrencyºs cCsdS(N((RRetallAttrListEquip((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_PerLVAtkRReRRnR<R†R“R”tTYPE_Calc_PerLVMaxHPR’RR‡R|RR9RßRQtDef_MaxAddAttrTypeCnttDef_PlayerKey_CalcAddAttrTypetDef_PlayerKey_CalcAddAttrValueRR
(RRÕRŠR‹taddAtkR¥R†R-t    findIndexR²RRXtaddAttrTypeKeytaddAttrValueKey((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( RR|RR²RRQRhRRªRiRj(
RRÕR¤tattrListt funcIndexListR†R:RXR²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ªtCalcAttrIndexListRQRhRRiRjRî(RRÕRŠR†RXtcurAddAttrTypetcurAddAttrValueR-((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddCalcAttrListValue1s 
cCsŽx‡tjD]|}xsttƒD]e}tj|||f}|j|ƒ}|sRPn|j|dƒ|jtj|||fdƒqWq
WdS(Ni(RªRqRQRhRiRR
Rj(RRÕR†RXRmR²((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¹>s(cCs]gtdƒD] }i^q }x7|D]/}x&tjD]}t||||ƒq6Wq&W|S(Ni(RRªRqRî(RoR¤t addAttrListtaListRX((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRõIs
 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îQs  
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í`s
 cCs†g}tjƒ}|jƒ||_||_||_|j|ƒtjƒ}|jƒt|ƒ|_    ||_
t j ||ƒdS(N( R[ttagMCSyncSingleBlessValueR…R1RÛtMultipleR~ttagMCSyncBlessValueRCtTypeCntt    BlessInfoR^R_(Rt    blessTypeRÕtmultipletitemListt    valuePackR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_BlessValueis 
              
    (ÏRRkRJRªR5R«R2R)R9R;R7tChItemR,RCR¯RÜRƒRýt PlayerGMOperR]RrRôt PlayerFamilyRnRvR¤R´RR[R^RRóRñRÑRÑRÃR¿RxRÁR¼RRqRERR\R×RxRIRwRt PlayerTeHuitGameLogic_XMZZRNRmR^RRrRøR·RÅRNRARÇRçRRËRÍRÏRRR{R#RRfRÓRGRXR!R•RR,RptIPY_NotifyCodeListR“RJRLR RR)R7R:RLRNRDRYRZR_R`RbR{RrR;R¤R¨R®R¹RÃRÉRRÛRÖRïRéRÅRöR÷RÄRRRÐRR RRR&R(R/R4RSRHR`RfRGRqR|R~RR‚RƒR‰RŒR¡R»RËRÓRõRéRÜRR-R³R"RRERORFR8RVRRRŒR¯R±tDef_Team_GetExpScreenDistR¼R½RÀRÌRÑRÊRÖRÔRâRëRîRR RûR R$R RRR6R'R/R:R;R<R@RARJRERPRgRKRDRnR{R|RtRhR7RjRZRTR[RaR²RÊRtR$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èRUR(RïR÷RñRRùRúR    R
R R RRRRRR%R&R'R)R(R=RaR-R+R[R}R7R–RßR<RÚR¡RïRARCRERFRGRIRQRRRTRVRXRZR\R]R_R`RbRcReRfRhRiRkRlRnRoRqRrRtRuRwRyR{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ýRþRRRRRR    R R RRRRRRRRRRR!R"R$R&R(R*R,R-R/R0R2R3R5R7RCRERêRBRAR=R?R@RBRCRERFRHRJRLRMRORPRRRSRURVRXRYR`RcReRhR—RíRtR¹RõRîRíRˆ(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt<module>sš                                                                                       2     & 
          2                    0      %                                2                 Á                          F                          !                             `    A        5[ u    
    2E             ) g     g        Œ    0                              1 ,U    O    +              C    G    +                                                                 •ÿÿÿÿÿÿ;    &        
    >                   -                                        '    (                                        
                                                        
                                                 >            
                                     3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        %    !