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
Ÿx›[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@ddlAZAddlBZBddlCZCddlDZDddlEZEddlFZFddlGZGddlHZHddlIZIddlJZJddlKZKddlLZLddlMZMddlNZNddlOZOejPƒaQdZRdZSd„ZTeUdd„ZVd„ZWgd„ZXgdddgd    „ZYgd
„ZZgd „Z[gd „Z\gd „Z]d„Z^gd„Z_gggggd„Z`gdddd„Zadddd„Zbd„Zcd„Zdd„Zed„Zfd„Zgd„Zhdd„Ziejd„Zkd„Zld„Zmd„Znd„Zod„Zpd „Zqd!„Zrd"„Zsd#„Ztd$„Zud%„Zvd&„ZweUd'„Zxd(„Zyd)„Zzd*„Z{d+„Z|d,„Z}d-„Z~d.„Zd/„Z€d0„Zd1„Z‚d2„Zƒd3„Z„d4„Z…d5„Z†d6„Z‡d7„Zˆd8„Z‰d9„ZŠd:„Z‹d;„ZŒd<„Zd=„ZŽddd>„Zgd?„ZeUejd@„Z‘dA„Z’dB„Z“ddCeUddD„Z”dE„Z•dF„Z–dG„Z—ddCeUddH„Z˜ddI„Z™ešdJ„Z›dK„ZœdL„ZdM„ZždN„ZŸej ejdO„Z¡dP„Z¢dQ„Z£dR„Z¤dS„Z¥dT„Z¦dU„Z§ddV„Z¨dW„Z©eUdX„ZªeUdY„Z«ej¬iddeUdZ„Z­d[„Z®d\„Z¯dd]„Z°d^„Z±d_„Z²d`„Z³ej´ieUeUda„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Âdofdp„ƒYZÃdqfdr„ƒYZÄds„ZÅdt„ZÆdu„ZÇdv„ZÈeUdw„ZÉeUdx„ZÊdy„ZËdz„ZÌd{„ZÍejd|„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ÚdddCd‰„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ïejeUdždCdŸ„ZðdždCd „Zñd¡„Zòd¢„Zód£„Zôd¤„Zõd¥„Zöd¦„Z÷d§„Zød¨„Zùd©„Zúdª„Zûd«„Züd¬„Zýd­„Zþd®„Zÿd¯„Zd°„Zd±„Zd²„Zd³„Zd´„Zdµ„Zd¶„Zd·„Zd¸„Z    d¹„Z
dº„Z d»„Z d¼„Z d½„Zd¾„Zd¿„ZdÀ„ZdÁ„Zd„ZdÄZdĄZdńZdƄZdDŽZdȄZdɄ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€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¼eUeUdl„Z½eUeUdm„Z¾dn„Z¿doZÀdp„ZÁdq„ZÂdr„ZÃds„ZÄdt„ZÅdu„ZÆddv„ZÇddw„ZÈdS(xiÿÿÿÿ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.pytPlayerMoveCheckClientWorldTickos4         $' #  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`.s
 (c    Csst|||||||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 batchGold: [batchGoldPaper, batchGoldPaper, ...]
    @param batchGold: [batchSilver, batchSilver, ...]
    it SendMailBatchsSendMailBatch %s, batchPlayerIDList=%s, batchAddItemList=%s, batchParamList=%s, batchGold=%s, batchGoldPaper=%s, batchSilver=%sN(R@RRARBRCR/(t mailTypeKeytbatchPlayerIDListtbatchAddItemListtbatchParamListt    batchGoldtbatchGoldPapert batchSilvertmsgInfo((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRb7s
 
!(    c    CsT|stj}nd|tj|dtƒf}td|d|||||ƒdS(Ns!<MailTemplate>%s</MailTemplate>%st ensure_asciiti(t ShareDefinetDefaultLackSpaceMailTypetjsontdumpsRtSendMail(Rct playerIDListt addItemListt    paramListtgoldt    goldPapertsilvertcontent((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SendMailByKeyGs
 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, isBindRqs%s(RR?t
isinstancetdicttappendRCt ItemControlertGetAppointItemRealIDt GetItemByDatatGetAppointItemDictDataR9t
ItemCommontGetMailItemDicttCleartgettitemsRARBR@R(ttitleRxtgetDaysRrRsRuRvRwt itemCountDicttcombineItemListtmailItemtitemIDtitemCnttisBindtappointItemObjtkeytcmdList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRqRs<       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.pytCheckEquipCanTranss cCsut|ƒ|jƒt|tƒ|j|ƒ|j|ƒ|j|ƒ|jƒtj    ƒj
ƒ}t ||ƒdS(N( tExitPlayerConfrontingR.tSetIsNeedProcessRtSetPrepareTimetSetPrepareStatet SetPrepareIDtSync_PrepareBeginRRRtDelLimitSuperBuff(Rt prepareTimet prepareTypet    prepareIDttick((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÇs
 
 
 cCsð|jƒ}||krdSt|ƒ|tjkrBt|ƒn|tjkr‘| r‘|tjtjgkr‘t    j
d||j ƒƒdSn|tj kr­t |ƒn|j|ƒ|tjkrÍdSt    jƒjƒ}t||ƒdS(Ns²»Ç¿ÖÆ×ª»»×´Ì¬ %s(tGetPlayerActiont DoPlayerStandR¨tDef_PlayerCancelConfrontingRÂR²tpaEventtpaNulltpaAttackRRRt paPreparingtDoExitPreparingtSetPlayerActionRRRÈ(Rt changeActiont forceChangetcurPlayerActionRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytChangePlayerAction6s$  
    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Ô[s     
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.pytChangePyPlayerActionws 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ÓtGetPrepareStatetpstMissionCollectingRmtDef_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²RÿtStand(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÎ,s
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 DoPlayerDeadJs
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.pytPlayerRefreshPos\sB       $        )        cCs8|r|j||ƒdS|r4|j||ƒdSdS(N(R0t    ChangePos(R t
changePosXt
changePosYtneedResetServerPostneedChangeClientPos((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR scCsag}x6t|jƒƒD]"}|j|ƒ}|j|ƒqWx|D]}tj|ƒqFWdS(N(trangetGetSummonCounttGetSummonNPCAtR|RÚt    SetDeadEx(Rt summon_Listtindext curSummonNPCt    summonNPC((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytKillPlayerSummonNPC.s cCs|jƒ}|tjkS(N(RÍR¨tDef_Player_Can_Transfer_State(RRØ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerCanStateTransfer=s cCsCdStj|ƒr?|jƒ}|jdƒtj||ƒndS(N(t PlayerTrucktGetHaveAutoTrucktGetTrucktSetOwnerR8tPlayerTruckDown(RtcurPlayerTruck((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__TruckPlayerDisconnectJs   cCs,|jƒtjkr(tj|tƒndS(N(tGetPlayerVehicleR²tpvHorset PlayerHorsetPlayerRideHorseDownR(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RidingHorsePlayerDisconnectYscCs}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__PlayerLeaveServerLogicfs2       
      cCs—|jtjƒ}|dkr5|jtj|ƒdS|jtj|ƒ||d}|dkr“|j|jƒ|ƒ|j|jƒ|ƒndS(Niiè(RR¨tDef_PlayerKey_CalcOLTimeTickR
tSetWeekOnlineTimetGetWeekOnlineTimet SetOnlineTimet GetOnlineTime(RRÌt lastCalcTicktdiffSec((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRF¬s  cCs=dStjƒ}|jƒ|jƒ|_tj||ƒdS(N(tChPyNetSendPackttagMCOnLineTimeTotalRƒRVtOnLineTimeTotalt NetPackCommont SendFakePack(RR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSyncOnLineTimeTotalÀs  
cCsPdStjƒ}|jƒ||_|jtj|ƒ|_tj    ||ƒdS(N(
RYttagMCOnlineTimeLastOpenPackRƒtPackTypeRèR¨t$Def_Player_Dict_LastAutoOpenPackTicktLastOnLineTimeR\R](RtpackTypeR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSyncOnLineTimeLastOpenPackÌs 
    cCs|jƒjƒdS(N(t
GetMapBuffRƒ(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyREÙscCsÌt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||j    ƒt|ƒdS(N(
tPlayerClearBuff_Singlet GetBuffStatetClearBuffByDisconnecttGetDeBuffStatetGetAurat
GetIncBuffRetGetActionBuffManagertGetProcessBuffStatetGetProcessDeBuffState(RRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DisconnectClearBufféscCsÇtj||ƒt||ƒt|ƒ}|jƒtj|ƒtj||ƒt    ||t
ƒt |ƒt |ƒt |ƒ||jƒ|jƒgtj|jƒ<tjdtj|jƒƒdS(NsÍæ¼Ò´Ó±¾µØÍ¼ÀëÏß: %s(t
PetControltDoLogic_PetInfo_OnLeaveServerRot PlayerControltRefreshAllStatetPlayerBillboardt"UpdatePlayerBillboardOnLeaveServertPlayerViewCacheTubetOnPlayerLogOutRQRR2R-R$RRR?tg_disconnectPlayerRÝRR(RRÌt playerControl((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLeaveServerÿs  
 
 
 
(cCs"|tjkrdStj|dS(Ni(R?Rx(tplayerID((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerTick scCs%|tjkrdStj|dd!S(Nii(R?Rx(R{((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerPos'scCsQxJtjjƒD]9\}}|d}||dkrtjj|ƒqqWdS(Nii€î6(R?RxR…RJ(RÌR{t    leaveInfot    leaveTick((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt"RemoveTimeoutLeaveServerPlayerInfo-s
 
cCs6|tjkr2tjj|ƒtjd|ƒndS(Ns%½øÈë±¾µØÍ¼£¬ÒƳýÉÏ´ÎÔÚ±¾µØÍ¼ÀëÏ߼Ǽ!(R?RxRJRR(R{((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRemoveLeaveServerPlayerInfo5scCs~|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.pytDelRecylcePack@scCsc|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__GetCanChangeMapSetTruckSs  
cCsVt|ƒ|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ÛW|jƒ|tkrR|jƒ}|dkrR|jdƒ|jƒqRndS(NtGeRen_admin_70569i(tNotifyStartChangeMaptGetChangeMapTakeTruckRRŠRR.R²tpvTruckR)R'R+tSetChangeMapTakeTruckt GetPlayerShoptGetIsStartShopR:RQRAtDoPlayerChangeMapLogicRRRÚRtDoResetWorldPosAndClearR8tSetTruckt    Disappear(RRÌt    takeTruckR‰t
playerShopR#((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoPlayerResetWorldPosps2
    !    
    cCsT|jtjƒs&tj|dƒdS|jƒ}|jƒ}|jƒ}||jƒkr‘t    j
ƒ}|j ƒ|j ƒ|j ƒ}}}nt    jd|||f|jƒƒt    j
ƒjƒrt    jƒjƒjƒdkrt    jƒ}|jdƒnt||||t|jƒƒ|jƒtjgksC|jƒrP|jƒndS(Nis.PlayerLeaveFB MapID = %d, PosX = %d, PosY = %d(RèR¨t!Def_Player_Dict_RouteServerInitOKtGameServerRefresht%Set_PlayerRouteServerInitOK_OnLeaveFBt GetFromMapIDt GetFromPosXt GetFromPosYR´RR*tGetRebornMapIDt GetRebornMapXt GetRebornMapYR/RÝt GetAutoSizeRRORRt    GetGameFBtSetIsSafeClosetPlayerResetWorldPosFBRt GetFromLineIDRÍR²RÑtIsMovingt
BeginEvent(RtmapIDRRtgameMaptgameFB((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerLeaveFB¾s"    )#0 
$ 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.pytResetMergeFBPlayerCntInfoês" !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 CheckMoveToFBRmtEntFBAskRet_OKtGetFBLineEnterPosInfoRAtOnGetFBEnterPosR§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 PlayerEnterFB3sb         $        cCstjd|||f|jƒƒ|dkrGtj|||ƒ}n||g}|j|ƒd|}|jtj    dd|t
|ƒƒdS(Ns=SendToGameServerEnterFB mapID=%s,lineID=%s,extendParamList=%ss%sitEnterFB( RR/RR8RAtGetPlayerFBLineIDtextendtGameServer_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ÈtCheckCanEnterFBCommRmRÎR¯RR/tEntFBAskRet_Deadt    PlayerTJGtGetIsTJGR:tEntFBAskRet_TJGRÔR²RÕt PlayerStatet IsInBossStatetEntFBAskRet_BossStatet IsInPKStatetEntFBAskRet_PKStateRÍRÓtEntFBAskRet_PreparingRÿtEntFBAskRet_SitR¨tDef_Player_Cannot_TransStatetEntFBAskRet_Othert(Def_Player_NotCan_EnterFbPyGameEvenStateRçR*R±R³RRûRüR´RRÑRµR¶RÉRAtCanChangeSameDataMapFBtEntFBAskRet_InFBtOnEnterFBEventRRÝ(RR©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.pytRefreshPlayerTickscCs7|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.pytPlayerResetWorldPosFBLineID"s.    
 
               
Rlc     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'tSetAutoTruckStateRmt Def_Out_TruckRAtGetPlayerResetWorldPosFBMsgRëRtResetWorldPosReqRRR(RR©RRR–RàR˜tcanLockRÇRÌt lastTransTickRÝRÜtFBMapShuntDictt    shuntList((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¥TsB    ,  
     ,
cCsI|jtƒtjƒ}|jƒ||_||_tj||ƒdS(N(    t
SetVisibleRRYttagMCPrepareChangeMapRƒRt
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(RRRYttagMCStartChangeMapRƒRR¨RRRè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     Csætjƒ}    t||    jƒ|    jƒ|||ƒ}
tjd|||
f|jƒƒ|    jƒ|kr¹|
dks†|    jƒ|
kr¹tj|||ƒtj    |tjƒj
ƒƒdSt ||||||
||ƒt j ƒdS(Ns&·ÖÁ÷ mapID=%s,lineID=%s,shuntLineID=%siÿÿÿÿ(RRtGetResetWorldPosShuntLineIDR´R/RRÝtResetPlayerPost
SkillShelltProcessMapBuffRR¥tGameWorldProcesstOnPlayerLeaveMapCloseFB( RR©RRR–RGR˜R&texData1Rµ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ͬµØÍ¼Çл»×ø±ê²»´¦Àí·ÖÁ÷£¡tMapLines,Ä¿±êµØÍ¼¿ÉÓ÷ÖÁ÷Ïß·ÈËÊýÐÅÏ¢: tagMapID=%s,%ss$ÓÐÖ÷¶¯Çл»¹ýÏß·!playChangeLineID=%ss,¹¦ÄÜÓÐÖ¸¶¨¹ýÏß·ÀúÊ·Ïß·,funcChangeLineID=%sis(ÓиßÏßÇеÍÏßÀúÊ·Ïß·,highChangeLineID=%ss!Ä¿±êµØÍ¼²»´æÔÚ¸ÃÏß·,curLineID=%ss?¸ßÏßÇеÍÏߣ¬¼Ç¼µ±Ç°Ïß·ºóÐøÇÐÏß±¸ÓÃ! curLineID=%s,tagLineID=%ssг£¹æ·ÖÁ÷ºóµÄlineIDΪ-1£¬µ«ÊÇÄ¿±êµØÍ¼µ±Ç°Ïß·²»¿ÉÓ㡲»¿É´«Ë͵½¸ÃÏß·£¡curLineID=%s + 1 > tagMapMaxLine(%s), Ç¿ÖÆ·ÖÁ÷µ½Ïß·(shuntLineID=%s)(RôRõRRRÝR?tg_commMapLinePlayerCountDictRèR¨R1R2R3RëRÚtIsMapNeedBossShuntt__GetBossShuntLineIDtkeysRRtAddBossShuntRelatedPlayerRµt
GetFuncCfgR…RCt__GetShuntLineID(RR
t    curLineIDttagMapIDt    tagLineIDRåttagLinePlayerCountDictR{tplayChangeLineIDtfuncChangeLineIDthighChangeLineIDtbossShuntLineIDRÌt mapLineDictt tagMapMaxLinettagLinePlayerCountShuntDicttktvR>((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR7ö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µRFRRR¶R8R…tsort( RRIRRRHR{t mapShuntDicttlineMaxPlayerCountttagLinePlayerCountRGt playerCounttlinePlayerListR>((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRG]s(  
 
     +
c
Cs£|jƒ}|jƒ}d}d}d}g}    tjj|gƒ}
|
} tjd||||| |
tjf|ƒx]|D]U} || f} tjj| iƒ}d}d}xc|jƒD]U}|d}||kráq¿n|d7}|d}|r¿||kr¿|d7}q¿q¿W|r9||kr9|}| }n| |
k}| |kr}tjd| || |||f|ƒqntjd| |||||f|ƒ|sÁ|dkrÔ| }qÔq|    j    || gƒqW|dkrütjd||ƒ|S|    s tjd| |f|ƒ|S|    j
ƒ|    d\}}t j d    d
ƒ}||kr‚|dkr‚tjd | |f|ƒ|Stjd | ||    f|ƒ|S( s‰»ñȡĿ±êµØÍ¼boss·ÖÁ÷Ïß·
    ¸ù¾ÝÈËÊý·ÖÁ÷Íæ¼Ò£¬bossËÀÍö״̬£¬Ö»ÄÜ·ÖÁ÷µ½ÒÑËÀÍöÏß·
    ¶ÓÎéÎÞÊÓÈκιæÔò£¬Ä¬ÈÏ·ÖÅäµ½¶ÓÎé¶ÓÔ±¶àµÄÄÇÌõÏß
    iÿÿÿÿssÍæ¼Òboss·ÖÁ÷: playerTeamID=%s,mapID=%s,npcID=%s,lineIDList=%s,bossState=%s,deadLineList=%s,g_bossShuntPlayerInfo=%siisg    lineID=%s,lineBossState=%s != bossState=%s,teamPlayerCount=%s,hurtTeamMemCount=%s,hurtTeamLineID=%ssf    lineID=%s,lineBossState=%s,playerCount=%s,teamPlayerCount=%s,hurtTeamMemCount=%s,hurtTeamLineID=%ss,    ·ÖÁ÷µ½¶ÓÓÑÈËÊý¶àµÄÏß· hurtTeamLineID=%ssH    Ã»ÓÐÈËÔÚ¸Ãboss״̬ϵÄÏß·£¬Ä¬ÈÏ¿ÕÐÂÏß·!bossState=%s,emptyLineID=%st    BossShuntis.    ·ÖÁ÷µ½¿ÕÐÂÏß· bossState=%s,emptyLineID=%ssT    ·ÖÁ÷µ½ÈËÊý×îÉÙµÄÏß· bossState=%s,minPlayerCntLineID=%s,bossLinePlayerCntList=%s( RÝRÓR?tg_bossShuntDeadLineR„RRtg_bossShuntPlayerInfotvaluesR|RWRµRF(RR©tnpcIDt
lineIDListR{t playerTeamIDthurtTeamLineIDthurtTeamMemCountt emptyLineIDtbossLinePlayerCntListt deadLineListt    bossStateRGRtshuntPlayerDictR[tteamPlayerCountt    shuntInfoRåt shuntTeamIDt lineBossStatetminPlayerCntLineIDtbossShuntPlayerCountMax((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRCxsh      #  
 
 
                 
    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
rebornPosYR
Rª((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__GetLegitRebornPointÈs           c
CsÞtjƒ}|jƒ}|jƒ}|jƒ}t}tjƒ}|jƒ}g}    g}
|stjd|j    ƒƒt
}n}xUt d|ƒD]D} |j | ƒ} |
j | ƒtj|| ƒr|    j | ƒqqW|    sütjd|j    ƒƒt
}n|r¯tj|    ƒ} |j | ƒ} | jƒ}| jƒ}| jƒ}t||||ƒ\}}|dksƒ|dksƒ|dkr¯tjd|jƒ|j    ƒƒt
}q¯nt}|sb|jƒ}|jƒ}|jƒ}|jƒ|krt|||tjƒ\}}n|dks6|dks6|dkrbtjd|jƒ|j    ƒƒt
}qbn|s |jƒ}tjdƒ}tj||ƒ}|d}d}|dtj| |ƒ}|d    tj| |ƒ}tjd
|jƒ|||f|j    ƒƒn|jƒtj krw|j!|ƒ|j"|ƒ|j#|ƒtjd |j$ƒ|||f|j    ƒƒdS|j%|ƒ|j&|ƒ|j'|ƒtjd |j$ƒ|||f|j    ƒƒt(j)||
ƒdS( Ns´ËµØÍ¼Ã»ÓÐÖØÉúµãis´ËµØÍ¼Ã»ÓкÏÊÊÍæ¼ÒµÄÖØÉúµãs2µØÍ¼Éϲ¼µÄÖØÉúµã·¶Î§ÄÚÕÒ²»µ½¸ÃµØÍ¼(%s)µÄºÏ·¨ÖØÉúµãs,tagChinMap.txtÄÚÕÒ²»µ½¸ÃµØÍ¼(%s)µÄºÏ·¨ÖØÉúµãtPlayer_Reborn_PlaceiiisqtagBornRefresh.txtºÍtagChinMap.txtÄÚ¶¼ÕÒ²»µ½¸ÃµØÍ¼(%s)
µÄºÏ·¨ÖØÉúµã£¬ÉèÖÃÍæ¼ÒÖØÉúµãΪ´´½¨½ÇɫʱµÄ³õʼµã%s-(%s,%s)s,Íæ¼Ò%s,ÉèÖÃĬÈÏÖØÉúµãÍê±Ï mapID = %s-(%s,%s)s0Íæ¼Ò%s,ÉèÖø±±¾Ä¬ÈÏÖØÉúµãÍê±Ï mapID = %s-(%s,%s)(*RR*R´t GetRebornPosXt GetRebornPosYRt GetGameDatatGetBornRefreshCountR/RÝRRtGetBornRefreshByIndexR|t IsSameCountryR!R"RRtGetRoundRvRŸR R¡R¨tDef_RebornPos_Area_RangetGetJobRûRütrandintR±R²R³tSetRebornMapIDt SetRebornPosXt SetRebornPosYt GetPlayerNametSetFBRebornMapIDtSetFBRebornPosXtSetFBRebornPosYRAt OnRebornPlace(RRÌRªt rebornMapIDRtRuthasBornRefreshPointtgameDatatbornRefreshCounttbornListt
fbBornListRXtbornRefreshPointt    bornIndextbRP_PosXtbRP_PosYt bRP_RoundPosthasBornPointInTxtt curPlayerJobtposListtpost    bornRange((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshRebornPointçs„                  $        $      
&   ,   ,cCs,|dkr|dkrdS|ddSdS(Niiii
((tcurLV((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRanks    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
playerlistRrRXt 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_PapertGetSilverPaperRmtTYPE_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µ
scCs+t|tj||ƒt|||ƒdS(N(RëR¨R½tNotifyPlayerCurrency(RR¾tvalue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPlayerCurrency
 
scCse|tjkrdStj|}|dkr0dS|dkrNt||ƒ}n|j||tƒdS(Ni(RmR´R8RµtSendPropertyRefreshR(RR¾RÀt refreshType((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¿
s   cCsÍg}xdtjD]Y}tj|}|dkr5qntjƒ}||_t||ƒ|_|j|ƒqWtj    ƒ}|j
ƒ|j ƒ|_ |j ƒ|_t|ƒ|_||_tj||ƒdS(N(RmR´R8RYttagRefreshTypet RefreshTypeRµtValueR|ttagObjInfoListRefreshRƒRtObjIDRÞtObjTypeRCtCountR\R](Rt
notifyListR¾RÃt notifyStructR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyPlayerAllCurrency
s         
    cCs|dkrtSd}d}|tjkr@|jƒ}d}n«|tjkrd|jƒ}d}n‡|tjkrˆt|ƒ}d}nc|tjkr¬|j    ƒ}d}n?|t
j krÍt ||ƒ}nt jd||jƒƒtS||kr|r|rt||ƒntStS(NiRltGoldErrt GoldPaperErrt    SilverErrtSilverPaperErrs¸¶·Ñ½ðÇ®Òì³£ TYPE_Price = %s(RR²R¬R­R®R¯R°R±R²R³RmR´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ÖRmtTYPE_Price_Gold_Paper_MoneyR¯R­R:RR/RÝ(RR¶RÒRÓRvRutneedGold((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt HaveMoneyExl
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·RmtTYPE_Price_BourseMoneyR¨tUnUseInner_CostTypetmaxRÁ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_resourceRmtDef_UserAction_Money_Use(
RRèRéRêRëRìRít    unitPricet reason_namet    eventName((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRçí
s*/cCs-tj||||ƒtj|||ƒdS(N(tPlayerCostRebatetAddCostRebateGoldtPlayerFairyCeremonyt AddFCCostGold(RRéRêRëRí((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRø< scCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RYttagMCGoldCostReportRƒtCostTypeRÒtItemIDR\R](RRêRéR‹R&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__Sync_GoldCostReportg s 
            cCsdS(N((RRéRêRë((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRùu 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    GiveMoneyRmRÝR·R®R¯RàR°RáR±R²R³tDef_PlayerTotalMoney_SilverRâR´RµtDef_UpperLimit_DWordtminRÁtTYPE_Price_RealmPointRLtDoAddSuccessProgresstSuccType_GetRealmPointR3tEventRespons_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_GiveMoneyRRRmtDef_UserAction_Money_Get(RRRÀRRR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÜ s   0cCsB|dkrtS|tjkrR|jƒ|tjkr>t|d|gƒtSnì|tjkr”|j    ƒ|tjkr>t|d|gƒtSnª|tj
kr¦n˜|tj krè|j ƒ|tj kr>t|d|gƒtSnV|tjkr t||ƒ}||tjkr>tSntjd||jƒƒtStS(NiRs½ðÇ®ÀàÐÍ = %sÌî´íÀ²(RR²R¬R­R¨RR:RR®R¯R°R²R³RRmR´RµRRR/RÝ(RRRÀRõ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt CanGiveMoney# s. cCsdS(N((RRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAutoRestoreHPN scCsdS(N((RRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAutoRestoreMPW scCs&t|jƒƒ}|sdS|jƒS(Ni(tGetPlayerLVIpyDataRVtGetReExp(Rt    lvIpyData((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerReExp_ scCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerReMoneyh 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.pytAddPlayerPKValueq s       c
Cs-|jƒ}tƒ}tdt|||ƒƒ}||krA|Stjd|||f|jƒƒ|dkr}t|ƒn¬tj    }|j
|ƒt j ||ƒ}|d}||}    |s
t j |||ƒ|dkr
t j ||ƒ}|d}|d}    q
n|    r)|r)t|||    ƒn|S(s¸ü¸ÄPKÖµis7¸üÐÂPKÖµ: curPlayerPKValue=%s,newPKValue=%s,addValue=%si(R/R0RßRRRRÝt ClearPKValueR¨tDef_SkillID_Redt
SetPKValueR5t FindBuffByIDtAddBuffBySkillType_NoRefurbisht__AddPKValueRedBuffTime(
RtaddValueRÌR2R3t
newPKValuet    addBuffIDt findBuffInfotredBufft addTimeValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR1„ s,      #       
 
 
 cCsª|jƒ}|sdStj|ƒ}|jƒ|}|jƒ}ttd||ƒtjƒ}|j    |ƒt
j |||ƒt j d||||f|jƒƒdS(sSÔö¼ÓPKÖµ¶ÔÓ¦buffʱ³¤
    @param addTimeValue: Ôö¼ÓµÄbuffµ¥Î»Ê±³¤´ÎÊý, Ö§³ÖÕý¸º
    NisL    Ôö¼ÓºìÃûbuffʱ³¤: addTimeValue=%s,remainTime=%s,addTime=%s,resultTime=%s(tGetSkillR5t GetBuffTypet GetLastTimet GetRemainTimeRRßR¨tDef_Max_Buff_RemainTimet SetRemainTimet    BuffSkilltPYSync_RefreshBuffRRRÝ(RRARBt    buffSkilltbuffTypetaddTimet
remainTimet
resultTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR<  s       cCsæ|jƒ}|sdStj|ƒr)dStj|tjƒd}|sY|jdƒdS|jƒ}|sodS|j    ƒ}|j
ƒ}t t j |t|ƒƒƒ}||krâ|j|ƒtjd||f|jƒƒndS(Nis&¸üÐÂÍæ¼ÒPKÖµ: remainTime=%s,pkValue=%s(R/RôRõR5R:R¨R8R9RCRFRERþRRRRRRÝ(Rt
curPKValueRARKRNtperPKValueTimetpkValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPKValueByRedBuff± s&       #cCs9|jdƒtjƒjƒ}tj|tj|ƒdS(sÇå³ýPKÖµiN(R9RRRRItDelBuffBySkillIDR¨R8(RRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR7Ç s cCstjddƒS(s »ñÈ¡×î´óPKÖµtPKConfigi(RµRF(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR0Î scCs€|jƒ}|jƒ}tjddƒ}|t|ƒkrF|dn||}|dkrvtd||fƒ‚dSt|ƒS(Nt LVUPAddPointiiÿÿÿÿs:Íæ¼Ò»ñµÃÉý¼¶ÊôÐÔµãÒì³£, reincarnationLv = %s PlayerID = %s(RtGetReincarnationLvRµR¶RCR8t    ExceptionRþ(RR3t
curReinCntt addPointListR4((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLvUp_AddPoint× s  & tModuleFightPowercBsMeZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z    RS(s%scCs||_|jƒdS(N(tmfpTypet    ClearAttr(tselfR]((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__init__ò s    
cCs>x7tdtjƒD]#}d}t||j||ƒqWdS(Nii(RQR¨tDef_Calc_AllAttrType_MAXtsetattrt_ModuleFightPower__AttrName(R_t    attrIndexRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR^ú scCs>|tj}x*|jƒD]\}}|j||ƒqWdS(N(R¨tCalcAttr_BattleR…tAddCalcMFPAttr(R_t allAttrListtbattleAttrDictRdRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCalcMFPBattleAttr s cCsCd|kotjknr?|j|}t|||ƒndS(Ni(R¨RaRcRb(R_RdRÀtattrName((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCalcMFPAttr s cCsPd|kotjknrL|j|}t||t||ƒ|ƒndS(Ni(R¨RaRcRbtgetattr(R_RdRÀRj((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRf s c1Cs^t||jtjƒ}t||jtjƒ}t||jtjƒ}t||jtjƒ}t||jtjƒ|jƒ}t||jtj    ƒ|j
ƒ}t||jtj ƒ}t||jtj ƒ}    t||jtj ƒ}
t||jtjƒ|jƒ} t||jtjƒ} t||jtjƒ} t||jtjƒ|jƒ}t||jtjƒ|jƒ}t||jtjƒ|jƒ}t||jtjƒ|jƒ}t||jtjƒ|jƒ}t||jtjƒ}t||jtjƒ|jƒ}t||jtjƒ}t||jtj ƒ}t||jtj!ƒ}t||jtj"ƒ}t||jtj#ƒ}t||jtj$ƒ}t||jtj%ƒ|j&ƒ}t||jtj'ƒ|j(ƒ}t||jtj)ƒ|j*ƒ}t||jtj+ƒ|j,ƒ}t||jtj-ƒ}t||jtj.ƒ|j/ƒ} t||jtj0ƒ|j1ƒ}!t||jtj2ƒ}"t||jtj3ƒ}#t||jtj4ƒ|j5ƒ}$t||jtj6ƒ|j7ƒ}%t||jtj8ƒ}&t||jtj9ƒ}'t||jtj:ƒ}(t||jtj;ƒ})t||jtj<ƒ}*t||jtj=ƒ}+t||jtj>ƒ},|j?ƒ}-|j@ƒ}.tAjBdƒ}/tCtDjEd|/ƒƒ}0|0tFjGkrZtHjId|jJ|0|jKƒfƒtFjG}0n|0S(NtFightpowerFormulas2Ä£¿éÕ½Á¦³¬¹ýÊýÖµÉÏÏÞ, MfpType=%s,fightPower=%s, %s(LRlRcR¨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_AttrSpeedtTYPE_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_MaxProDeftTYPE_Calc_ProDefAbsorbtTYPE_Calc_OnlyFinalHurttTYPE_Calc_PVPAtkBackHPtTYPE_Calc_NPCHurtAddPertGetCftAtkSpeedtGetCftLuckyHitRµRFtevaltFormulaControltGetCompileFormulaRmRRR9R]t GetMFPAttrStr(1R_tfpParamtMaxHPtMinAtktMaxAtktDeftHittMisstAtkSpeedt SuperHitRatetSuperHittSuperHitReducet LuckyHitRatetLuckyHittLuckyHitRateReducet SkillAtkRatetSkillAtkRateReducet    DamagePert    DamReducet    HPRestoret
DamBackPert
SpeedValuet    PetMinAtkt    PetMaxAtkt    PetDamPertIceAtktIceDeft IgnoreDefRatetIgnoreDefRateReducet DamChanceDeft BleedDamaget    AtkBackHPt    FaintRatet FaintDefRatet    FinalHurttFinalHurtReducet DamagePerPVPtDamagePerPVPReducet    ComboRatet ComboDamPert    MaxProDeft ProDefAbsorbt OnlyFinalHurtt PVPAtkBackHPt NPCHurtAddPertAtkSpeedParametertLuckyHitParameterRmttotalFightPower((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetModuleFightPower sf#################  # cCsid}x\tdtjƒD]H}|j|}t||ƒ}|dkrMqn|d||f7}qW|S(NRliis%s=%s,(RQR¨RaRcRl(R_tattrStrRdRjt    attrValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¯Z s  (
t__name__t
__module__RcR`R^RiRkRfRßR¯(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR\ê s                          <RrcBs”eZeZiZd„Zd„Zd„Zd„Zd„Z    d„Z
e j e d„Zd„Zd„Zed    „Zd
„Zd „Zeeed „Zd „Zed„Zd„Zeed„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z 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&„Z/RS('cCs ||_dS(N(t_PlayerControl__Player(R_tiPlayer((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR`t scCs8|jj|ƒ}|s4t|ƒ}||j|<n|S(N(t_PlayerControl__fpTypeObjDictR„R\(R_tfpTypetfpObj((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetModuleFightPowerObj{ s
 cCs(x!|jjƒD]}|jƒqWdS(N(RæR`R^(R_tobj((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytResetFightPowerObj… scCs^|j}|jƒ}t|ƒ}|dkrZ||}tj|d|ƒ|j|ƒndS(NitLvUP(Rät GetFreePointR[Rt DR_Freepointt SetFreePoint(R_Rt curFreePointR4t setFreePoint((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_OverR3tEventResponse_LVFullRRR/RÝ(R_RR›t
curMission((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__LVUpDoInvestiture¢ s! cCsUtjdƒ}|jƒ}|d}tjdƒ}||krQ||d}n|S(NtReincarnation_Conditionit PlayerMaxLVi(RûRüRWRµRF(R_RtReincarnation_ConditionDictRYt 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(Rät_PlayerControl__AddExpRYt tagMCAddExpR¨tDef_PerPointValuetExpPointtExptSourceR\R]RR*R±R²R³RAtOnGetExpR?RäRåRÝtDef_MSPEvent_AddExp(R_taddExpt expViewTypeRRt finalAddExpt expNotifyTypeR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddExpÊ s         cCsW|dkr||fS|jƒtj|jƒ}tjddƒ}tjddƒ}|jƒ}||kr¯||kr¯|j|dƒtj    d||j
ƒƒd|fS|t j kr
|j tjƒ}    tj|ddtjƒ}
|    |
7}    |
rOt j}qOnE|t jt jgkr1|jƒ}    nttjƒjƒtjƒ}    t||    ttjƒƒ}tj||ƒ}||kr©t|td||ƒƒ}n|dkrÌtj    dƒd|fS||} | tj} | tj} |jƒ| kr|j | ƒn|jƒ| kr4|j!| ƒn||krM|j"ƒn||fS(NiRúit MaxLVExpStoretGeRen_admin_825676s¾­ÑéÒÑÂú£¡ÒÑÂú¼¶£¡curLV=%ss ÎÞ·¨»ñµÃ¾­Ñé(#t GetExpPointR¨Rt GetTotalExpRµRFRVt_PlayerControl__NotifyExpFullRRRÝRmtDef_ViewExpType_KillNPCRtDef_PlayerKey_TotalExpRateRGt!GetPassiveSkillValueByTriggerTypeR8tTriggerType_AddExpRatetDef_ViewExpType_KillNPCSupertDef_ViewExpType_GameEventtDef_ViewExpType_SittGetGameEventExpRateRßRt
GetExpRatetDef_MaxRateValueRþRR tChangeExpByWallowRt SetExpPointt SetTotalExpt
PlayerLvUp(R_RRRRt curTotalExptmaxLVt maxLVExpStoreR›texp_ratet    superRatettotalExptcurExptexpPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__AddExpà sH 
 
 
 
$
    cCs?|jtjƒ}|s;t||ƒ|jtjdƒndS(Ni(RR¨tDef_PlayerKey_ExpFullNotifyR:R
(R_RtexpFullNotifyMarktexpFullNotifyState((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__NotifyExpFullZs
 cCsé|j}|jƒdkrdStjd|jƒƒ}|sXtjd|jƒƒdS|jƒtj    |j
ƒ}|dkr…dS|jƒtj    |j ƒ}||kr²dSt }|jƒ}tj ddƒ}|jƒ|jƒ}    |jƒ}
|jƒ} |jƒ} |jƒ} |jƒ}|jƒ}xô||kr*||kr*t}|d}t}|dkrzt }n|j||ƒtj|ƒtj||jƒt|ƒ|ƒ|jƒt|jƒƒ}|rôtj||j ƒƒnt!j"|ƒ||}t#|ƒ}|dkr7Pq7q7W|j$ƒ|rØ|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}||
kr¸|j|t ƒt%j&|t'j(|ƒn|| krÔ|j)|ƒn|| krð|j*|ƒn|| kr |j+|ƒn||kr(|j,|ƒn||krD|j-|ƒnt.j/|ƒt0j1|ƒ|j2dt3j4ƒt5j6|ƒ|j7|j8ƒƒ|j9ƒdkr¹|j:|j9ƒƒnt;j<|t'j=|jƒƒnt>||ƒdS(NitPlayerLVs¾­Ñé±íÒì³£  lv= %sRúii2t billboardFunc(?RäR¯RµtGetIpyGameDataRVRR9RR¨RtGetExpRRRFtBeginRefreshStatetGetXPRít
GetBaseSTRt
GetBasePNEt
GetBasePHYt
GetBaseCONRtSetLVRtWriteEvent_level_upRtDR_PlayerUpgradetGetPlayerTotalExpt_PlayerControl__DoLVUPAddPointR)tPlayerGreatMastertAddGreatMasterSkillPointByLVtGetTalentPointR3tEventResponse_LVUptGetLVUPTotalExpNeedtEndRefreshStateRLtUptateSuccessProgressRmtSuccType_HeroLVRït
SetBaseSTRt
SetBasePNEt
SetBasePHYt
SetBaseCONt GameFuncCommtDoFuncOpenLogictChEquiptCalcEquips_OutOfPrinttRefreshPlayerAttrStateRttUpdatePlayerLVBillboardtPlayerWorldAverageLvtUpdatePlayerWorldAverageLvtSetHPtGetMaxHPtGetMaxMPtSetMPtOpenServerCampaigntUpdOpenServerCampaignRecordDatatDef_Campaign_Type_LVtSetPlayerTotalExp(R_thandLvUpRR+t lvUpNeedExpRtplayerNeedDoLVUpR›R tbefXPtbefLVt befFreePointt
befBaseSTRt
befBasePNEt
befBasePHYt
befBaseCONtisNotifyServertaftLVt aftFreePointt
aftBaseSTRt
aftBasePNEt
aftBasePHYt
aftBaseCON((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRfs’       
 
      "
 
 
                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¶RR9RVtGetSTRtGetPNEtGetPHYtGetCONR2R3R4R5RRR…tCalcAttrDict_TypeR¬R­R®tSetCalcAttrListValueR¨tDef_CalcAttrFunc_RoleBase(R_RR3tjobt
lvAttrDictt pointAttrDicttLVtSTRtPNEtPHYtCONtbaseSTRtbasePNEtbasePHYtbaseCONt_RgtroleBaseAttrDictt    attrEffIDRÀtformulat    calcValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcRoleBaseAttrîsD               # ""cCsÉ|j}g}g}|jtjƒ}x¦|jƒD]˜\}}tj||ƒ\}}    }
} |    sjq4n|r‚||kr‚q4ntjƒ} |    | _    || _
|
r¶|j | ƒn| r4|j | ƒq4q4W|r5tj ƒ} | j ƒ|jƒ| _|jƒ| _t|ƒ| _|| _    tj|| ƒnt|ƒdkr©tj ƒ} | j ƒ|jƒ| _|jƒ| _t|ƒ| _|| _    t|| tdƒn|sÅ|jtjdƒndS(Niiÿÿÿÿi(RäRR¨t Def_PlayerKey_NotifyAllAttrStateR…t    EffGetSettGetValueByEffIndexExRYRÄRÅRÆR|RÇRƒRRÈRÞRÉRCRÊR\R]R)RR
(R_tplayerStateDictRtnotifySelfListt notifyAllListtnotifyAllAttrStateR!RÀtcurPlayerStatetattrTypeR't    notifyAllRÌR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyAllState%sH              
     
    cCs+tjdƒ|jƒ|j||ƒdS(NsStart RefreshAllState!!!(RRtRefreshPlayerActionStateRK(R_t
isSyncBuffR-tisForce((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRs\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!!!((RRRäR¨tCalcAttrFuncListtClearCalcAttrListValuetRefreshAllSkillRItRefreshPlayerEquipAttributet
PlayerWingt CalcWingAttrR0tCalcHorseAttrExtPlayerPrestigeSystCalcOfficialRankAttrtPlayerGodWeapontCalcGodWeaponAttrtPlayerDienstgradtCalcAllDienstgradAttrt    PlayerPettCalcPetItemAddPlayerAttrt
PlayerRunetRefreshRuneAttrtPlayerMagicWeapontCalcMagicWeaponAttrtCalcMagicWeaponSoulAttrRLtCalcSuccessAttrt    PlayerVipt CalcVIPAttrtPlayerRefineStovet CalcStoveAttrtPlayerFamilyTechtCalcFamilyTechAttrtPlayerEquipDecomposet RefreshEDAttrt
PlayerDogztRefreshDogzAttrRsR(R_Rt    funcIndex((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytReCalcAllStatehs0     
                 cCs3|j}|jtjdƒ|r/|jƒntS(Ni(RäR
R¨tDef_Player_RefreshAttrByBufftRefreshPlayerAttrByBuffExR(R_RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerAttrByBuffˆs
     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!!!(RäRR¨R±RRRPt GetSpeedValueRQRatupdateRƒtGetValueByEffIndexR0tRestorePlayerFuncAttrt_PlayerControl__RefreshBuffAttrt'_PlayerControl__DoRefreshAttrAfterLogicR
(R_Rt beforeMaxHPtbeforeMoveSpeedValueR…R!((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR²‘s        $
 
 cCs[|j}|jtjdƒ|rD|tjkrDtjj|ƒn|rW|jƒndS(Ni(RäR
R¨tDef_Player_RefreshAttrR?tg_refreshAttrBillboardFuncR|tRefreshPlayerAttrStateEx(R_R-RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRK¹s     cCsld}xHtdtjƒD]4}tj||ƒ}|rd|||f}qqWtjd||fƒdS(NRlis%s,%s=%ss%s AttrInfo=%s(RQR¨RaRƒR¶RR(R_RtmarktattrInfoR!RÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    PrintAttrÅsc.Cs=    |j}|jtjƒdkr%tStjdƒ|jƒ}t|ƒ}i}x:t    dtj
ƒD]&}|j it j ||ƒ|6ƒqcW|jƒ|jƒ|jƒi}i}gtdƒD] }i^qÄ}    g}
xÉtjD]¾} | tjkr'|
jgtdƒD] }i^qƒqæn| tjkrI|
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.tj/6|
tj.tj06|
tj1tj26|
tj1tj36|
tj1tj46|
tj5tj66|
tj7tj86|
tj9tj:6|
tj;tj<6|
tj=tj>6|
tj#tj?6}i}xt@|
ƒD]\}}|tjA}|súqÕni}xÃ|jBƒD]µ\}}||ks |tjCkr:q n|tDtjEƒ}tjC|}||tjF}xT|D]L}||krŠqrn||}tG||ƒ}|jH|dƒ|||<qrWq W|rÕ|||<qÕqÕWtjd|ƒx5|jBƒD]'\}}tjI|
|tjF|ƒqûWg}gg}}xSt@|
ƒD]E\} } | tjJkr~|j| ƒ|j| ƒqF|j| ƒqFWt|ƒ} tjd|ƒtjd    | ƒt|ƒ}!tjd
tjJƒtjd |!ƒi}"xtjKjBƒD]\}#}$tL|$ƒdkr3|
|$d}%n#tg|$D]}|
|^q=ƒ}%|jM|#ƒ}&|&jN|%ƒ|%tjA|"|&<qWgtdƒD] }i^q”}'tOjP||'ƒx,tjD]!} t|'t|| ƒgƒ}'qÀWtjd |'ƒi}(t|(| tjAƒt|(|!tjAƒt|(|'tjAƒtjd |(ƒtj|| tjFƒtj||(|"ƒ|jQƒ})tRjSd|)ƒ}*i}+xŒ|"jTƒD]~}&|*s¶dn |&jU|*ƒ|+|&jV<|+|&jV|jtjW|&jVƒ|+|&jV<|+|&jV|jtjX|&jVƒ|+|&jV<q¤Wtj||!tjFƒtj||'tjFƒt jY|ƒ|jZƒ|j[|||ƒ|j\||ƒ|j]||+ƒtLt^j_ƒ},xV|,dkr    t^j_r    |,d8},t^j_j`dƒ}-tjd|-ƒ|-|dtaƒq°W|jbtjdƒ|jbtjcdƒtjdƒtaS(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!!!(dRäRR¨R¼RRRRPR´RQRaRµRƒR¶R0RëtInitPlayerStateRRtCalcAttrExFuncListNoFightPowerR|RotGetCalcAttrListValuetAddAttrDictValuet 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    enumeratetCalcAttr_BattleNolineR…tFuncNoLinearAttrDictRRReRþR„t AddDictValuetCalcAttrExFuncListtMFPTypeAttrFuncIndexDictRCRéRiR9tCalcPassiveAttr_EffectRVRµR.RDRßR]tDef_PlayerKey_MFPSkilltDef_PlayerKey_MFPExtCopyPlayerFuncAttrR¸R¹t_PlayerControl__SyncBaseAttrtSendModuleFightPowerPackR?R½RJRR
R±(.R_RRºR»R…R!t baseAttrDicttbaseAttrNolineDictR|troleBaseAttrInfotfuncAttrInfoListR¯RÀtequipBaseAttrListt baseAttrListtfuncAttrPerInfotfuncAddAttrPerInfoDictRXt funcAttrListtbattleNoLineAttrDictt addAttrDicttnoLineAttrTypet
addAttrPertattrRatetaddAttrTypeListt useAttrDictRŠt    baseValueR=tallFuncAttrIndexListtallFuncAttrInfoListtattrInfoExListRgt allAttrExListtmfpObjAttrDictR]tattrFuncIndexListt mfpAttrListtmfpObjtskillNoFightPowerAttrListtallNoLineAttrDictR›R°tmfpDictt billFuncCntR-((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¾Îs%       $
 
 
&      
 
 
 
 
 
 
"    #  "+/ 
 
 cCsÄ|j}gtdƒD] }i^q}tj||ƒtj||ƒ|tj}tj    ||dt
ƒ|tj }t j ||dt
ƒ|j|ƒ|jƒtjd|ƒ|jƒdS(Nit
isBuffAttrsBuff²ãÊôÐÔ: %s(RäRR9tCalcBuffers_EffecttGameLogic_DuJietCalcDujieFBAttrAddR¨RðRÌRÍRReRÊRËt _PlayerControl__RefreshMoveSpeedt_PlayerControl__SetAtkIntervalRRt_PlayerControl__DoRefreshGMAttr(R_RR|tallAttrListBuffstbattleNolineAttrBufftbattleAttrBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RefreshBuffAttrÛs       
 
cCsl|j}tjƒ}|tjkr(dS|jƒtjkrAdStj    ƒ}|j
ƒs]dStj |j ƒƒ}d}d}x˜t|j
ƒƒD]„}|j|ƒ}|jƒs¸q‘n|jƒ}    |jƒ|    krÜq‘n|jƒ}
|
|krþ|}Pn|
r‘| r‘|}q‘q‘W|s2|s)dS|}ni} |jƒ} |jƒ} |jƒ}| rÙ| dkr}|jƒ} nt| ƒ}|rÙt|jƒ|ƒ| tj<t|jƒ|ƒ| tj<t|jƒ|ƒ| tj<t|jƒ|ƒ| tj <t|j!ƒ|ƒ| tj"<t|j#ƒ|ƒ| tj$<t|j%ƒ|ƒ| tj&<t|j'ƒ|ƒ| tj(<t|j)ƒ|ƒ| tj*<t|j+ƒ|ƒ| tj,<t|j-ƒ|ƒ| tj.<t|j/ƒ|ƒ| tj0<t|j1ƒ|ƒ| tj2<t|j3ƒ|ƒ| tj4<t|j5ƒ|ƒ| tj6<t|j7ƒ|ƒ| tj8<t|j9ƒ|ƒ| tj:<t|j;ƒ|ƒ| tj<<t|j=ƒ|ƒ| tj><t|j?ƒ|ƒ| tj@<qÙnx$| jAƒD]\}}|| |<qæWgtBdƒD] }i^q }xC| jAƒD]5\}}|sQ| jC|ƒq,ntD|||ƒq,W|r¥x7|tjEjAƒD]\}}tFjG|||ƒqWn|jHƒ}gtBdƒD] }i^q¾}x*|jAƒD]\}}tD|||ƒqÝWtIjJ||tjEƒtjKd|jLƒ|fƒtjKd| || | |fƒtjKd||fƒdS(Niis*GM²âÊÔÉèÖÃÊôÐÔ: GMAttrID=%s,playerAccID=%ssH    GMµÈ¼¶ÊôÐÔ: GMAttrLV=%s,attrPer=%s,setAttrDict=%s,specAttrDict=%s,%ss     GM¸½¼ÓÊôÐÔ: attrExDict=%s,%s(MRäRt GetPlatformtGMShelltTestPlatformListt
GetGMLevelR¨t Def_GM_LV_GodRµtIPY_DatatGetGMAttrCounttGetPlatformAccIDR R8RQtGetGMAttrByIndext
GetIsValidt
GetGMMaxLVRVt
GetGMAccIDtGetAttrSpecDictt    GetAttrLVt
GetAttrPerR)Rþt
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…RRJRmReRƒtSetValueByEffIndext GetAttrExDictRÊRËRt GetGMAttrID(R_Rtplatformt
ipyDataMgrt playerAccIDt    gmIpyDatat commIpyDataRXtipyDatatgmMaxLVtgmAccIDt setAttrDictt specAttrDicttattrLVtattrPerR+RŠRáR|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(RäRPRßRÍR²tpaDieRORR¯R@RŒR´t SetSpeedValuet_PlayerControl__RestoreHPMPtSync_ExpRateChange(R_RºR»R…Rt
afterMaxHPtaddMaxHP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DoRefreshAttrAfterLogicVs     -#
 
 
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¨RetDef_PlayerKey_BaseAtkMinRmtCDBPlayerRefresh_BaseAtkMinRotDef_PlayerKey_BaseAtkMaxtCDBPlayerRefresh_BaseAtkMaxRptDef_PlayerKey_BaseMaxHPtCDBPlayerRefresh_BaseMaxHPRntDef_PlayerKey_BaseDeftCDBPlayerRefresh_BaseDefRqtDef_PlayerKey_BaseHittCDBPlayerRefresh_BaseHitRrtDef_PlayerKey_BaseMisstCDBPlayerRefresh_BaseMissRtR…R„RR
RYRÄRÅRÆR|RÇRƒRRÈRÞRÉRCRÊR\R](R_RRtbaseBattleAttrDicttattrTypeKeyDictt notifySListRŠRÀtattrKeyRÃR t curBaseValueRÌR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SyncBaseAttrts6             
    cCsÕ|j}|jƒ}x(tjD]}|jtj|dƒqWxtd|jƒƒD]j}|j    |ƒ}tj
