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
ãÜ3hc@säddlZddlZddlZddlZddlZddlZidej6dej6dej6dej    6dej
6dej 6dej 6dej 6Zdejgdejgdej    gdej
gdej gd    ej gd
ej ggZid dggej6d d ggej6d dggej    6d dggej
6d dggej 6d dggej 6ddggej 6ZdZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZdS(iÿÿÿÿNiii<ixi´iÒiðii,t AvoidSink02it AvoidSink03is3.5is4.5t AvoidSink05icCsctjƒ}t|ƒs-d|_d|_n"d|_|jtjƒd|_tj    ||ƒdS(Niiiè(
tChPyNetSendPackttagMCPlayerWallowtGetIsWallowRoletOpent
OnlineTimetNomalDictGetPropertytChConfigt!Def_Player_Dict_Wallow_OnlineTimet NetPackCommont SendFakePack(t    curPlayertsendPack((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pytNotifyWallowTimeDs           cCsvt|ƒt|ƒs$t|ƒdS|jtjƒ}|tjkrIdStj|tjtj    ƒtj
|dƒdS(Nt AvoidSink01( RRt
Del_WallowRR    tDef_Player_Dict_Wallow_LVtDef_GameWallow_LV_Nonet PlayerControltNomalDictSetPropertytDef_GameWallow_LV_1_1t
NotifyCode(R tticktwallowLV((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pytDoLogic_CheckWallowUs
 
cCsh|jtjƒtjkrdStj|tjtjƒtj|tjdƒtj|tjdƒdS(Ni(RR    RRRRR
t"Def_Player_Dict_Wallow_OfflineTime(R ((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pyRjs cCs|t|ƒsdStj|dƒtj|ƒ}||jtjƒ}|tkrktj|tj|ƒdSt    ||ƒdS(NR(
RRRtGetPlayerLeaveServerMinuteRR    RtDef_Wallow_Offline_HealthTimeRtRevertHealthGame(R RtoffMint
noteOffMin((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pytCalc_Wallow_OfflineTime|s  cCsYtj|tjdƒtj|tjtjƒtj|tjdƒtj|dƒdS(NiR(RRR    RRRR
R(R R((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pyR’s
cCs3tjdƒtkrtS|jƒdkr/tStS(NtHealthGame_CountWallowi(t ReadChConfigtGetEvalChConfigtDef_GameWallow_OpentFalsetIsAdulttTrue(R ((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pyR¢s
cCs=t|ƒst|ƒdStjƒjƒ}t||ƒdS(N(RRt    GameWorldt GetGameWorldtGetTickR(R R((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pytRevertHealthGame_OnDay¯s
 
cCsit|ƒs|S|jtjƒ}tj|dƒ}|dkr[tjd|tfƒ|St    ||ƒS(Nis)ÎÞ·¨ÕÒµ½¾­ÑéϵÊý£¬µ±Ç°³ÁÃԵȼ¶%s ¶ÔÓ¦±í%s(
RRR    RtDef_GameWallow_ExpDicttgettNoneR)tErrLogtint(R taddExpRt    expMulNum((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pytChangeExpByWallow¿s  c Cs¼t|ƒsdS|jtjƒ}|dkrE|jtj|ƒdS||}tjtj}||krodS|jtj|ƒt||jtjƒd ƒ}t    j
|tj|ƒ|jtj ƒ}|dd}tj }x+t D]#}    ||    dkrç|    d}qçqçW||krtt    j
|tj |ƒtj|ddggƒ}
t    j||
d|
dƒt|ƒdS|dkr¸|dd    dkr¸t    j|ddgƒt|ƒdSdS( Niii<ièiRii,ii i€Qi\&(Rt GetTickByTypeR    tTYPE_Player_Tick_PlayerWallowt SetTickByTypetTYPE_Player_Tick_TimetminRR
RRRRtDef_WallowLV_Time_DicttDef_WallowLV_Notify_DictR.RR( R Rt lastDealTickt curTimePassedt checkIntervalt
onlineTickRt    onlineMintfindLvttimeListt
notifyInfo((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pytDoLogic_WallowOnlineTimeÒs<  
       
 
i,(R    R)R#RRR RtDef_GameWallow_LV_1_2tDef_GameWallow_LV_FirsttDef_GameWallow_LV_SecondtDef_GameWallow_LV_2_1tDef_GameWallow_LV_2_2tDef_GameWallow_LV_2_3tDef_GameWallow_LV_ThirdR-R:R;R%RRRRR!RRR,R4RD(((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameWallow.pyt<module>sN