hxp
2025-06-12 a59a408cfa838cddcec4fc9fa47d3f6c66b75f9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Sð    hc@smddlZddlZddlZddlZddlZd„Zd„Zd„Zd„Zd„Z    dS(iÿÿÿÿNcCs/tj|ƒr+tj|tj|ƒƒndS(N(t PlayerControlt
GetCharmLVt
SetCharmLV(t    curPlayer((sO.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCharm.pyt OnPlayerLoginscCs4|d}|dkr0|d}t||ƒndS(Nit    CharmLVUpi(t __DoCharmLVUp(RtmsgDatatmsgTypet
totalCharm((sO.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCharm.pytGameServer_DoLogic_Charm s
 
 
cCs|jƒ}tj|ƒ}tjd|ƒ}|s7dS|jƒs[tjd||ƒdS||jƒkr”tjd||jƒ|f|ƒdS|d7}tjd|ƒ}|sºdS|jƒ}tjd||ƒtj    ||ƒt
j ||ƒt |ƒdS(Nt    LoveCharms$÷ÈÁ¦µÈ¼¶ÒÑÂú¼¶£¬ÎÞ·¨Éý¼¶! charmLV=%ss4÷ÈÁ¦Öµ²»×㣬ÎÞ·¨Éý¼¶! totalCharm=%s < %s, charmLV=%sis÷ÈÁ¦µÈ¼¶Éý¼¶! charmLV=%s( t GetPlayerIDRRt IpyGameDataPYtGetIpyGameDatatGetUpNeedCharmt    GameWorldtDebugLogtGetLVAwardItemInfoRt ItemControlertGivePlayerItemOrMailtRefreshCharmAttr(RR    tplayerIDtcharmLVtipyDatat nextLVIpyDatat awardItemList((sO.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCharm.pyR+s*  #
 
cCs!t|ƒtj|ƒjƒdS(N(t CalcCharmAttrRtRefreshPlayerAttrState(R((sO.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCharm.pyRFs
c
CsµgtdƒD] }i^q }tj|ƒ}tjd|ƒ}|r›|jƒ}|jƒ}x:t|ƒD])\}}||}    tj||    |ƒqkWntj    |t
j |ƒdS(NiR ( trangeRRR Rt GetLVAttrTypetGetLVAttrValuet    enumeratetCalcAttrDict_TypetSetCalcAttrListValuetChConfigtDef_CalcAttrFunc_Charm(
Rt_t allAttrListRRtlvAttrTypeListtlvAttrValueListtitattrIDt    attrValue((sO.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCharm.pyRKs  
(
R#RR RRRR
RRR(((sO.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCharm.pyt<module>s