j |j ƒtj ƒ}|jtj|ƒ}|jtj|||jƒƒqVWtj|ƒdS(Ni(RätGetSkillManagerRmtModuleFightPowerTypeListR
R¨RöRt GetSkillCounttGetSkillByIndextDef_SkillFuncType_MFPTypeR„t GetFuncTypetDef_MFPType_RoleRt GetFightPowerRtSetPetSkillFightPower(R_Rt skillManagerR]RXtcurSkilltskillMFP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR’œs     % c    CsÔ|j}tjƒj|ƒ}|s(dStjj|jƒtj    ƒ}|j
ƒ|}|j tj |ƒ}|j tj |td||ƒƒtjd||||||f|jƒƒ|rÐ|jƒndS(NisSˢм¼Äܸ½¼ÓÕ½¶·Á¦: skillID=%s,beforeFightPower=%s,mfpType=%s,skillMFP=%s,updMFP=%s(RäRRztGetSkillBySkillIDR¨RŠR„R‹RmRŒRRRöR
RßRRÝRK(    R_tskillIDtbeforeFightPowertisRefreshStateRRR]t addFightPowerR‘((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshSkillFightPowerEx²s    $    $ cCsdS(N((R_((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcPassiveBuffAttrÉsc
Csªg}d}tjdtjƒtjd|ƒxi|jƒD][\}}t|||ƒtjƒ}|jƒ||_    ||_
|j |ƒ||7}q>W|t j krÒtjd||jƒƒt j }ntjƒ}|jƒ||_t|ƒ|_||_tj||ƒ|j|tƒ|jtjdtjƒ}    ||    krlt|tj|tjƒntjd||    fƒtj|ƒtj |t j!|ƒdS(NisÕ½Á¦¹¦Äܵã: %ss Ä£¿éÕ½Á¦: %ss&×ÜÕ½Á¦³¬¹ýÊýÖµÉÏÏÞ£¡totalFightPower=%ss×ÜÕ½Á¦: %s, ÀúÊ·×î¸ßÕ½Á¦: %s("RRR¨RôR…tSetMFPFightPowerRYttagMCModuleFightPowerRƒtMfpTypet
FightPowerR|RmRR9RÝttagMCModuleFightPowerInfotTotalFightPowerRCtMFPCnttMFPListR\R]t SetFightPowerRRètDef_PDict_FightPower_HighesttDef_PDictType_FightPowerRëRttUpdatePlayerFPTotalBillboardRSRTtDef_Campaign_Type_FightPower(
R_RRt mfpDataListRÞR]t
fightPowertmfpDatatmfpInfothighestFightPower((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRúÕs> 
           
            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|ƒ|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 ºÁÃë/¸ñ(RäRµRFR'R(RRtGetSpeedNotBuffR.R²R/RR¨tDef_PlayerKey_SpeedHorseReRðR„RŠRþRmRRR´RnR¬R­R®tSetSpeedt    GetPetMgrt GetFightPet( R_RRtmoveSpeedFormattspeedt
speedHorsetbuffBattleAttrtbuffBattleNolineAttrt    buffSpeedt buffSpeedPert    moveSpeedtfightPet((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RefreshMoveSpeedüs6     
   (  cCsY|j}t|ƒ}tjdƒ}|s0dnttjd|ƒƒ}|j|ƒdS(Nt AtkIntervali(Rät GetAtkSpeedRµRFR¬R­R®tSetAtkInterval(R_RtatkSpeedRt atkInterval((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetAtkInterval*s      $ cCs4tjdƒ|j}tj|ƒtj|ƒdS(Ns!Start RefreshPlayerActionState!!!(RRRätOperControlManagertClearObjActionStateR9tCalcBuffer_ActionState(R_R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR9s      cCsÅ|j}|jƒ}|jƒ|kr7|j|ƒn|jƒ}|jƒ|kre|j|ƒn|jƒ}|jƒ|kr“|j    |ƒn|j
ƒ}|j ƒ|krÁ|j |ƒndS(N( RäRit GetTotalSTRt SetTotalSTRRjt GetTotalPNEt SetTotalPNERkt GetTotalPHYt SetTotalPHYRlt GetTotalCONt SetTotalCON(R_Rt curPlayerSTRt curPlayerPNEt curPlayerPHYt curPlayerCON((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetPlayerStateInDBJs        cCsQ|j}|jƒsdS|jƒ}|jƒ}||krM|j|ƒndS(N(Rät    GetInitOKR¯RPRO(R_Rt curPlayerHPtcurPlayerMaxHP((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt __RestoreHPMPds        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("RätClearBattleEffectR2R¨tTYPE_Calc_AttrCurSTRR3tTYPE_Calc_AttrCurPNER4tTYPE_Calc_AttrCurPHYR5tTYPE_Calc_AttrCurCONtDef_BaseAtkSpeedRvRRRtTYPE_Calc_AttrFightExpRatetTYPE_Calc_AttrGameExpRatetTYPE_Calc_AttrPetExpRateRtTYPE_Calc_HitSucessRatetTYPE_Calc_CurePerRQRatTYPE_Calc_AttrHPtTYPE_Calc_AttrMPRƒRZt GetPickupDisttDef_RolePickupItemDistt SetPickupDistt GetCanAttackt SetCanAttackR(R_Rt initAttrDictRXRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÄ€s.    
   cCsG|j}tj|jƒ|jƒƒtjkrC|jtjƒndS(N(RäR,tGetAreaTypeByMapPosRRR²t    gatNormalt SetAreaType(R_R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInitMapBuffState¬s    'cCsï|j}tjƒjƒ}|tjkrQ|jƒ}|jƒ}|jƒ}n$|j    ƒ}|j
ƒ}|j ƒ}|dkr¬t |dƒtj d||jƒƒdS||jƒkrÕtj|||ƒdSt||||tƒdS(NitObjectMapNonentitysÈËÎïÖØÉúµØÍ¼ID = %sÒì³£!(RäRR*R±R²R³RŸRxRytGetFBRebornMapIDtGetFBRebornPosXtGetFBRebornPosYR:R/RÝR´R8R?R(R_RRâRŠRtRu((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetToBornPlaceºs$           cCsÄ|j}tj|ƒt|ƒ|jƒt|ƒtj|ƒtj|ƒ|j    ƒ|j
ƒdkrz|j dƒnt j |ƒ|j|ƒt jƒjƒ}t|ƒtj||ƒdS(Ni(RäRAR    tReSetPlayerStatet#_PlayerControl__PlayerDeadClearBuffR$RptReCallFightPetR'tClearUseSkillRecR¯RORtClearPlayerPosCounttSetPlayerDeadCntRRRôtPlayerTJGReborn(R_RRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRës      
 
 
 
 
cCswt|tjttjƒƒƒtj|tjƒd}|o_|jƒj    ƒ|jƒj
ƒksfdS|j |ƒdS(Ni( RëR¨tDef_Player_Dict_DeadTimeRþttimeR5R:tDef_SkillID_ReviveTiredRCt
GetSkillLVt GetSkillMaxLVtNotifyPlayerDeadTime(R_RtfindBuff((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(R5R:R¨RúRCRûRüRètDef_PDict_IsAddReviveTiredRøRYttagMCPlayerDeadTimetDeadTimeR\R](R_RRþtlastDeadTimeTicktpackData((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRýNs*     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(RäRRRRfRgtClearBuffByDieRiRjRkReRlRmRn(R_RRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerDeadClearBuff^s    (0RâRãR8RäRæR`RéRëR:t!_PlayerControl__LVUpDoInvestitureRþRmtDef_ViewExpType_MissionRR RÿRRRRRŒRsR°R³R²RKRÁR¾R¸RR¹RùR’R—R˜RúRRRt"_PlayerControl__SetPlayerStateInDBRoRÄRëRðRRöRýRò(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRrk sT        
                        z     ˆ    7    7               (             ÿ        _        (              '    .                    ,        1    4    /    cCsÞ|jƒ}d}g}x¬||jƒkrÆ|j|ƒ}|sftjd||ƒ|d7}qn|rˆ||ƒrˆ|d7}qn|j|jƒjƒ|jƒ|j    ƒgƒ|j
|ƒqWt j |||ƒdS(Nis###Íæ¼ÒÇå¿Õbuffʧ°Ü,Ë÷Òý = %si( RÝt GetBuffCounttGetBuffRR/R|RCt
GetSkillIDt
GetOwnerIDt GetOwnerTypetDeleteBuffByIndexR9tClearBuffEffectBySkillIDList(Rt    buffStatet funcClearBuffRÌR3R!tbuffSkillIDListtcurBuff((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRfus  
 
.cCs |jƒ}|jƒt@dkS(Ni(RCtGetDieContinuetDef_Buff_Clear_Die(Rtskill((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR”s cCs |jƒ}|jƒt@dkS(Ni(RCRtDef_Buff_Clear_Disconnect(RR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRhœ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: %sRìtEnemy_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.pytCheckTagCountry¦s6  
 
 cCst|||ƒstStS(N(tCheckLVCanEnterMapRR(RR¾t    isShowSys((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRäscCs¤tjƒjƒj|ƒ}|s%dS|jƒ}|jƒ|krc|r_t|d|gƒntS|jƒ}|r t||ƒ r tj    d||fƒtSt
S(Nt Carry_hwj35_0s5¶Ô²»Æð£¬¸Ã³¡¾°destMapID=%sÐèÒªÍê³ÉÖ÷ÏßÈÎÎñ%s²ÅÄܽøÈë!( RRzt
GetChinMapt
GetMapByIDRVR: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(RR/t    mission_1((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR,s cCs„|jƒ}|tjkr,t|dƒtS|jƒrE|jƒn|tjkrat    |ƒnt
j |tj tj ƒs€tStS(NRï(RÍR¨RþR:RR§R.R²RÿRÎ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(
RåRRRRIRTR¨tDef_SkillID_LimitSuperBuffRrR³(RRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÈ2s  cCs{|s"|jƒtjkr"dSntj|tj|ƒtj|tj|ƒ|swt|tj    ƒ|j
tj ƒndS(N( RÍR²t    paProduceRIRTR¨tDef_ProduceBuffIDtDef_SkillID_ActionWuDiRÙRÑtNotify_ProductionStatetDef_EndProduction(RRÌt isLeaveServer((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDelProduceBuffDscCstjƒjƒ}|jƒ}|tjkr@tj|dƒnA|tjkr_t    j
|ƒn"|tj krt j ||ƒn|tjkrt|ƒn|jƒ}|tjkrËtj|tƒn(|tjkrótj||jƒƒnt|ƒ|jdƒdS(Ni(RRRRÍR²tpaTradeR7R8RÐR3R;t paGameEventtPlayerGameEventt StopGameEventRÓRÔR.R/R0R1RRŽR'R+R)RÂRýR8(RRÌRØtcurPlayerVehicle((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRñ_s$   
 cCs$|jƒstS|jƒr tStS(N(RÑRt 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.pytIsPlanStateNull™s  
cCstj}|tjjƒkr"dS|jƒj|ƒ}tjj|ƒtj}tj    |j
|ƒ}|j |ƒ|j ƒdS(N( R²trptItemR¨tDef_Type_CanBuyPack_PlayerDictRDR¹RºR„tDef_PlayerPackDict_Index_KeytDef_PlayerFirstLoginOpenBackCntRètSetCounttSync_PackCanUseCount(RRctcurPacktkeyNametcount((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt Init_ItemPackµs     
cCstj}|tjjƒkr"dS|jƒj|ƒ}tjj|ƒtj}tj    |j
|ƒ}|j |ƒ|j ƒdS(N( R²t rptWarehouseR¨RJRDR¹RºR„RKtDef_FirstLogin_OpenWareHouseCntRèRMRN(RRcRORPRQ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInit_WarehouseÎs     
cCs6|jƒjtjƒ}|jtjƒ|jƒdS(N(R¹RºRmt rptTreasureRMR¨tDef_PackCnt_TreasureRN(RRO((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¨RJR„RKR8RR9R¹RºtDef_PackCnt_WeaponCoatRèRMRN(RRcRPRORQ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInit_CabinetCountByTypeõs  
cCsetjƒ}xRt|jƒƒD]>}|j|ƒ}|dks|jƒ rSqnt|ƒqWdS(N(RRARQRRRSR8RÑRp(t playerManagerRXR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshOperationAction_ExpRates 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(!tGetPlayerExpRatetGetFightExpRateRMtGetWorldAverageLvExpRateR¥tGetPrivilegeValueR¨tVIPPrivilege_FightExpRateR?tg_operationActionDictR„RmtOperationActionName_ExpRateRôRõt ActKey_StateRµR.t ActKey_CfgIDRVt
GetLVLimitt GetAddExpRateR´tDef_FBMapID_FamilyInvadeRtDef_PlayerKey_TeamExpRateRßRÈtGetAreaRewardMultipleRR
RtSync_CurExpRate(Rt totalExpRatet fightExpRatetactExpRateInfot actExpIpyDatatmapExpAddMultiple((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRps"  " cCs|jtjƒS(N(RR¨R(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^R8RkRQR    R
RCRtGetEffectCountt    GetEffectt GetEffectIDR¨RÛtGetEffectValuetEffCalcType_LinePlusRê( Rt    limitTypeRmRRXRRKtjt    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 = %sRtRuRvRwsCreatRolePoint, key = %s(iiii( RµR¶RR9R…R’R@tupperRmtDef_Effect_STRtDef_Effect_PNEtDef_Effect_PHYtDef_Effect_CON(RpRxRyRzR{tjobDictRRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerBasePointTs$                cCsdS(N((RRªtlogIndexttagIDtparR˜((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDataServerMoneyLog|scCs$|j|ƒ|jtj|ƒdS(N(tSetGMForbidenTalktSendGameServerRefreshStateRmtCDBPlayerRefresh_ForbidenTalk(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRАs cCs
|jƒS(N(t
GetExAttr1(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetJobRank—scCs |jtj|ƒ|j|ƒS(N(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.pytSetTeamCheckStateExscCs|j|ttƒS(N(t
SetExAttr2RR(Rt
checkState((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR“žscCs
|jƒS(N(t
GetExAttr2(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTeamCheckStateŸscCs|j|ttƒS(N(t
SetExAttr3R(RRÇ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¢scCs
|jƒS(N(t
GetExAttr3(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFBFuncLineID£scCs|jƒtj|jƒS(N(t
GetExAttr6R¨RR±(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¨RRRR±RáRžt
SetExAttr6(Rt totalSilverRwt silverPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRá§s cCs
|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²scCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPrestigeµscCsdS(N((RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPrestige¶scCs|jtj||ƒdS(N(R
R¨tDef_PlayerKey_MFPFightPower(RR]R§((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR™¹scCs|jtj|ƒS(N(RR¨R©(RR]((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPFightPower¾scCs|jƒdS(Ni(R/(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR ÅscCsœddl}|j|ƒ}|rJ|j|jƒdkrJ|jdƒdS|jtjƒtjkr‹|j    ƒ|kr‡|j|ƒndS|j|ƒdS(Niÿÿÿÿii(
R1R2R3tDef_NewGuyNoSightRRèR¨t#Def_Player_Dict_AutoCheckHack_StatetDef_AutoCheck_State_DangertGetSight(RtsightR1t 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¥RaR¨tVIPPrivilege_NPCSPRateRRþRtPlayerAddZhenQi(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(    RR=t 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»RßRR9RR¼(Rt    lostValueRRÀRÁRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLostZhenQis    cCs|jƒtj|jƒS(N(t
GetExAttr8R¨Rt
GetExAttr7(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR»2scCsn|tj}t|tjtjƒ}||jƒkrH|j|ƒn||jƒkrj|j|ƒndS(N(R¨RRRRÅt
SetExAttr7RÄt
SetExAttr8(Rt totalZhenQitzhenQit zhenQiPoint((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¼3s cCsdS(N((RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetVsFightValueDscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVsFightValueJscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVsSportsPointPscCsdS(N((RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__SetVsSportsPointVscCs=t|ƒ}t|td||ƒƒt|d|gƒdS(NitArena_pan_474794(RÍRÎRßR:(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 GetLongMaiLVgscCsdS(N((RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetLongMaiLVoscCs|j|ttƒdS(N(t SetExAttr10R(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMergeWarRankvscCs
|jƒS(N(t GetExAttr10(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMergeWarRank~scCs|j|ƒdS(N(t SetExAttr11(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetOfficeStar†s cCs
|jƒS(N(t GetExAttr11(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetOfficeStarŽ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²RIRStPlayerExpandPackCfgMgrtGetExpandPackCfgR¨RJRKRètGetCanAddCountRRFRVRatGetTotalAddAttrInfoByCountRR8(RRctopenCntRÌtcfgObjRPtcurCounttmaxCanAddCounttforCountRQt
onlineTimetlastAutoOpenPackTickt lastInfoObjt notOnlineTimeRXt    nextCounttinfoObjtneedOnlineTime((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCanAutoOpenPackCount—s:     cCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHolidayExpRateÕscCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWorldBossExpRateÜscCs|jƒ}t|ƒS(N(RVtGetTotalExpByPlayerLv(RR›((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLVUPTotalNeedExpâs cCs t|ƒ}|sdSt|ƒS(Ni(R)R?(tplayerLVR+((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRðìs cCs1tjd|ƒ}|s-tjd|ƒdS|S(NR,s¾­Ñé±íÒì³£  lv= %s(RµR.RR9(RòR+((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR)òs
cCs%|s
dS|jƒtj|jƒS(Ni(RR¨RR/(R+((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR?ùscCs%|jƒ}t|ƒ}t||ƒS(N(RVR9tGetRealPlayerLvEx(Rt realPlayerLvR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealPlayerLvs  cCsWt|ƒ}|s|Sx:||krR|d7}||8}t|ƒ}|sPqqW|S(Ni(Rð(RôRt needTotalExp((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRó s 
 
 cCs-|jƒ}|jƒ}|tj|}|S(N(RRR¨R(RR$R&ttotalMasterExp((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR9s  cCsb|tj}|tj}|jƒ|kr<|j|ƒn|jƒ|kr^|j|ƒndS(N(R¨RRRRR(RR$R%R&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRV#s  cCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RYttagMCNotifySelectObjRƒtTypetIDtisSelectR\R](RtobjTypetobjIDRût    selectObj((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_SelectObj5s 
            cCsŠ|dkrdStjj|gƒ}|gkr5dStj|d|df}||}x)|dD]}tj|i||6ƒqeWdS(Niii(R¨tItemEffect_AttrDictR„tDef_CalcAttrIndexDictRRò(RŠRÀRgRÀR!tattrDictRX((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRmDs  
cCs|jtjƒS(N(RR¨tDef_PlayerKey_SpeedValueNotBuff(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¬wscCs|jtj|ƒdS(N(R
R¨R(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSpeedNotBuffxscCs|jtjƒS(N(RR¨tDef_PlayerKey_SpeedValue(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR´zscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RRÂRmtCDBPlayerRefresh_SpeedValueR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRn{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.pytSetAtkBackHPPer–scCsdS(Ni((R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAtkBackMPPeršscCsdS(N((RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAtkBackMPPer›scCs
|jƒS(N(tGetBattleValEx3(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceSkillCDžscCs?|j|ƒtjdƒ}t|ƒ}|jtj|ƒdS(NtSkillCDReducePer(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¨R(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceSkillCDPer¥scCs/tjƒjƒtjkr+|jtjƒSdS(Ni(RR*R±R²R³RR¨tDef_PlayerKey_CommMapExpRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCommMapExpRate¨scCs|jtj|ƒS(N(R
R¨R(RtexpRate((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCommMapExpRate¬scCs|jtjƒS(N(RR¨tDef_PlayerKey_NPCHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNPCHurtAddPer¯scCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RRÂRmtCDBPlayerRefresh_NPCHurtAddPerR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetNPCHurtAddPer°scCs|jtjƒS(N(RR¨tDef_PlayerKey_JobAHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobAHurtAddPer¶scCs|jtj|ƒdS(N(R
R¨R#(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobAHurtAddPer·scCs|jtjƒS(N(RR¨tDef_PlayerKey_JobBHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobBHurtAddPer¹scCs|jtj|ƒdS(N(R
R¨R&(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobBHurtAddPerºscCs|jtjƒS(N(RR¨tDef_PlayerKey_JobCHurtAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobCHurtAddPer¼scCs|jtj|ƒdS(N(R
R¨R)(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobCHurtAddPer½scCs|jtjƒS(N(RR¨tDef_PlayerKey_NPCAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetNPCAtkReducePerÁscCs|jtj|ƒdS(N(R
R¨R,(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetNPCAtkReducePerÂscCs|jtjƒS(N(RR¨tDef_PlayerKey_JobAAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobAAtkReducePerÄscCs|jtj|ƒdS(N(R
R¨R/(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobAAtkReducePerÅscCs|jtjƒS(N(RR¨tDef_PlayerKey_JobBAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobBAtkReducePerÇscCs|jtj|ƒdS(N(R
R¨R2(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobBAtkReducePerÈscCs|jtjƒS(N(RR¨tDef_PlayerKey_JobCAtkReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetJobCAtkReducePerÊscCs|jtj|ƒdS(N(R
R¨R5(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetJobCAtkReducePerËscCs|jtjƒS(N(RR¨tDef_PlayerKey_LuckyHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLuckyHitReducePerÏscCs|jtj|ƒdS(N(R
R¨R8(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLuckyHitReducePerÐscCs|jtjƒS(N(RR¨tDef_PlayerKey_GreatHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetGreatHitReducePerÒscCs|jtj|ƒdS(N(R
R¨R;(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGreatHitReducePerÓscCs|jtjƒS(N(RR¨tDef_PlayerKey_SuperHitReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSuperHitReducePerÕscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨R>RÂRmtCDBPlayerRefresh_SuperHitReduceR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSuperHitReducePerÖscCs|jtjƒS(N(RR¨t Def_PlayerKey_IgnoreDefReducePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetIgnoreDefReducePerÚscCs|jtj|ƒdS(N(R
R¨RB(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetIgnoreDefReducePerÛscCs|jtjƒS(N(RR¨t Def_PlayerKey_LuckyHitRateReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLuckyHitRateReduceßscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RERÂRmt#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¨RI(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¨RL(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¨RORÂRmt$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¨RS(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¨RVRÂRmtCDBPlayerRefresh_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¨RZRÂRmtCDBPlayerRefresh_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 GetFinalHurtscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨R^RÂRmtCDBPlayerRefresh_FinalHurtR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetFinalHurtscCs|jtjƒS(N(RR¨tDef_PlayerKey_FinalHurtReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFinalHurtReducescCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RbRÂRmt CDBPlayerRefresh_FinalHurtReduceR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFinalHurtReducescCs|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¨Rf(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¨Ri(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBossIDHurtAddPerscCs|jtjƒS(N(RR¨tDef_PlayerKey_DropEquipDoCount(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDropEquipDoCountscCs|jtj|ƒdS(N(R
R¨Rl(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDropEquipDoCountscCs|jtjƒS(N(RR¨tDef_PlayerKey_BaseAtkAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseAtkAddPerscCs|jtj|ƒdS(N(R
R¨Ro(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseAtkAddPerscCs|jtjƒS(N(RR¨tDef_PlayerKey_BaseMaxHPAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseMaxHPAddPerscCs|jtj|ƒdS(N(R
R¨Rr(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseMaxHPAddPerscCs|jtjƒS(N(RR¨tDef_PlayerKey_BaseDefAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseDefAddPerscCs|jtj|ƒdS(N(R
R¨Ru(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseDefAddPerscCs|jtjƒS(N(RR¨tDef_PlayerKey_BaseHitAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBaseHitAddPerscCs|jtj|ƒdS(N(R
R¨Rx(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBaseHitAddPerscCs|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.pytSetArmorMaxHPAddPer0scCs|jtjƒS(N(RR¨tDef_PlayerKey_ArmorDefAddPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetArmorDefAddPer2scCs|jtj|ƒdS(N(R
R¨R(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetArmorDefAddPer3scCs|jtjƒS(N(RR¨tDef_PlayerKey_GodWeaponMaxHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetGodWeaponMaxHPPer5scCs|jtj|ƒdS(N(R
R¨R(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGodWeaponMaxHPPer6scCs|jtjƒS(N(RR¨tDef_PlayerKey_GodWeaponAtkPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetGodWeaponAtkPer8scCs|jtj|ƒdS(N(R
R¨R“(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGodWeaponAtkPer9scCs|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.pytGetHPCureEnhanceAscCs|jtj|ƒdS(N(R
R¨Rœ(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHPCureEnhanceBscCs|jtjƒS(N(RR¨tDef_PlayerKey_OnlyFinalHurt(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetOnlyFinalHurtEscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RŸRÂRmtCDBPlayerRefresh_OnlyFinalHurtR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetOnlyFinalHurtFscCs|jtjƒS(N(RR¨tDef_PlayerKey_PVPAtkBackHP(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPVPAtkBackHPLscCs|jtj|ƒdS(N(R
R¨R£(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPVPAtkBackHPMscCs|jtjƒS(N(RR¨tDef_PlayerKey_HitSucessRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHitSucessRatePscCs|jtj|ƒdS(N(R
R¨R¦(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHitSucessRateQscCs|jtjƒS(N(RR¨tDef_PlayerKey_MissSucessRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMissSucessRateTscCs|jtj|ƒdS(N(R
R¨R©(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMissSucessRateUscCs|jtjƒS(N(RR¨tDef_PlayerKey_CurePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetCurePerXscCs|jtj|ƒdS(N(R
R¨R¬(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetCurePerYscCs|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.pytSetHorseAtkPerascCs|jtjƒS(N(RR¨tDef_PlayerKey_StoneBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetStoneBasePerdscCs|jtj|ƒdS(N(R
R¨Rµ(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetStoneBasePerescCs|jtjƒS(N(RR¨tDef_PlayerKey_RealmBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealmBasePerhscCs|jtj|ƒdS(N(R
R¨R¸(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetRealmBasePeriscCs|jtjƒS(N(RR¨tDef_PlayerKey_WingHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetWingHPPerlscCs|jtj|ƒdS(N(R
R¨R»(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetWingHPPermscCs|jtjƒS(N(RR¨tDef_PlayerKey_SuiteBasePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSuiteBasePerpscCs|jtj|ƒdS(N(R
R¨R¾(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSuiteBasePerqscCs|jtjƒS(N(RR¨tDef_PlayerKey_PlusBaseAtkPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlusBaseAtkPertscCs|jtj|ƒdS(N(R
R¨RÁ(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPlusBaseAtkPeruscCs|jtjƒS(N(RR¨tDef_PlayerKey_AddBackHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAddBackHPPerzscCs|jtj|ƒdS(N(R
R¨RÄ(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAddBackHPPer€scCs|jtjƒS(N(RR¨tDef_PlayerKey_ReduceBackHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceBackHPPer‡scCs|jtj|ƒdS(N(R
R¨RÇ(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.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¨RÊRÂRmtCDBPlayerRefresh_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.pytGetFaintDefRate–scCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RÎRÂRmtCDBPlayerRefresh_FaintDefRateR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFaintDefRate—scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrAtkerFreezed(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAtkerFreezedœscCs|jtj|ƒdS(N(R
R¨RÒ(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetAtkerFreezedscCs|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¨RØRÂRmtCDBPlayerRefresh_ComboRateR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetComboRate¥scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrComboDamPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetComboDamPer©scCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RÜRÂRmtCDBPlayerRefresh_ComboDamPerR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetComboDamPerªscCs|jtjƒS(N(RR¨t Def_PlayerKey_SkillAtkRateReduce(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSkillAtkRateReduce¯scCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RàRÂRmt#CDBPlayerRefresh_SkillAtkRateReduceR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSkillAtkRateReduce°scCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrDamagePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetDamagePer´scCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RäRÂRmtCDBPlayerRefresh_DamagePerR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetDamagePerµscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrDamagePerPVE(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVE¹scCs|jtj|ƒdS(N(R
R¨Rè(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVEºscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrDamagePerPVP(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamagePerPVP½scCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RëRÂRmtCDBPlayerRefresh_DamagePerPVPR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamagePerPVP¾scCs|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ÂRmt#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
GetHurtPerÇscCs|jtj|ƒdS(N(R
R¨Ró(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetHurtPerÈscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrXPRestorePer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetXPRestorePerËscCs|jtj|ƒdS(N(R
R¨Rö(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetXPRestorePerÌscCs|jtjƒS(N(RR¨t"Def_PlayerKey_AttrShieldMPCostRate(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetShieldMPCostRateÏscCs|jtj|ƒdS(N(R
R¨Rù(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetShieldMPCostRateÐscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrDamChanceDef(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDamChanceDefÓscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RüRÂRmtCDBPlayerRefresh_DamChanceDefR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDamChanceDefÔscCs
|jƒS(N(t
GetExAttr4(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    GetProDefÙscCs|j|ƒdS(N(t
SetExAttr4(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    SetProDefÚscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrMaxProDef(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetMaxProDefÜscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RRÂRmtCDBPlayerRefresh_MaxProDefR(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetMaxProDefÝscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrProDefHPPer(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetProDefHPPeráscCs-|jtj|ƒ|jtj|tƒdS(N(R
R¨RRÂRmtCDBPlayerRefresh_ProDefHPPerR(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|ƒ|jtj|tƒdS(N(R
R¨R RÂRmtCDBPlayerRefresh_ProDefAbsorbR(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¨R(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¨R(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¨RRÂRmtCDBPlayerRefresh_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¨R(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetPetSkillAtkRateøscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrPerLVAtk(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPerLVAtkûscCs|jtj|ƒdS(N(R
R¨R(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetPerLVAtküscCs|jtjƒS(N(RR¨tDef_PlayerKey_AttrPerLVMaxHP(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetPerLVMaxHPþscCs|jtj|ƒdS(N(R
R¨R (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.pytGetDropEquipPerscCs|jtj|ƒdS(N(R
R¨R#(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetDropEquipPerscCs|jtjtjdƒS(Ni(RR¨tDef_PlayerKey_CopyFuncAttrRq(R((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetFuncDefscCs"|jtjtjd|ƒdS(Ni(R
R¨R&Rq(RRÀ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetFuncDefscCs€|jtjƒ}||7}t|tj|ƒ|rQt|dtj|gƒn|r|tjƒj    ƒ}t
j ||ƒndS(NR·( RèR¨tDef_PDict_HighLadder_CurrencyRëR:RmtTYPE_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¨R)RRßRëR:RmR*RRRR+R,R(RtpayCountR¿R.Rõt updCurrencyRÌ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPayHighLadderCurrencys cCsdS(N((RRctallAttrListEquip((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcFuncPackItem1s 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¨RetTYPE_Calc_PerLVAtkRþRVRRmRR„RoRptTYPE_Calc_PerLVMaxHPRnRïR…RzRR9RÝRQtDef_MaxAddAttrTypeCnttDef_PlayerKey_CalcAddAttrTypetDef_PlayerKey_CalcAddAttrValueRR
(RR¯RgRhtaddAtkRrRdRt    findIndexRŠRáRXtaddAttrTypeKeytaddAttrValueKey((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRn\s2  * ##    cCs©gtdƒD] }i^q }xƒt|ƒD]u\}}xfttƒD]X}|jtj|||fƒ}|dkrzPn|jtj|||fƒ||<qEWq,W|S(Nii(RRïRQR7RR¨R8R9(RR¯R|tattrListRdRRXRŠ((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¨tCalcAttrIndexListRQR7RR8R9RÇ(RR¯RgRdRXtcurAddAttrTypetcurAddAttrValueR((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddCalcAttrListValue‰s 
cCsŽx‡tjD]|}xsttƒD]e}tj|||f}|j|ƒ}|sRPn|j|dƒ|jtj|||fdƒqWq
WdS(Ni(R¨R?RQR7R8RR
R9(RR¯RdRXR<RŠ((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR‘–s(cCs]gtdƒD] }i^q }x7|D]/}x&tjD]}t||||ƒq6Wq&W|S(Ni(RR¨R?RÇ(R>R|t addAttrListtaListRX((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRΡs
 cCs~xw|jƒD]i\}}||kr2|||<q ||}|tjkrhdd|d|||<q ||||<q WdS(Ni'(R…R¨tTYPE_Calc_DeclineList(tdict1tdict2RRÀtaValue((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÇ©s  
cCsC|dkr |j||ƒdS|j|t|tjƒ|ƒdS(Ni(tNomalDictDelPropertytNomalDictAddPropertyRR¨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( RYttagMCSyncSingleBlessValueRƒRùRÆtMultipleR|ttagMCSyncBlessValueRCtTypeCntt    BlessInfoR\R](Rt    blessTypeRÀtmultipletitemListt    valuePackR&((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_BlessValueÁs 
              
    (ÉRRIR9R¨R3RƒR0R'R7R9R5tChItemR,RAR;RÚRRût PlayerGMOperRIRpRÁt PlayerFamilyRmRtRšR²R RYR\RRÌRÊR«R­R›R—RSR™R”RÝRMRCRüR+RÈRvRGRBRt PlayerTeHuitGameLogic_XMZZRLRR;R}RGRäRµRŸRR?R¡RØRôR¥R§R©R    R RR÷R1R­R$R!R“RRùRotIPY_NotifyCodeListR‘RRR RR)R7R:RLRNRDRYRZR_R`RbRyRqR;R¢R¦R¬R·RÁRÇRRÙRÔRíRçRÃRôRõRÂRþRRÎRR    RR R$R&R-R2RQRFR^RdRERoRzR|R}R€RR‡RŠR˜R¬R¼RÄRæRÚRÍRRR¥RRŒR6R?R7R8RGRCRvRšRœtDef_Team_GetExpScreenDistR§R¨R«R·R¼RµRÁR¿RÍRÖRÙRR÷RçRøRRùRúRûR"RRR&R'R(R,R-R6R1R<RSR7R0R[R\RrRfRRhR%RR&R,R°RÈR?RñRFRHRRRURXRZR\RpR^R~R…R‰RŠRŽR’R–R“RšRRR±RáR£R¦R§R¨R™RªR RR±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óR9RVRÿRmR¬RR´RnR¼R    R R RRRRRRRR R"R$R%R'R(R*R+R-R.R0R1R3R4R6R7R9R:R<R=R?RARCRDRFRHRJRKRMRNRPRRRTRURWRYR[R]R_RaRcReRgRhRjRkRmRnRpRqRsRtRvRwRyRzR|R}RR€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ÿRRRRR    R R RRRRRRRRRRRR!R"R$R%R'R(R/R2R4R7RnRÆRBR‘RÎRÇRëRV(((smE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt<module>sŽ                                                                                     2     & 
           2                    0      %                                2                 Á                          F                          !                             N    ,        5[ u    
    2E             ) g     P        Œ    0                              1 ,U    O    +              C    G    +                                                            ÿÿÿÿÿÿ            
    >                   -                                        '    (                                        
                                    
                                                             >            
                                     3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        %    !